-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
DOM.AsyncIterable not recognized as a valid lib #58834
Comments
Just to be clear, is this a full-on compile-time error, or is it only your IDE (VSCode?) saying itβs not valid? Because if itβs the latter then it would just mean the JSON schema VSCode is using hasnβt been updated yet. |
Those errors are definitely bizarre, but it looks like they're all coming up while running TSLint; TSLint has been deprecated since 2019; I expect the TS devs would tell you that it's not officially supported and you should have switched to ESLint by now. https://palantir.github.io/tslint/
|
Sorry, I just updated my comment - seems the errors are something else. |
Opened SchemaStore/schemastore#3858 |
π Search Terms
dom.asynciterable lib
π Version & Regression Information
β― Playground Link
No response
π» Code
My
tsconfig.json
file, as I wanted it to look:π 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.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 specifyDOM.AsyncIterable
as a lib in mytsconfig.json
file.Additional information about the issue
The documentation for libs in general is extremely lacking, and really needs to be improved.
The text was updated successfully, but these errors were encountered: