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
The ToastCloseEvent interface is defined as follows:
/** * Custom close event. * @see {@link Toast.onClose} */exportinterfaceToastCloseEvent{/** * Message of the closed element. */message?: string;/** * Index of the removed element. */index?: number;}
but:
the message field should be of type Message as it's the type currently returned by the inner p-toastItem component.
the index field should be removed as it's never set in the onMessageClose event of the p-toast component.
Environment
.
Reproducer
No response
Angular version
16.0.2
PrimeNG version
16.0.0-rc.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.14.1
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The ToastCloseEvent interface is defined as follows:
but:
message
field should be of typeMessage
as it's the type currently returned by the innerp-toastItem
component.index
field should be removed as it's never set in theonMessageClose
event of thep-toast
component.Environment
.
Reproducer
No response
Angular version
16.0.2
PrimeNG version
16.0.0-rc.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.14.1
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: