Open SkyLeite opened 5 years ago
Thanks for the bug report!
Hm. I get the same highlighting with or without the generic arguments. Also I don't get any highlighting of the generic arguments, e.g. your screenshot shows different colours for Props
and State
.
I'm experiencing the same issue as the original reporter, but I noticed it works if the filetype is typescript.tsx
as opposed to typescript
. (This project is not using React or JSX/TSX, it's just plain TypeScript.)
I'm experiencing the same issue. Syntax highlighting breaks when using generics. This only happens in .ts
files, and not in .tsx
files.
With generic:
Without generic:
Self explanatory.
Code: