java script重复显示,令人困惑的“重复标识符”Typescript错误消息

为什么我会得到这个以及更多此类错误?我正在添加一个指向repo的链接以及下面的关键代码片段 . 我认为我对依赖和“包含”链接如何工作有一个基本的误解 .

csvproc(master)> tsc

node_modules/typescript/bin/lib.core.d.ts(83,5): error TS2300: Duplicate identifier 'configurable'.

node_modules/typescript/bin/lib.core.d.ts(84,5): error TS2300: Duplicate identifier 'enumerable'.

node_modules/typescript/bin/lib.core.d.ts(85,5): error TS2300: Duplicate identifier 'value'.

node_modules/typescript/bin/lib.core.d.ts(86,5): error TS2300: Duplicate identifier 'writable'.

我的tsconfig.json:

{

"compilerOptions": {

"module": "commonjs",

"noImplicitAny": false,

"outDir": "built/",

"sourceMap": true,

"target": "es5"

}

}

我的tsd.json:

{

"version": "v4",

"repo": "borisyankov/DefinitelyTyped",

"ref": "master",

"path": "typings",

"bundle": "typings/tsd.d.ts",

"installed": {

"node/node-0.10.d.ts": {

"commit": "6387999eb899d0ba02d37dd8697647718caca230"

},

"should/should.d.ts": {

"commit": "e1182d56ccb192379eade6055d9ba3fb6a0bacc4"

}

}

}

我的tsd.d.ts:

{

"version": "v4",

"repo": "borisyankov/DefinitelyTyped",

"ref": "master",

"path": "typings",

"bundle": "typings/tsd.d.ts",

"installed": {

"node/node-0.10.d.ts": {

"commit": "6387999eb899d0ba02d37dd8697647718caca230"

},

"should/should.d.ts": {

"commit": "e1182d56ccb192379eade6055d9ba3fb6a0bacc4"

}

}

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值