Ale*_*lls 11 typescript tsc typescript2.0
我有这个:
$ tsc -m amd --outFile dist/out.js lib/index.ts
Run Code Online (Sandbox Code Playgroud)
lib/index.ts(87,48):错误TS1005:';' 预期.
是否有一个命令行选项我可以用来忽略错误?
使用 // @ts-ignore 注释,Typescript 编译器将忽略其下面的行。
例如,您在这里遇到编译错误:
| 归档时间: |
|
| 查看次数: |
4829 次 |
| 最近记录: |