Skip to content

fix(typescript): add support for mts and cts extensions#11

Merged
SamVerschueren merged 1 commit intomainfrom
fix/typescript/add-mts-cts
Jul 3, 2024
Merged

fix(typescript): add support for mts and cts extensions#11
SamVerschueren merged 1 commit intomainfrom
fix/typescript/add-mts-cts

Conversation

@SamVerschueren
Copy link
Contributor

@SamVerschueren SamVerschueren commented Jul 3, 2024

I noticed that we didn't support the .mts and .cts extensions yet. Meaning that StackBlitz renders those file as plain text.

With this change, the proper grammar is loaded and it will also trigger the language service.

https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detection

@SamVerschueren SamVerschueren merged commit ded1baf into main Jul 3, 2024
@d3lm d3lm deleted the fix/typescript/add-mts-cts branch July 3, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants