mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
fix: add path mapping for @total-typescript/shoehorn to fix typecheck
The package's exports map lacks a "types" condition, which TypeScript 5.9 with moduleResolution "bundler" requires. Adding an explicit path mapping resolves the module for vue-tsc. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
],
|
||||
"@/utils/networkUtil": [
|
||||
"./packages/shared-frontend-utils/src/networkUtil.ts"
|
||||
],
|
||||
"@total-typescript/shoehorn": [
|
||||
"./node_modules/@total-typescript/shoehorn/dist/index.d.ts"
|
||||
]
|
||||
},
|
||||
"typeRoots": ["src/types", "node_modules/@types", "./node_modules"],
|
||||
|
||||
Reference in New Issue
Block a user