Skip to content
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

Recognize .cts and .mts file type as TypeScript #6424

Merged
merged 1 commit into from Mar 24, 2023
Merged

Recognize .cts and .mts file type as TypeScript #6424

merged 1 commit into from Mar 24, 2023

Conversation

Alexis-Lapierre
Copy link
Contributor

TypeScript can use three type of file extensions:

  • .ts for regular TypeScript
  • .cts for CommonJS modules
  • .mts for ES modules

Official documentation on supported file extensions:
https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions

TypeScript can use three type of file extensions:
  - .ts  for regular TypeScript
  - .cts for CommonJS modules
  - .mts for ES modules

Official documentation on supported file extensions:
https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions
@the-mikedavis the-mikedavis merged commit 9a65118 into helix-editor:master Mar 24, 2023
6 checks passed
@Alexis-Lapierre Alexis-Lapierre deleted the TypeScript_mts_cts_support branch March 25, 2023 14:21
icecreammatt pushed a commit to icecreammatt/helix that referenced this pull request Apr 19, 2023
TypeScript can use three type of file extensions:
  - .ts  for regular TypeScript
  - .cts for CommonJS modules
  - .mts for ES modules

Official documentation on supported file extensions:
https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions
wes-adams pushed a commit to wes-adams/helix that referenced this pull request Jul 4, 2023
TypeScript can use three type of file extensions:
  - .ts  for regular TypeScript
  - .cts for CommonJS modules
  - .mts for ES modules

Official documentation on supported file extensions:
https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions
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.

None yet

2 participants