【发布时间】:2016-08-11 08:06:57
【问题描述】:
我正在使用tsc -w 来编译我的项目。我已经使用它很长一段时间了,但它最近在一次小的重构后停止工作(真的)没有理由。当我运行该命令时,它会改为显示tsc --help。我没有碰tsconfig.json,它仍然是:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
}
以前有人遇到过吗?我该如何解决?谢谢。
【问题讨论】:
-
tsc编译器是否给出错误信息? -
不,不管我做什么,它只显示可能的命令
标签: typescript tsc