From 3b53316d671398f971f8e19aa689f9411880ba75 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 1 Dec 2021 15:12:38 +0300 Subject: [PATCH] Refactor #1836 - For Accordion and AccordionTab --- src/components/accordion/Accordion.d.ts | 10 +++++----- src/components/accordiontab/AccordionTab.d.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/accordion/Accordion.d.ts b/src/components/accordion/Accordion.d.ts index 6b263d9e9..96d8a16cd 100755 --- a/src/components/accordion/Accordion.d.ts +++ b/src/components/accordion/Accordion.d.ts @@ -1,7 +1,7 @@ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; -interface AccordionTabOpenEvent { +export interface AccordionTabOpenEvent { /** * Browser mouse event. * @type {MouseEvent} @@ -16,9 +16,9 @@ interface AccordionTabOpenEvent { /** * @extends {AccordionTabOpenEvent} */ -interface AccordionTabCloseEvent extends AccordionTabOpenEvent { } +export interface AccordionTabCloseEvent extends AccordionTabOpenEvent { } -interface AccordionProps { +export interface AccordionProps { /** * When enabled, multiple tabs can be activated at the same time. */ @@ -33,14 +33,14 @@ interface AccordionProps { lazy?: boolean | undefined; } -interface AccordionSlots { +export interface AccordionSlots { /** * Default slot to detect AccordionTab components. */ default: () => VNode[]; } -type AccordionEmits = { +export declare type AccordionEmits = { /** * Emitted when the active tab changes. * @param {number | undefined} value - Index of new active tab. diff --git a/src/components/accordiontab/AccordionTab.d.ts b/src/components/accordiontab/AccordionTab.d.ts index c40099536..49bd6b4a5 100755 --- a/src/components/accordiontab/AccordionTab.d.ts +++ b/src/components/accordiontab/AccordionTab.d.ts @@ -1,7 +1,7 @@ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; -interface AccordionTabProps { +export interface AccordionTabProps { /** * Orientation of tab headers. */ @@ -12,7 +12,7 @@ interface AccordionTabProps { disabled?: boolean | undefined; } -interface AccordionTabSlots { +export interface AccordionTabSlots { /** * Default slot for content. */ @@ -23,7 +23,7 @@ interface AccordionTabSlots { header: () => VNode[]; } -type AccordionTabEmits = { } +export declare type AccordionTabEmits = { } declare class AccordionTab extends ClassComponent { }