Skip to content

2.0 beta: "dom.iterable.d.ts" won't load #10002

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

Closed
mindplay-dk opened this issue Jul 28, 2016 · 1 comment
Closed

2.0 beta: "dom.iterable.d.ts" won't load #10002

mindplay-dk opened this issue Jul 28, 2016 · 1 comment
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@mindplay-dk
Copy link

In my tsconfig.json, I'm trying to load dom.iterable by adding it to lib - I can see the file exists in the 2.0 beta, but the compiler refuses to recognize the option.

error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'dom', 'webworker', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2017.object', 'es2017.sharedmemory'

Doesn't look like any of the other lib .d.ts files reference this one?

I need DOMTokenList from this lib file in my project - how do I get it?

@mhegazy mhegazy added the Bug A bug in TypeScript label Sep 20, 2016
@mhegazy mhegazy self-assigned this Sep 20, 2016
@mhegazy mhegazy added this to the TypeScript 2.1 milestone Sep 20, 2016
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Sep 21, 2016
mhegazy added a commit that referenced this issue Sep 26, 2016
Fix #10002: add dom.iterable to supported lib values
@mhegazy
Copy link
Contributor

mhegazy commented Sep 26, 2016

The fix should be in tonight's typescript@next. give it a try.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants