8000 chore: update typescript check · reslear/unplugin-vue-components@56f98aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 56f98aa

Browse files
committed
chore: update typescript check
1 parent 1f6e1e8 commit 56f98aa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/core/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { parse } from 'node:path'
2-
import minimatch from 'minimatch'
2+
import {minimatch} from 'minimatch'
33
import resolve from 'resolve'
44
import { slash, toArray } from '@antfu/utils'
55
import {

tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
"compilerOptions": {
33
"target": "es2017",
44
"module": "esnext",
5-
"lib": ["esnext"],
5+
"lib": ["esnext", "DOM"],
66
"moduleResolution": "node",
77
"esModuleInterop": true,
88
"strict": true,
99
"strictNullChecks": true,
1010
"resolveJsonModule": true,
11+
"skipLibCheck": true,
1112
"jsx": "preserve"
12-
}
13+
},
14+
"exclude": [
15+
"examples/**"
16+
]
1317
}

0 commit comments

Comments
 (0)
0