π Search Terms
dom.asynciterable lib
π Version & Regression Information
β― Playground Link
No response
π» Code
My tsconfig.json file, as I wanted it to look:
{
"compilerOptions": {
"lib": [
"ES2022",
"WebWorker.ImportScripts",
"DOM",
"DOM.Iterable",
"DOM.AsyncIterable" // This is not recognized as a valid lib
],
"module": "ES2022",
"target": "ES2022",
etc...
}
etc...
}
π Actual behavior
This line in es2022.full.d.ts indicates there should be a lib named DOM.AsyncIterable - but when I try to add that to my own set of libs in my tsconfig.json file, it says no such lib exists.
π Expected behavior
I was under the impression that all the libs referenced in those *.full.d.ts files should also be available for use individually - meaning that I should be able to specify DOM.AsyncIterable as a lib in my tsconfig.json file.
Additional information about the issue
The documentation for libs in general is extremely lacking, and really needs to be improved.
π Search Terms
dom.asynciterable lib
π Version & Regression Information
β― Playground Link
No response
π» Code
My
tsconfig.jsonfile, as I wanted it to look:{ "compilerOptions": { "lib": [ "ES2022", "WebWorker.ImportScripts", "DOM", "DOM.Iterable", "DOM.AsyncIterable" // This is not recognized as a valid lib ], "module": "ES2022", "target": "ES2022", etc... } etc... }π Actual behavior
This line in es2022.full.d.ts indicates there should be a lib named
DOM.AsyncIterable- but when I try to add that to my own set of libs in mytsconfig.jsonfile, it says no such lib exists.π Expected behavior
I was under the impression that all the libs referenced in those
*.full.d.tsfiles should also be available for use individually - meaning that I should be able to specifyDOM.AsyncIterableas a lib in mytsconfig.jsonfile.Additional information about the issue
The documentation for libs in general is extremely lacking, and really needs to be improved.