Closed
Description
Search terms
TypeScript
Expected Behavior
Config should continue to validate.
Actual Behavior
typedoc.config.js:4:7 - error TS2322: Type '{ classPropertiesFormat: "table"; entryFileName: string; entryPoints: string[]; entryPointStrategy: "packages"; enumMembersFormat: "table"; hideBreadcrumbs: true; hidePageHeader: true; ignoredHighlightLanguages: string[]; ... 10 more ...; useHTMLEncodedBrackets: true; }' is not assignable to type 'TypeDocOptions & PluginOptions'.
Type '{ classPropertiesFormat: "table"; entryFileName: string; entryPoints: string[]; entryPointStrategy: "packages"; enumMembersFormat: "table"; hideBreadcrumbs: true; hidePageHeader: true; ignoredHighlightLanguages: string[]; ... 10 more ...; useHTMLEncodedBrackets: true; }' is missing the following properties from type 'TypeDocOptions': options, tsconfig, compilerOptions, lang, and 97 more.
4 const config = {
~~~~~~
Found 1 error in typedoc.config.js:4
Steps to reproduce the bug
Write a config and validate it against TypeDocOptions
.
Environment
- Typedoc version: 0.28.0
- TypeScript version: 5.8.2
- Node.js version: 22.14.0