-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Support TypeScript 5.2 #15004
Comments
@sosukesuzuki Will TypeScript 5.2 be supported in prettier v3.x or v2.x? |
Maybe 3.x |
Is there any special treatment that What is the current way |
Just tested with the code from the OP, and get the following error. Doesn't seem like it'll even run against it. src/test.ts
[error] src/test.ts: SyntaxError: Unexpected keyword or identifier. (2:3)
[error] 1 | function func() {
[error] > 2 | using a = loggy("a");
[error] | ^
[error] 3 | using b = loggy("b");
[error] 4 | {
[error] 5 | using c = loggy("c"); |
Parser |
I'm getting a prettier error because of |
TypeScript 5.2 stable is released. Anyone working on formatting |
I'll work on this when typescript-eslint/typescript-eslint#7479 is released. |
The newly released typescript-eslint@6.5.0 now supports TypeScript 5.2 |
TypeScript 5.2 beta has been released.
using
/await using
The text was updated successfully, but these errors were encountered: