We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type A = typeof B<C>;
Prettier 2.6.2 Playground link
--parser typescript
Input:
interface Generic<T> { prop: T; } type a = typeof Generic<T> ;
Output:
SyntaxError: ';' expected. (5:28) 3 | } 4 | > 5 | type a = typeof Generic<T> ; | ^
Expected behavior: To not error, this is valid ts in 4.7.2 at least
The text was updated successfully, but these errors were encountered:
Fixed in master, but not release yet
Sorry, something went wrong.
duplicated to #12640
No branches or pull requests
Prettier 2.6.2
Playground link
Input:
Output:
Expected behavior:
To not error, this is valid ts in 4.7.2 at least
The text was updated successfully, but these errors were encountered: