Skip to content

Commit 14eb8ac

Browse files
committed
Fix TypeScript path mapping for test imports
Update tsconfig.check.json to use proper glob pattern for dist imports. This allows type checking to resolve test imports from ../dist/* to ./src/* without requiring build output to exist.
1 parent 2b8ab1e commit 14eb8ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tsconfig.check.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"moduleResolution": "bundler",
66
"noEmit": true,
77
"paths": {
8-
"*": ["./*"],
9-
"../dist/index": ["./src/index.ts"]
8+
"../dist/*": ["./src/*"]
109
},
1110
"types": ["vitest/globals", "node"],
1211
"verbatimModuleSyntax": false

0 commit comments

Comments
 (0)