microsoft / TypeScript-DOM-lib-generator

Tool for generating dom related TypeScript and JavaScript library files
Apache License 2.0
600 stars 417 forks source link

NotificationOptions is missing image option #1749

Closed MathMan05 closed 1 week ago

MathMan05 commented 1 week ago

https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification There is an option for an image on the notification API, and NotificationOptions is missing a property for it. (sorry, I'm new to TS, I'm not sure what all to include)

cpplearner commented 1 week ago

According to https://developer.mozilla.org/en-US/docs/Web/API/Notification/image, image is not supported by Firefox and Safari.

So it doesn't meet the condition in the README, which says:

A feature needs to be supported by two or more major browser engines to be included here, to make sure there is a good consensus among vendors: Gecko (Firefox), Blink (Chrome/Edge), and WebKit (Safari).

MathMan05 commented 1 week ago

Ok, sorry for bothering y'all then