Summary: Now that we have some TypeScript infra set up, move scripts (mainly the benchmarking one) and config files to TypeScript. Starts to move away a bit from the magic globals used in the JS environment. Differential Revision: D45511176 fbshipit-source-id: 541b967a276d2894e68b505169fc69096589d8c4