Node.js has now included TypeScript support starting from version 23.6.0, enabling users to run TypeScript files directly without special compilation steps, albeit with some experimental warnings.
When running TypeScript directly in Node.js using .mts or .cts file extensions, users should be aware of limitations, such as non-support for certain TypeScript features like enums and decorators, and the necessity of using type imports to avoid issues.
Collection
[
|
...
]