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
No overload matches this call.
Overload 1 of 2, '(title: string, options?: NotificationOptions | undefined): Promise', gave the following error.
Object literal may only specify known properties, and 'actions' does not exist in type 'NotificationOptions'.
Overload 2 of 2, '(title: string, options?: NotificationOptions | undefined): Promise', gave the following error.
Object literal may only specify known properties, and 'actions' does not exist in type 'NotificationOptions'.ts(2769)
(property) actions: {
action: string;
title: string;
}[]
🙂 Expected behavior
There should be no error message
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered:
🔎 Search Terms
TS2769
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
in ServiceWorker.
/** MDN Reference */
showNotification(title: string, options?: NotificationOptions): Promise;
🙁 Actual behavior
No overload matches this call.
Overload 1 of 2, '(title: string, options?: NotificationOptions | undefined): Promise', gave the following error.
Object literal may only specify known properties, and 'actions' does not exist in type 'NotificationOptions'.
Overload 2 of 2, '(title: string, options?: NotificationOptions | undefined): Promise', gave the following error.
Object literal may only specify known properties, and 'actions' does not exist in type 'NotificationOptions'.ts(2769)
(property) actions: {
action: string;
title: string;
}[]
🙂 Expected behavior
There should be no error message
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: