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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(theme-classic): error TS7008 Member 'permalink' implicitly has an 'any' type. #5785

Closed
4 of 5 tasks
xsorifc28 opened this issue Oct 25, 2021 · 1 comment 路 Fixed by #5788
Closed
4 of 5 tasks

bug(theme-classic): error TS7008 Member 'permalink' implicitly has an 'any' type. #5785

xsorifc28 opened this issue Oct 25, 2021 · 1 comment 路 Fixed by #5788
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@xsorifc28
Copy link

xsorifc28 commented Oct 25, 2021

馃悰 Bug Report

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io
  • I have read the console error message carefully (if applicable)

Description

When trying to compile with typescript:

Error: node_modules/@docusaurus/theme-classic/src/types.d.ts:781:46 - error TS7008: Member 'permalink' implicitly has an 'any' type.

Specifically, I'm using docusaurus-plugin-typedoc.

The fix would be to ad a type to permalink on line 781 of theme-classic/src/types.d.ts

@xsorifc28 xsorifc28 added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Oct 25, 2021
@Josh-Cena
Copy link
Collaborator

Hmm, no idea why it got away for so long. Thanks for reporting, will be fixed alongside #5788

@Josh-Cena Josh-Cena removed the status: needs triage This issue has not been triaged by maintainers label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants