diff --git a/src/language-data.ts b/src/language-data.ts index c02cd17..1ed4354 100644 --- a/src/language-data.ts +++ b/src/language-data.ts @@ -174,7 +174,7 @@ export const languages = [ LanguageDescription.of({ name: "TypeScript", alias: ["ts"], - extensions: ["ts"], + extensions: ["ts","mts","cts"], load() { return import("@codemirror/lang-javascript").then(m => m.javascript({typescript: true})) }