Merge pull request #3264 from nnnnoel/patch-2
Add CommonJS, ESM extension for TSpull/3774/head v0.37.0-dev.20230310
commit
4a80f8e852
|
@ -10,7 +10,7 @@ declare var require: any;
|
|||
|
||||
registerLanguage({
|
||||
id: 'typescript',
|
||||
extensions: ['.ts', '.tsx'],
|
||||
extensions: ['.ts', '.tsx', '.cts', '.mts'],
|
||||
aliases: ['TypeScript', 'ts', 'typescript'],
|
||||
mimetypes: ['text/typescript'],
|
||||
loader: (): Promise<any> => {
|
||||
|
|
Loading…
Reference in New Issue