You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportinterfaceToastEmits{/** * Callback to invoke when the toast is closed. * @param {ToastMessageOptions} message - Toast message. */close(message: ToastMessageOptions): void;/** * Callback to invoke when the toast's timeout is over. * @param {ToastMessageOptions} message - Toast message. */'life-end'(message: ToastMessageOptions): void;}
while the code for emitting events from toast looks like so:
Describe the bug
Toast.d.ts
defines typing for emits like so:while the code for emitting events from toast looks like so:
therefore, the typings are not correct and should look e.g. like:
Reproducer
inside description
PrimeVue version
3.52.0, 4.0.0-beta2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
any
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: