Add support for typedoc.ts
, typedoc.cts
and typedoc.mts
config files
#2913
Labels
wontfix
Declining to implement
Search Terms
mts cts config file options
Problem
Currently, TypeScript-based config files aren’t supported, but adding support would be beneficial for several reasons. First, it would allow users to keep all their config files consistently written in TypeScript. Second, it would enable importing from other TypeScript files — for example, reading entry points from a Rollup config that’s also written in TypeScript.
Currently, the workaround is to use TypeDoc programmatically, which allows me to access anything that’s already in TypeScript. However, it would be much more convenient to just use the CLI and import everything I need directly in the config file.
Suggested Solution
Please consider adding support for
typedoc.ts
,typedoc.cts
andtypedoc.mts
config files according to https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detectionThe text was updated successfully, but these errors were encountered: