Closed
Description
Search terms
TypeScript, TypeDocOptions, packageOptions
Expected Behavior
packageOptions
should be defined as Partial
.
Actual Behavior
error TS2740: Type '{ entryPoints: string[]; includeVersion: true; }' is missing the following properties from type 'TypeDocOptions': options, tsconfig, compilerOptions, plugin, and 100 more.
Steps to reproduce the bug
const config: TypeDocOptions = {
entryPoints: [],
entryPointStrategy: 'packages',
packageOptions: {
entryPoints: ['src/index.ts'],
includeVersion: true,
},
};
Environment
- Typedoc version: 0.27.9
- TypeScript version: 5.7.3
- Node.js version: 22.14.0