Description
Search terms
@includecode, mts
Expected Behavior
@includeCode
works with all valid Typescript file extensions
Actual Behavior
An error is produced:
[error] @includeCode tag in {FUNCTION} specified "{FILE}.mts#{REGION}", but regions are not supported for this file extension.
Steps to reproduce the bug
- Create a typescript file with the
.mts
extension. - Add a
//#region
comment block to the.mts
file - Reference the region form another file using a
{@includeCode}
tag
Reproduction PR: TypeStrong/typedoc-repros#52
Environment
- Typedoc version: 0.28.2
- TypeScript version: 5.8.3
- Node.js version: 23.9.0
- OS: macOs 15.3.2