Skip to content

Unable to compile projects with incremental mode enabled #1105

@just-boris

Description

@just-boris

I have the following tsconfig

{
  "compilerOptions": {
    "incremental": true,
    "outDir": "dist"
  }
}

I am using this configuration file to build my code and also for tsdoc

tsc -p tsconfig.json
typedoc --tsconfig tsconfig.json --out docs

Expected Behavior

With typedoc 0.14 and typescript 3.5.3 documentation generates correctly.

Actual Behavior

With typedoc 0.15 it fails with the following error

Using TypeScript 3.5.3 from /path/to/project/node_modules/typescript/lib
Error: Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified.

It happened because newer typedoc upgraded the inner version of typescript so it started picking up the incremental option was ignored before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions