I am using tsc -w
to compile my project. I've been using it for quite a long time now but it recently stopped working after a small refactoring for (really) no reason. When I run the command, it shows me instead tsc --help
. I didn't touch the tsconfig.json
which is still :
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
}
Did it happenned to anyone before? How can I resolve it? Thanks.