Skip to content

Commit 04e4cfd

Browse files
committed
更新版本
1 parent cc9a69b commit 04e4cfd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Diff for: examples/shims-vue.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module '*.vue' {
2-
import { ComponentOptions } from 'vue'
3-
const component: ComponentOptions
4-
export default component
2+
import { defineComponent } from 'vue'
3+
const component: ReturnType<typeof defineComponent>
4+
export default component
55
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zero-ui/vue",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"private": false,
55
"author": {
66
"name": "luren"

Diff for: packages/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ install.installed = false
175175

176176
const win: anyObject = window || {}
177177

178-
export const version = '1.0.5'
178+
export const version = '1.0.6'
179179
export const ZeroUI = {
180180
install,
181181
Alert,

Diff for: packages/shims-vue.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module '*.vue' {
2-
import { ComponentPublicInstance } from '@vue/runtime-dom'
3-
const app: new () => ComponentPublicInstance
4-
export default app
5-
}
2+
import { defineComponent } from 'vue'
3+
const component: ReturnType<typeof defineComponent>
4+
export default component
5+
}

0 commit comments

Comments
 (0)