We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Information
Description
Some TypeScript keywords such as infer and type are treated as keywords when followed by alphabetic character.
infer
type
Expected highlighting :
import { infer, inference, infer } from 'module' // ~~~~~ ✅ import { type, typeDefs, type } from 'module' // ~~~~ ✅ import { const, constants, const } from 'module' // ~~~~~ ✅
Actual highlighting :
Code snippet
Test page
import { infer, inference, infer } from 'module' // ~~~~~ ❌ import { type, typeDefs, type } from 'module' // ~~~~ ❌ import { const, constants, const } from 'module' // ~~~~~ ✅
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Information
Description
Some TypeScript keywords such as
infer
andtype
are treated as keywords when followed by alphabetic character.Expected highlighting :
Actual highlighting :
Code snippet
Test page
The code being highlighted incorrectly.
The text was updated successfully, but these errors were encountered: