-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
When I run
vue-tsc --noEmit
in a project I am working on, I get the Error
node_modules/v-network-graph/lib/composables/state.d.ts:7:28 - error TS2307: Cannot find module '@/models/node' or its corresponding type declarations.
7 import * as NodeModel from "@/models/node";
~~~~~~~~~~~~~~~
node_modules/v-network-graph/lib/composables/state.d.ts:8:28 - error TS2307: Cannot find module '@/models/edge' or its corresponding type declarations.
8 import * as EdgeModel from "@/models/edge";
~~~~~~~~~~~~~~~
node_modules/v-network-graph/lib/composables/state.d.ts:9:28 - error TS2307: Cannot find module '@/models/path' or its corresponding type declarations.
9 import * as PathModel from "@/models/path";
~~~~~~~~~~~~~~~
Found 3 errors in the same file, starting at: node_modules/v-network-graph/lib/composables/state.d.ts:7
Graph rendering works fine and in my browser I get no errors, but I need to pass typechecking in this project.
How can I fix or avoid this error? I am not allowed to disable typechecking.
Thanks!
LostInDarkMathdash14
Metadata
Metadata
Assignees
Labels
No labels