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

@ -7,12 +7,14 @@
* @module toast
*
*/
import { ButtonHTMLAttributes, VNode } from 'vue';
import { ButtonHTMLAttributes, TransitionProps, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ToastPassThroughOptionType = ToastPassThroughAttributes | ((options: ToastPassThroughMethodOptions) => ToastPassThroughAttributes | string) | string | null | undefined;
export declare type ToastPassThroughTransitionType = TransitionProps | ((options: ToastPassThroughMethodOptions) => TransitionProps) | undefined;
/**
* Custom passthrough(pt) option method.
*/
@ -89,7 +91,7 @@ export interface ToastPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ToastPassThroughTransitionType;
}
/**