-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 error after next js build #2798
Comments
That error is not from esbuild. You have the wrong project. |
Wait sorry, I missed that it was from esbuild’s type definitions. I’ll take a look. |
It looks like you need to upgrade to TypeScript 4.3+. |
This type syntax seems to be the only thing that prevents these type declarations from being used in older TypeScript versions. So I can just remove this type syntax. That'll let the type declarations be used as far back as TypeScript 3.5. (before that version TypeScript doesn't include type declarations for the |
Here error
I got this error after implement test feature with vitest
here my dependency version
I try to remove
get text(): string;
line it's work fine but when I build on CInode_modules
will recreate and this error happen againThe text was updated successfully, but these errors were encountered: