DocApiSection - Accordion.dts updated
parent
545868a00b
commit
2fcfc61422
|
@ -84,12 +84,12 @@ export interface AccordionProps {
|
|||
/**
|
||||
* Defines valid slots in Accordion slots.
|
||||
*/
|
||||
export declare type AccordionSlots = {
|
||||
export interface AccordionSlots {
|
||||
/**
|
||||
* Default slot to detect AccordionTab components.
|
||||
*/
|
||||
default(): VNode[];
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in Accordion component.
|
||||
|
@ -129,7 +129,7 @@ export interface AccordionEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
export declare class Accordion extends ClassComponent<AccordionProps, AccordionSlots, AccordionEmits> {}
|
||||
declare class Accordion extends ClassComponent<AccordionProps, AccordionSlots, AccordionEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -84,7 +84,7 @@ export interface AccordionTabEmits {}
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class AccordionTab extends ClassComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits> {}
|
||||
declare class AccordionTab extends ClassComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -53,7 +53,7 @@ export default {
|
|||
const props = values[`${docName}Props`];
|
||||
const emits = values[`${docName}Emits`];
|
||||
const slots = values[`${docName}Slots`];
|
||||
const methods = componentValues ? componentValues[docName].methods : null;
|
||||
const methods = componentValues ? componentValues['default'].methods : null;
|
||||
|
||||
const types = APIDocs[moduleName]['types'];
|
||||
let events = this.findEvents(values);
|
||||
|
|
Loading…
Reference in New Issue