types: fix plugin install #7056

This commit is contained in:
chenjiahan
2020-09-01 15:54:09 +08:00
parent 4ddf4e7018
commit e2c082b204
2 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import Vue from 'vue';
import { App } from 'vue';
export class VanComponent extends Vue {
export class VanComponent {
static name: string;
static install(vue: typeof Vue): void;
static install: (app: App) => any;
}