Notification<T>: Readonly<Required<DistributiveOmit<T, "buttons">> & {
    buttons: ReadonlyArray<Required<ButtonOptions>>;

A fully-hydrated form of NotificationOptions.

After creating a notification, the service will return an object of this type. This will be the given options object, with any unspecified fields filled-in with default values.

This object should be treated as immutable. Modifying its state will not have any effect on the notification or the state of the service.

Type Parameters

Generated using TypeDoc