Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
enlight opened this issue May 19, 2015 · 1 comment
Open

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

enlight opened this issue May 19, 2015 · 1 comment

Comments

@enlight
Copy link
Owner

enlight commented May 19, 2015

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. microsoft/TypeScript#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 0e822b4 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
Copy link
Owner Author

enlight commented May 25, 2015

Also relevant: microsoft/TypeScript#3215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant