Skip to content

Commit 49def93

Browse files
committed
docs: fix TS path alias in example
1 parent 8b7de3d commit 49def93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"moduleResolution": "bundler",
66
"target": "es2021",
77
"noEmit": true,
8-
"allowImportingTsExtensions": true
8+
"allowImportingTsExtensions": true,
9+
"paths": {
10+
"vitest-when": ["./src/vitest-when.ts"]
11+
}
912
},
1013
"include": ["vitest.config.ts", "src", "test", "example"]
1114
}

0 commit comments

Comments
 (0)