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