Typescript: Duplicate Identifier between node.d.ts and lib.d.ts

Created on 19 May 2016  ·  3Comments  ·  Source: microsoft/TypeScript

TypeScript Version:

nightly with "node.d.ts" from typings

We recently add thisin to es5.d.ts
Expected behavior:
No error
Actual behavior:
Duplicate Identifier with the same property defined in "node.d.ts"

Bug lib.d.ts

Most helpful comment

The proposed fix is to relax the duplicate definition error for interface members if they have the same type.

All 3 comments

//CC @RyanCavanaugh who was mentioning this earlier this week.

The proposed fix is to relax the duplicate definition error for interface members if they have the same type.

👍 that will make lots of things easier!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wmaurer picture wmaurer  ·  3Comments

zhuravlikjb picture zhuravlikjb  ·  3Comments

jbondc picture jbondc  ·  3Comments

Roam-Cooper picture Roam-Cooper  ·  3Comments

dlaberge picture dlaberge  ·  3Comments