You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Type annotations not being highlighted is intended, not sure about the nested arrays in tsx though. Can you try out the issue_123 branch to see if the tsx tags are fixed
Describe the bug
Tsx colors are the other way around, tags are getting colored, while typescript type annotations are not.
Steps to reproduce
Enable rainbow without
extended_mode
.Example code:
Expected behavior
Same behavior as jsx files: jsx tags don't get colored, but with the addition of types annotations getting colored.
Screenshots
![image](https://user-images.githubusercontent.com/17756312/179050430-fb7cb6dd-950e-4221-b759-42147b515b33.png)
Tsx not working correctly
Jsx working fine
![image](https://user-images.githubusercontent.com/17756312/179050656-0fc3787c-aad4-4c25-b440-f1be8ef6c6ad.png)
The text was updated successfully, but these errors were encountered: