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.0 features #15374
Comments
Although TS 5.0 also supports ES decorators, we will not add decorators transform to the {
"presets": ["@babel/preset-typescript"],
"plugins": [["@babel/plugin-proposal-decorators", { "version": "2022-03" }]]
} |
There is a possible output optimization( Fixed in #15379 |
@nicolo-ribaudo Did you mean babel/packages/babel-types/src/index.ts Line 104 in 90ad7e9
? |
Yes! |
The TS decorators syntax is slightly different from the JS decorators syntax: tc39/proposal-decorators#69 However, since there is active discussion about it, I prefer to wait until TS 5.0 stable before implementing it. |
What's the rationale? |
|
For example, |
Released in 7.21.0 |
const
type parameters - https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#const-type-parameters ([ts] Supportconst
modifier in type parameters #15384)export type * from
- https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#support-for-export-type ([ts] Supportexport type * from
#15381)The text was updated successfully, but these errors were encountered: