mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00: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:
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user