From 3b8e446b50a3726132db99ad95e6951a3b7a2262 Mon Sep 17 00:00:00 2001 From: Silence Tang Date: Thu, 5 Jul 2018 15:21:07 +0800 Subject: [PATCH] [bugfix] fix error when use Vue.use in typescript (#1410) [ bug fix ] fix error when use Vue.use in typescript --- types/component.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/component.d.ts b/types/component.d.ts index 52a9489a9..c7beddce1 100644 --- a/types/component.d.ts +++ b/types/component.d.ts @@ -1,4 +1,6 @@ +import Vue from 'vue' + export class VanComponent { static name: string; - install(): void; + static install(vue: typeof Vue): void; }