【发布时间】:2019-04-17 11:44:13
【问题描述】:
当我使用 isolatedModules true 和 isolatedModules false 运行 TypeScript 时,我收到此错误:
tsconfig.json(5,9): error TS5053: Option 'noEmitOnError' cannot be specified with option 'isolatedModules'.
为什么??
示例 tsconfig:
{
"compilerOptions": {
"noEmitOnError": true,
"isolatedModules": true,
}
}
【问题讨论】:
-
在 TS repo 上打开了一个问题:github.com/Microsoft/TypeScript/issues/31012
标签: typescript tsconfig compiler-options