-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
[TypeScript 5.7] Parsing error: Invalid value for lib provided: es2024.promise #772
Labels
Comments
Fixed by xo 0.60.0 XO ships with its own typescript version and es2024.promises is v5.7.0+ |
Tested again with xo 0.60.0. |
What's the output of |
|
It seems that XO's deps are out of date. The parser is already at 8.18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When XO is installed alongside TypeScript 5.7 and tsconfig.json .compilerOptions.lib includes "ESNext.Promise", the XO CLI reports a parsing error.
package.json
tsconfig.json
main.ts
Command Line
Error Message
The text was updated successfully, but these errors were encountered: