Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typedoc not working with Typescript 4.1 #1397

Closed
tanepiper opened this issue Nov 20, 2020 · 4 comments
Closed

Typedoc not working with Typescript 4.1 #1397

tanepiper opened this issue Nov 20, 2020 · 4 comments
Labels
bug Functionality does not match expectation

Comments

@tanepiper
Copy link

Search terms

Typescript

Expected Behavior

Upgrade to Typescript 4.1, run typedoc, get docs

Actual Behavior

Upgrade to Typescript 4.1, run typedoc,

Error: Tried to set an option (pathsBasePath) that was not declared.

Steps to reproduce the bug

Update to Typescript 4.1
Run existing Typedoc configuration

Environment

  • Typedoc version: 0.19.2
  • TypeScript version: 4.1.2
  • Node.js version: 13.14.0
  • OS: OSX 10.15.7
@tanepiper tanepiper added the bug Functionality does not match expectation label Nov 20, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Nov 20, 2020

If you install typedoc@beta, which is being tracked in #1364, you will receive a warning about an unsupported version, but it seems to work properly.

Before updating the supported versions, I need to go through and add support for new TS features. Mapped types have received a major upgrade... will hopefully be able to get to it this weekend.

@Gerrit0 Gerrit0 added this to To do in Version 0.20 via automation Nov 25, 2020
@Gerrit0 Gerrit0 moved this from To do to In progress in Version 0.20 Nov 26, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Nov 26, 2020

Just released v0.20.0-beta.14, (npm i typedoc@beta) which has full support for TS 4.1. I don't plan on backporting support to v0.19, but if someone wants it, a32c976 and TypeStrong/typedoc-default-themes@08045f0 + TypeStrong/typedoc-default-themes@f70a9b125dd3d59d80ef49af431e436bec369aa6has the relevant changes, and I would accept + release a PR.

image

@Gerrit0 Gerrit0 moved this from In progress to Done in Version 0.20 Nov 26, 2020
@tanepiper
Copy link
Author

@Gerrit0 Thanks for your work on this! Having a look at the two PRs, this one comes up as a 404? TypeStrong/typedoc-default-themes@f70a9b125dd3d59d80ef49af431e436bec369aa6has

I'll look to add the migration to my custom theme

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Nov 26, 2020

Sorry about that! I missed a space, so there was an extra "has" at the end of the hash. TypeStrong/typedoc-default-themes@f70a9b1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
No open projects
Development

No branches or pull requests

2 participants