/
githubmirror
/
TypeScript
Обзор
Документация
Войти
/
githubmirror
/
TypeScript
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/tsc/tsc.ts
24 строки
608 B
Jake Bailey
Use explicit extensions for imports within src (#58421)
07 май 2024, 03:07
Не верифицирован
07 май 2024, 03:07
16beff1
Код
Авторство
О чём код?
import * as ts from "./_namespaces/ts.js"; // This file actually uses arguments passed on commandline and executes it // enable deprecation logging ts.Debug.loggingHost = { log(_level, s) { ts.sys.write(`${s || ""}${ts.sys.newLine}`); }, }; if (ts.Debug.isDebugging) { ts.Debug.enableDebugInfo(); } if (ts.sys.tryEnableSourceMapsForHost && /^development$/i.test(ts.sys.getEnvironmentVariable("NODE_ENV"))) { ts.sys.tryEnableSourceMapsForHost(); } if (ts.sys.setBlocking) { ts.sys.setBlocking(); } ts.executeCommandLine(ts.sys, ts.noop, ts.sys.args);