Skip to content

Commit ed3e9d2

Browse files
authored
Browser Notification type definition Fixed
Issue Fixed. microsoft#14701 Browser Notification type definition incorrect
1 parent 541920e commit ed3e9d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/lib.dom.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8408,6 +8408,7 @@ interface Notification extends EventTarget {
84088408
declare var Notification: {
84098409
prototype: Notification;
84108410
new(title: string, options?: NotificationOptions): Notification;
8411+
readonly permission: NotificationPermission;
84118412
requestPermission(callback?: NotificationPermissionCallback): Promise<NotificationPermission>;
84128413
};
84138414

@@ -14801,4 +14802,4 @@ type ServiceWorkerState = "installing" | "installed" | "activating" | "activated
1480114802
type Transport = "usb" | "nfc" | "ble";
1480214803
type VideoFacingModeEnum = "user" | "environment" | "left" | "right";
1480314804
type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded";
14804-
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
14805+
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";

0 commit comments

Comments
 (0)