Skip to content

TypeScript: Updated keywords#2861

Merged
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:issue2860
May 1, 2021
Merged

TypeScript: Updated keywords#2861
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:issue2860

Conversation

@RunDevelopment
Copy link
Copy Markdown
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
Copy Markdown

JS File Size Changes (gzipped)

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

Details
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