pull/3689/head
mertsincan 2023-03-01 11:09:11 +00:00
commit 8b71e11904
3 changed files with 5 additions and 5 deletions

View File

@ -84,12 +84,12 @@ export interface AccordionProps {
/** /**
* Defines valid slots in Accordion slots. * Defines valid slots in Accordion slots.
*/ */
export declare type AccordionSlots = { export interface AccordionSlots {
/** /**
* Default slot to detect AccordionTab components. * Default slot to detect AccordionTab components.
*/ */
default(): VNode[]; default(): VNode[];
}; }
/** /**
* Defines valid emits in Accordion component. * Defines valid emits in Accordion component.
@ -129,7 +129,7 @@ export interface AccordionEmits {
* @group Component * @group Component
* *
*/ */
export declare class Accordion extends ClassComponent<AccordionProps, AccordionSlots, AccordionEmits> {} declare class Accordion extends ClassComponent<AccordionProps, AccordionSlots, AccordionEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -84,7 +84,7 @@ export interface AccordionTabEmits {}
* *
* @group Component * @group Component
*/ */
export declare class AccordionTab extends ClassComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits> {} declare class AccordionTab extends ClassComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -53,7 +53,7 @@ export default {
const props = values[`${docName}Props`]; const props = values[`${docName}Props`];
const emits = values[`${docName}Emits`]; const emits = values[`${docName}Emits`];
const slots = values[`${docName}Slots`]; const slots = values[`${docName}Slots`];
const methods = componentValues ? componentValues[docName].methods : null; const methods = componentValues ? componentValues['default'].methods : null;
const types = APIDocs[moduleName]['types']; const types = APIDocs[moduleName]['types'];
let events = this.findEvents(values); let events = this.findEvents(values);