From 7209900cbe4227e6293b50f659dd4b1842ff85f1 Mon Sep 17 00:00:00 2001 From: Charles Salmon Date: Thu, 28 Feb 2019 12:05:55 +1300 Subject: [PATCH] Ensure that `FormWizard`, `TabContent` and `WizardStep` class declarations extend `Vue`. --- types/FormWizard.ts | 4 +++- types/TabContent.ts | 4 +++- types/WizardStep.ts | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/types/FormWizard.ts b/types/FormWizard.ts index c2dd520..6a6ad95 100644 --- a/types/FormWizard.ts +++ b/types/FormWizard.ts @@ -1,8 +1,10 @@ +import Vue from 'vue' + export type ShapeType = 'circle' | 'square' | 'tab' export type LayoutType = 'vertical' | 'horizontal' export type StepSizeType = 'xs' | 'sm' | 'md' | 'lg' -export declare class Wizard { +export declare class Wizard extends Vue { /** * Wizard identifier. * diff --git a/types/TabContent.ts b/types/TabContent.ts index c669f70..270db3e 100644 --- a/types/TabContent.ts +++ b/types/TabContent.ts @@ -1,4 +1,6 @@ -export declare class Tab { +import Vue from 'vue' + +export declare class Tab extends Vue { /** Title to be displayed under each step */ title?: string /** css class for each step icon */ diff --git a/types/WizardStep.ts b/types/WizardStep.ts index f858edc..08f4c21 100644 --- a/types/WizardStep.ts +++ b/types/WizardStep.ts @@ -1,4 +1,6 @@ -export declare class Step { +import Vue from 'vue' + +export declare class Step extends Vue { /** Tab component for the step. This should be usually passed through the `step` scoped slot */ tab: object transition: string