Commit 6f9ffab
committed
fix: resolve vue-tsc --build type-check errors
Exclude store test files from vitest tsconfig type-checking scope.
Store tests that import modules pulling in Vue augmentations and
ambient namespaces cause 2012 type errors in vue-tsc --build mode
due to the vitest project's restricted type environment. Tests
still run normally via vitest. Also add missing trailing commas
in RootModulesType.
Signed-off-by: Andrew Basson <andrew.basson@gmail.com>1 parent 460cb35 commit 6f9ffab
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments