-
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
esbuild's default esnext
target doesn't include useDefineForClassFields: true
, unlike TypeScript
#2993
Comments
Not sure what actually is the default though. |
I think an explanation of esbuild's current behavior is too nuanced for the brevity of the help text. Specifically the default The historical reason why esbuild does this is because when esbuild was created, TypeScript always defaulted As time passed it became clear that (AFAIK) TypeScript's plan is for Still, it's not 100% clear to me that changing esbuild's default for TypeScript's
The relevant one for #2992 is I've been thinking about this for a while and I think I should probably just change esbuild's behavior to try to align to TypeScript's behavior. Probably only if an See also #2584. |
--help
is lyingesnext
target doesn't include useDefineForClassFields: true
, unlike TypeScript
The above is not true: the default is NOT
esnext
.Found this while debugging #2992
The text was updated successfully, but these errors were encountered: