-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Cannot find name 'AggregateError'.ts(2304) #58971
Comments
What is your tsconfig looking like? Make sure your target is at least es2021. |
my tsconfig here: Btw, im using node version 22.3 |
Odd, if you are using Are you using If a third-party build tool was not the issue, then can you try adding You could also try running |
π Search Terms
Cannot find name 'AggregateError'.ts(2304) AggregateError typescript
π Version & Regression Information
[email protected]
β― Playground Link
No response
π» Code
// Your code here
π Actual behavior
With [email protected] - in lib.es2022.error.d.ts get problems about this:
interface AggregateErrorConstructor { new ( errors: Iterable<any>, message?: string, options?: ErrorOptions, ): AggregateError; ( errors: Iterable<any>, message?: string, options?: ErrorOptions, ): AggregateError; }
I get found Cannot find name 'AggregateError'.ts(2304)
![image](https://private-user-images.githubusercontent.com/117344977/341944056-2edc5abe-5b09-4764-a7bd-03c76d0286d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MTgxMTgsIm5iZiI6MTcyMDcxNzgxOCwicGF0aCI6Ii8xMTczNDQ5NzcvMzQxOTQ0MDU2LTJlZGM1YWJlLTViMDktNDc2NC1hN2JkLTAzYzc2ZDAyODZkMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQxNzEwMThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NDMzOWQzYjE4MGNlNzM0NmM2MDZmNTk5MzhkM2UyMzRhNTQwMWVhMDdhODM3NGY2ZGUzNTc0ZGFlMmE0MWZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9._QpwP2-XwDnkdjSWI1OtvIC08RblkWAhRpN7wlACL_E)
π Expected behavior
Maybe missing include AggregateError interface?
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: