From 136359235fbb4c12c563b76f8c178b30a07e8611 Mon Sep 17 00:00:00 2001 From: Igors Krasjukovs Date: Wed, 27 Dec 2017 13:15:40 +0200 Subject: [PATCH] Fix of #306 issue with typescript types. --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 45c1bfab1..ba23174bd 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -114,11 +114,11 @@ interface VueTestUtilsConfigOptions { export declare function createLocalVue (): typeof Vue export declare let config: VueTestUtilsConfigOptions -export declare function mount = VueClass> (component: Ctor, options?: MountOptions): Wrapper +export declare function mount (component: VueClass, options?: MountOptions): Wrapper export declare function mount (component: ComponentOptions, options?: MountOptions): Wrapper export declare function mount (component: FunctionalComponentOptions, options?: MountOptions): Wrapper -export declare function shallow = VueClass> (component: Ctor, options?: ShallowOptions): Wrapper +export declare function shallow (component: VueClass, options?: ShallowOptions): Wrapper export declare function shallow (component: ComponentOptions, options?: ShallowOptions): Wrapper export declare function shallow (component: FunctionalComponentOptions, options?: ShallowOptions): Wrapper