-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
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
- Link to your project: https://github.com/johnf/ro-crate-api/
robbieaverill, joelsrubin, f4z3k4s, ChrisSargent and donaldpipowitch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working