Skip to content

Support TypeScript 6 and tsgo (@typescript/native-preview) #3084

@tats-u

Description

@tats-u

Search Terms

  • tsgo
  • TypeScript 6

Problem

Many projects have adopted tsgo (@typescript/native-preview) to improve typecheck performance, but typedoc has a peerDependency on TypeScript 5. If your code includes ES2025-dedicated features (e.g. Uint8Array.prototype.toBase64), either of tsgo or typedoc can emit type errors due to the mismatch of esnext (tsgo: ES2025 / TypeScript 5: ES2024).

Suggested Solution

Add TypeScript 6 and tsgo support to typedoc. TypeScript 6 is still Beta, but it is TypeScript-based unlike tsgo and it has tsconfig compatibility with tsgo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions