mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4231 - Update d.ts
This commit is contained in:
parent
5d8c790836
commit
6d3d420189
27 changed files with 110 additions and 55 deletions
6
components/lib/toast/Toast.d.ts
vendored
6
components/lib/toast/Toast.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue