[Web API type definition issue] 'actions' is missing in interface NotificationOptions
#2007
Closed
2 of 3 tasks
Labels
Summary
Missing attribute 'actions' in interface 'NotificationOptions' for ServiceWorker DOM API
Expected vs. Actual Behavior
Expected: 'actions' is recognised as a proper option for showNotification
Actual: 'actions' is marked as an error
Playground Link
https://www.typescriptlang.org/play/?target=99&jsx=0#code/PQgEB4CcFMDNpgOwMbVAGwJYCMC8AiAd2m0IHtIBrBfUYAPgChoAPABwoBdQATOAQwCu6bomHoA3Iz7J0-GBmjcAztHSwAXKADKCAG6ZUAdQrVIAcXRls-dNuRk20KYzAAlaKkx60bQcoALUEQyTkxYQ34wskRlRlV1ADp+Hh4AUR9ETgAZTGVOaEQEAAp8P0D8ABpQWEEUaMRQYugASlAAb0ZQbtBwpoBCYoA5UPDIhtAAMknQEbCI5CjMGMSnSABbPOVlxtw90HwAc0h+LOgefBa2zp7b0AdYsnRoRKtD0rmxxYm1zeVtmLBUKgY6nAoXFpSO49GCcQSQRBQnoAX0YXR6fWaiR4UX413R0Ie+VA62g-34hzQuFALxxnH4iQAVsoYsVIQS7kSni83qUAAr+IKk8mU0AwLw+HhaKoksnKCmtJHQl6EfiYTgAVSymHQxQ50O6CVgiRghzynBODUSgTIhE+CyWrOF8spiTCnGe1RuBp92DIPAAnlpnQrEn7A6AANQHGPRgBS2gA8kNrRbMIgzbAA8UQ666XjKvqfRiHtLgLB+AYHta9IcqkXi7xccG5aH84XG9D+MgGsotABtBud7re4eN7sNFsi2m4jtjxvu57SxNORD4IfD1Hz7oAXQ3KJaQ-Zt1RyMhQA
Browser Support
Have Tried The Latest Releases
@types/web
.Additional Context
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification#parameters
The text was updated successfully, but these errors were encountered: