mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] fix error when use Vue.use in typescript (#1410)
[ bug fix ] fix error when use Vue.use in typescript
This commit is contained in:
parent
5be214263c
commit
3b8e446b50
4
types/component.d.ts
vendored
4
types/component.d.ts
vendored
@ -1,4 +1,6 @@
|
|||||||
|
import Vue from 'vue'
|
||||||
|
|
||||||
export class VanComponent {
|
export class VanComponent {
|
||||||
static name: string;
|
static name: string;
|
||||||
install(): void;
|
static install(vue: typeof Vue): void;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user