Add mts and cts to TypeScript language extensions #8

Merged
shshaw merged 2 commits from patch-1 into main 2024-02-07 12:17:59 +01:00
shshaw commented 2024-02-05 23:28:48 +01:00 (Migrated from github.com)

TypeScript utilizes mts and cts extensions for special modules.
https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detection

The JavaScript equivalents (mjs and cjs repectively) are already in language-data for JS, so this change adds the TypeScript variants to TypeScript's language data.

TypeScript utilizes `mts` and `cts` extensions for special modules. https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detection The JavaScript equivalents (`mjs` and `cjs` repectively) are already in language-data for JS, so this change adds the TypeScript variants to TypeScript's language data.
marijnh commented 2024-02-07 12:18:04 +01:00 (Migrated from github.com)

Thanks!

Thanks!
shshaw commented 2024-02-09 22:38:47 +01:00 (Migrated from github.com)

Would you mind tagging a release for this when when you get a chance?

Would you mind tagging a release for this when when you get a chance?
marijnh commented 2024-02-09 23:19:22 +01:00 (Migrated from github.com)

Done (6.4.1)

Done (6.4.1)
shshaw commented 2024-02-09 23:28:28 +01:00 (Migrated from github.com)

Thank you!

Thank you!
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/language-data!8
No description provided.