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:
snomiao
2026-03-31 18:53:52 +09:00
parent 3f43d21161
commit 0287d31aa3

View File

@@ -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"],