You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When type checking with tsc I get an error in this module
Expected behavior
No type issues
Current behavior
I see the following type error
node_modules/docusaurus-plugin-openapi-docs/src/types.ts:8:32 - error TS2307: Cannot find module '@docusaurus/plugin-content-docs/src/sidebars/types' or its corresponding type declarations.
8 import { SidebarItemDoc } from "@docusaurus/plugin-content-docs/src/sidebars/types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/docusaurus-plugin-openapi-docs/src/types.ts:24:8 - error TS2307: Cannot find module '@docusaurus/plugin-content-docs-types' or its corresponding type declarations.
24 } from "@docusaurus/plugin-content-docs-types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: node_modules/docusaurus-plugin-openapi-docs/src/types.ts:8
Possible solution
Steps to reproduce
Check out this repository
cd demo
yarn
yarn run tsc
You will see other errors but also the ones above.
Context
I like clean types :)
Your Environment
Version used: 4.2.0
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): node 22
Operating System and version (desktop or mobile): Ubuntu
Describe the bug
When type checking with
tsc
I get an error in this moduleExpected behavior
No type issues
Current behavior
I see the following type error
Possible solution
Steps to reproduce
You will see other errors but also the ones above.
Context
I like clean types :)
Your Environment
The text was updated successfully, but these errors were encountered: