diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts index c96d5463b9ced..63f5c61581dda 100644 --- a/lib/lib.dom.d.ts +++ b/lib/lib.dom.d.ts @@ -8408,6 +8408,7 @@ interface Notification extends EventTarget { declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; + readonly permission: NotificationPermission; requestPermission(callback?: NotificationPermissionCallback): Promise; }; @@ -14801,4 +14802,4 @@ type ServiceWorkerState = "installing" | "installed" | "activating" | "activated type Transport = "usb" | "nfc" | "ble"; type VideoFacingModeEnum = "user" | "environment" | "left" | "right"; type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded"; -type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; \ No newline at end of file +type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";