【发布时间】:2016-07-25 01:41:48
【问题描述】:
使用默认的 ionic2 项目,我将 tsconfig.json 更新为以“es6”为目标,并立即开始出现以下错误:
TypeScript error: c:/test/node_modules/typescript/lib/lib.es6.d.ts(17,14): Error TS2300: Duplicate identifier 'PropertyKey'.
TypeScript error: typings/globals/es6-shim/index.d.ts(3,14): Error TS2300: Duplicate identifier 'PropertyKey'.
如何正确定位 es6 以避免这些构建错误?
【问题讨论】:
标签: typescript angular visual-studio-code ionic2