enlight / dbgmits

NodeJS module that provides the ability to control GDB and LLDB debuggers via GDB/MI.
MIT License
6 stars 3 forks source link

Remove lib.es6.d.ts from the project #21

Open enlight opened 9 years ago

enlight commented 9 years ago

The core type definitions have been reshuffled a bit so some ES6 definitions (Map for example) that were previously available when targeting ES5 with TypeScript 1.4 can no longer be resolved with TypeScript 1.5.0-beta. This broke the NodeJS definitions, amongst other things (e.g. https://github.com/Microsoft/TypeScript/issues/2953), so as a temporary workaround I've included the ES6 type definitions (lib.es6.d.ts) that ship with TypeScript 1.5.0-beta in the project. This way the ES6 definitions in the project are used instead of the ES5 definitions that would otherwise be used by TypeScript when targeting ES5. If the TypeScript peeps fix this issue in a future release lib.es6.d.ts should be removed from the project.

es6-promise.d.ts was removed from the project in 0e822b40fca2f29a88efccc4521d02860d0ed954 because lib.es6.d.ts already contains a definition for Promise, which caused naming conflicts. If lib.es6.d.ts is removed from the project in the future then es6-promise.d.ts will need to be added back in.

enlight commented 9 years ago

Also relevant: https://github.com/Microsoft/TypeScript/issues/3215