Skip to content

Add support for typedoc.ts, typedoc.cts and typedoc.mts config files #2913

Closed as not planned
@scripthunter7

Description

@scripthunter7

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 and typedoc.mts config files according to https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detection

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixDeclining to implement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions