1namespace ts {} // empty ts module so the module migration script knows this file depends on the `ts` project namespace
2// This file actually uses arguments passed on commandline and executes it
3
4// enable deprecation logging
5ts.Debug.loggingHost = {
6    log(_level, s) {
7        ts.sys.write(`${s || ""}${ts.sys.newLine}`);
8    }
9};
10
11if (ts.Debug.isDebugging) {
12    ts.Debug.enableDebugInfo();
13}
14
15if (ts.sys.tryEnableSourceMapsForHost && /^development$/i.test(ts.sys.getEnvironmentVariable("NODE_ENV"))) {
16    ts.sys.tryEnableSourceMapsForHost();
17}
18
19if (ts.sys.setBlocking) {
20    ts.sys.setBlocking();
21}
22
23ts.executeCommandLine(ts.sys, ts.noop, ts.sys.args);
24