Closed loqusion closed 4 years ago
Unfortunately @Flandre-X, the syntax highlighting provided by this plugin is only available for JavaScript (.js, .jsx) files. There are several reasons for not supporting .ts/.tsx. The first that come to mind are:
I would give vscode-styled-components a whirl if you haven't already.
Screenshot of Current Behavior
It works when we remove the generic tag:
Interestingly, it also works with styled.(tag)<type>:
Sample Code to Reproduce
(Property interpolations were used in the original code for StyledButtonPlay, but they were removed here for brevity. The generic tag is required for the original code to work in TypeScript.)