dominikg / tsconfck

A utility to find and parse tsconfig files without depending on typescript
Other
293 stars 14 forks source link

support mts/cts extensions added in typescript 4.5 #11

Closed dominikg closed 3 years ago

dominikg commented 3 years ago

Describe the feature Typescript 4.5 adds new extensions .mts and .cts (similar to .mjs and .cjs), including .d.mts and .d.cts. Extend glob feature to include these new extensions when a glob ends with *

A Usecase Projects using .mts or .cts files.

Alternatives Enforce users to explicitly use the extensions in their include/exclude filters

Additional context https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#type-in-packagejson-and-new-extensions