Generic arguments are lost when using import types #4656
Labels
lang:typescript
Issues affecting TypeScript-specific constructs (not general JS issues)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
priority:high
Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 1.13.4
Playground link
Input:
Output:
Expected behavior:
Generic arguments
<string, int>
should not be stripped.If this turns out to be complicated, I'd be happy to contribute code myself. Let me know! 😃
The text was updated successfully, but these errors were encountered: