Skip to content
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: Updated keywords #2861

Merged
merged 1 commit into from May 1, 2021

Conversation

RunDevelopment
Copy link
Member

This fixes #2860.

I also changed how TS does keywords. Instead of overwriting the JS keywords, it will now add to them. This means that all the contextual logic from JS just carries over.

The missing keyword infer was also added.

@github-actions
Copy link

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of -132 B (-19.2%).

file master pull size diff % diff
components/prism-typescript.min.js 689 B 557 B -132 B -19.2%

Generated by 🚫 dangerJS against b1103eb

@RunDevelopment RunDevelopment merged commit fe98d53 into PrismJS:master May 1, 2021
@RunDevelopment RunDevelopment deleted the issue2860 branch May 1, 2021 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript: Incorrectly identifying attributes as keywords
1 participant