Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,11 @@ interface NavigationUpdateCurrentEntryOptions {
state: any;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -26715,6 +26720,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -26792,6 +26803,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down Expand Up @@ -29989,9 +30006,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
*/
readonly address: string | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
readonly errorCode: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
readonly errorText: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
readonly port: number | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
readonly url: string;
}

Expand Down
17 changes: 17 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationEventInit extends ExtendableEventInit {
action?: string;
notification: Notification;
Expand Down Expand Up @@ -6949,6 +6954,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -7026,6 +7037,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
17 changes: 17 additions & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -6632,6 +6637,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -6709,6 +6720,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
21 changes: 21 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,11 @@ interface NavigationUpdateCurrentEntryOptions {
state: any;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -26691,6 +26696,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -26768,6 +26779,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down Expand Up @@ -29965,9 +29982,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
*/
readonly address: string | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
readonly errorCode: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
readonly errorText: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
readonly port: number | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
readonly url: string;
}

Expand Down
17 changes: 17 additions & 0 deletions baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationEventInit extends ExtendableEventInit {
action?: string;
notification: Notification;
Expand Down Expand Up @@ -6946,6 +6951,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -7023,6 +7034,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
17 changes: 17 additions & 0 deletions baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -6629,6 +6634,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -6706,6 +6717,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
17 changes: 17 additions & 0 deletions baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationEventInit extends ExtendableEventInit {
action?: string;
notification: Notification;
Expand Down Expand Up @@ -7848,6 +7853,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -7925,6 +7936,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
21 changes: 21 additions & 0 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,11 @@ interface NavigationUpdateCurrentEntryOptions {
state: any;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -26712,6 +26717,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -26789,6 +26800,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down Expand Up @@ -29986,9 +30003,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
*/
readonly address: string | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
readonly errorCode: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
readonly errorText: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
readonly port: number | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
readonly url: string;
}

Expand Down
17 changes: 17 additions & 0 deletions baselines/ts5.6/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,11 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
title: string;
}

interface NotificationEventInit extends ExtendableEventInit {
action?: string;
notification: Notification;
Expand Down Expand Up @@ -6946,6 +6951,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -7023,6 +7034,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down
Loading
Loading