fix: opt-out volar strictness
This commit is contained in:
parent
f8398a2c49
commit
3b144c8f67
13
html.d.ts
vendored
Normal file
13
html.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// for UnoCSS attributify mode compact in Volar
|
||||||
|
// refer: https://github.com/johnsoncodehk/volar/issues/1077#issuecomment-1145361472
|
||||||
|
declare module '@vue/runtime-dom' {
|
||||||
|
interface HTMLAttributes {
|
||||||
|
[key: string]: any
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare module '@vue/runtime-core' {
|
||||||
|
interface AllowedComponentProps {
|
||||||
|
[key: string]: any
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {}
|
||||||
20
package.json
20
package.json
@ -10,28 +10,28 @@
|
|||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^8.5.0",
|
"@vueuse/core": "^8.6.0",
|
||||||
"vue": "^3.2.36",
|
"vue": "^3.2.36",
|
||||||
"vue-router": "^4.0.15"
|
"vue-router": "^4.0.15"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^0.24.1",
|
"@antfu/eslint-config": "^0.25.1",
|
||||||
"@iconify-json/carbon": "^1.1.5",
|
"@iconify-json/carbon": "^1.1.5",
|
||||||
"@types/node": "^17.0.35",
|
"@types/node": "^17.0.39",
|
||||||
"@unocss/reset": "^0.34.1",
|
"@unocss/reset": "^0.37.2",
|
||||||
"@vitejs/plugin-vue": "^2.3.3",
|
"@vitejs/plugin-vue": "^2.3.3",
|
||||||
"@vue/test-utils": "^2.0.0",
|
"@vue/test-utils": "^2.0.0",
|
||||||
"eslint": "^8.16.0",
|
"eslint": "^8.16.0",
|
||||||
"jsdom": "^19.0.0",
|
"jsdom": "^19.0.0",
|
||||||
"pnpm": "^7.1.5",
|
"pnpm": "^7.1.7",
|
||||||
"typescript": "^4.7.2",
|
"typescript": "^4.7.2",
|
||||||
"unocss": "^0.34.1",
|
"unocss": "^0.37.2",
|
||||||
"unplugin-auto-import": "^0.8.4",
|
"unplugin-auto-import": "^0.8.7",
|
||||||
"unplugin-vue-components": "^0.19.5",
|
"unplugin-vue-components": "^0.19.6",
|
||||||
"vite": "^2.9.9",
|
"vite": "^2.9.9",
|
||||||
"vite-plugin-pages": "^0.23.0",
|
"vite-plugin-pages": "^0.23.0",
|
||||||
"vitest": "^0.12.9",
|
"vitest": "^0.13.1",
|
||||||
"vue-tsc": "^0.34.16"
|
"vue-tsc": "^0.36.0"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "@antfu"
|
"extends": "@antfu"
|
||||||
|
|||||||
503
pnpm-lock.yaml
generated
503
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user