mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +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 {
|
||||
static name: string;
|
||||
install(): void;
|
||||
static install(vue: typeof Vue): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user