-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Support TypeScript 3.8 #7263
Copy link
Copy link
Closed
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Metadata
Metadata
Assignees
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency
TypeScript 3.8 beta has been released!🎉🎉
We should support some syntax will be add via TS 3.8.
There are some syntaxes that can support by just (waiting and) updating typescript-estree(e.g. Top Level await), but there seems to be some that need to be supported on the Prettier side.(e.g. Type only imports exports)
New syntax:
import type,export typeexport * as ns