Fixed #4231 - Update d.ts

This commit is contained in:
mertsincan 2023-08-02 17:07:22 +03:00
parent 5d8c790836
commit 6d3d420189
27 changed files with 110 additions and 55 deletions

View file

@ -8,13 +8,15 @@
* @module contextmenu
*
*/
import { VNode } from 'vue';
import { TransitionProps, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ContextMenuPassThroughOptionType = ContextMenuPassThroughAttributes | ((options: ContextMenuPassThroughMethodOptions) => ContextMenuPassThroughAttributes | string) | string | null | undefined;
export declare type ContextMenuPassThroughTransitionType = TransitionProps | ((options: ContextMenuPassThroughMethodOptions) => TransitionProps) | undefined;
/**
* Custom passthrough(pt) option method.
*/
@ -78,7 +80,7 @@ export interface ContextMenuPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ContextMenuPassThroughTransitionType;
}
/**