tsc
By default
tscis only used for type-checking and to generate.d.tsfiles. Compilation is done byswc.
A
tsconfig.jsonis required for you to have at your project's root folder.mhywill create one if it doesn't exists yet.
Default command
tsc --project ./tsconfig.jsonCLI Options
https://www.typescriptlang.org/docs/handbook/compiler-options.html
Examples
Default CLI
mhy tscWith watcher
mhy tsc -wLast updated
Was this helpful?