【发布时间】:2017-06-29 08:30:13
【问题描述】:
尝试在 tsconfig.json 中设置 "types": [] 时遇到以下错误 error TS6044: Compiler option 'types' expects an argument.。
我们正在使用 grunt-ts
这是官方 TS 文档推荐的,以消除以下错误:node_modules/@types/angular/index.d.ts(14,9): error TS2403
Here is the link to TS documentation
指定 "types": [] 以禁用自动包含 @types 包。
但我没有禁用@types 的自动包含,而是看到错误error TS6044: Compiler option 'types' expects an argument.
有人可以帮我吗?
【问题讨论】:
标签: typescript grunt-ts