-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
TypeScript: Not highlighting custom class / interface types #1401
Comments
Hi! Thanks for reporting. More specifically, in your example, the first occurrence of The only thing I can think of would be to use the I don't think this is something we want to handle by default in Prism. |
Hi! Thank you for your response and the corresponding information. I'll check it out and see what I can do with it. I believe, in the cases shown above, that there are a couple standard instances with TypeScript where you can always easily match a custom class name:
|
@001AJD You have to escape all |
Thanks! |
Using:
prismjs@1.14.0
Does not continue to highlight custom class / interface types after they are initially defined.
Example,
BigData
is not highlighted:Also, a StackBlitz.
The text was updated successfully, but these errors were encountered: