Add satisfies keyword to typescriptKeywords #12

Closed
meyer wants to merge 1 commit from typescript-satisfies into main
meyer commented 2023-08-11 15:28:04 +02:00 (Migrated from github.com)

I added support for one of my favourite TypeScript features: the satisfies keyword (well, operator, according to the TS people). It was added in TypeScript 4.9.

I added support for one of my favourite TypeScript features: the `satisfies` keyword (well, _operator_, according to the TS people). It was added in [TypeScript 4.9](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator).
marijnh commented 2023-08-11 17:47:23 +02:00 (Migrated from github.com)

This (along with a number of similar very contextual TS keywords) are intentionally not in that array because the autocompletion logic isn't smart enough to only show them when they are applicable, and they would just pollute the completion list in most situations.

This (along with a number of similar very contextual TS keywords) are intentionally not in that array because the autocompletion logic isn't smart enough to only show them when they are applicable, and they would just pollute the completion list in most situations.
meyer commented 2023-08-12 05:33:04 +02:00 (Migrated from github.com)

ah man, that's too bad. makes sense though. thanks for the quick response!

ah man, that's too bad. makes sense though. thanks for the quick response!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/lang-javascript!12
No description provided.