Skip to content

TypeDocOptions type definition bug #3075

@pizzafroide

Description

@pizzafroide

Search terms

TypeDocOptions

Expected Behavior

TypeDocOptions type should match typedoc's official documentation.

Actual Behavior

TypeDocOptions type resolves to:

type TypeDocOptions = {
    options?: unknown;
    tsconfig?: unknown;
    compilerOptions?: unknown;
    plugin?: string[] | undefined;
    lang?: string | undefined;
    locales?: Record<string, Record<string, string>> | undefined;
    packageOptions?: typedoc.Configuration.TypeDocPackageOptions | undefined;
    entryPoints?: string[] | undefined;
    entryPointStrategy?: string | undefined;
    alwaysCreateEntryPointModule?: string | undefined;
    projectDocuments?: string[] | undefined;
    exclude?: string[] | undefined;
    externalPattern?: string[] | undefined;
    excludeExternals?: string | undefined;
    excludeNotDocumented?: string | undefined;
    ... 95 more ...;
    skipErrorChecking?: string | undefined;
}

Steps to reproduce the bug

import * as typedoc from 'typedoc'

await typedoc.Application.bootstrapWithPlugins({
  excludeNotDocumented: true,
//~~~~~~~~~~~~~~~~~~~~ Type 'boolean' is not assignable to type 'string'. ts(2322)
})

Environment

  • TypeDoc version: 0.28.16
  • TypeScript version: 5.9.3
  • Node.js version: 25.0.0
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    no bugThis is expected behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions