Skip to content

Upgrade TS version #655

Closed
Closed
@chriskrycho

Description

@chriskrycho

Since TypeDoc hooks into the TS version, it can be quite frustrating to use when it's behind by several versions.

I have it running as a pre-commit hook via husky, and it's currently failing because I have intentionally (for the sake of the shape of my exports in the index.ts) imported some unused items. In TS 2.6 I can ignore those unused items by doing // @ts-ignore on the preceding line; but TypeDoc being only at 2.4 can't do that.

Related: is the underlying API being used so unstable that TypeDoc can't treat TS as a peer dependency rather than a direct dependency? It would be great if it was a peer dep with a version requirement for >= whatever the minimum version it needs is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions