Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024

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
2 checks passed
@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