Repository navigation
[3.5.1] Iterable is missing in lib.es2015.promise.d.ts #31722
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Activity
Me too, miss
/// <
reference lib="es2015.symbol"Does this relate to #31676?
SergioMorchon commented
on Aug 1, 2019 More actionsAny news on this?
3.5.3 exhibited the same problem for me. I have our TypeScript dependencies locked at 3.4.5 and cannot go higher at this time.
SergioMorchon commented
on Aug 2, 2019 More actionspushkin- nope, with
3.5.3shows the same error:node_modules/typescript/lib/lib.es2015.promise.d.ts:129:21 - error TS2304: Cannot find name 'Iterable'
SergioMorchon commented
on Aug 19, 2019 More actionsRon Buckton (@rbuckton) any news on this? What do you recommend to bypass this issue to start using newer TypeScript versions?
This workaround appears to work
Workaround is to add es2015.iterable to lib
headintheclouddev/typings-suitescript-2.0#121 (comment)
Unfortunately this ads typings for additional ES2015 iterable features
Fixed by #35998.
- addedFix AvailableA PR has been opened for this issueA PR has been opened for this issue
on Aug 7, 2021 - locked as resolved and limited conversation to collaborators
on Oct 21, 2025
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
TypeScript Version:
Search Terms: async, await, polyfill, csproj, TypeScriptLib
Code
tsconfig.json
{ "compilerOptions": { "target": "es5", "module": "none", "lib": ["dom", "es5", "es2015.promise"], "strict": true, } }a.ts
Expected behavior:
Actual behavior:
Playground Link: None
Related Issues: Not found.
Workaround:
Add "es2015.iterable" to lib