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
52 changes: 52 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
wasClean?: boolean;
}

interface CommandEventInit extends EventInit {
command?: string;
source?: Element | null;
}

interface CompositionEventInit extends UIEventInit {
data?: string;
}
Expand Down Expand Up @@ -8395,6 +8400,31 @@ declare var CloseEvent: {
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
};

/**
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
*/
interface CommandEvent extends Event {
/**
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
*/
readonly command: string;
/**
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
*/
readonly source: Element | null;
}

declare var CommandEvent: {
prototype: CommandEvent;
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
};

/**
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
*
Expand Down Expand Up @@ -10462,6 +10492,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
createEvent(eventInterface: "BlobEvent"): BlobEvent;
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
createEvent(eventInterface: "CloseEvent"): CloseEvent;
createEvent(eventInterface: "CommandEvent"): CommandEvent;
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
Expand Down Expand Up @@ -13601,6 +13632,18 @@ declare var HTMLBodyElement: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
*/
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
/**
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
*/
command: string;
/**
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
*/
commandForElement: Element | null;
/**
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
*
Expand Down Expand Up @@ -18388,6 +18431,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down Expand Up @@ -23028,6 +23072,8 @@ interface ParentNode extends Node {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
*/
append(...nodes: (Node | string)[]): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
moveBefore(node: Node, child: Node | null): void;
/**
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
*
Expand Down Expand Up @@ -23555,6 +23601,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
*/
readonly cancelable: boolean;
/**
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
*/
readonly interactionId: number;
/**
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
*
Expand Down
1 change: 1 addition & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4337,6 +4337,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4020,6 +4020,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
52 changes: 52 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
wasClean?: boolean;
}

interface CommandEventInit extends EventInit {
command?: string;
source?: Element | null;
}

interface CompositionEventInit extends UIEventInit {
data?: string;
}
Expand Down Expand Up @@ -8387,6 +8392,31 @@ declare var CloseEvent: {
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
};

/**
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
*/
interface CommandEvent extends Event {
/**
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
*/
readonly command: string;
/**
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
*/
readonly source: Element | null;
}

declare var CommandEvent: {
prototype: CommandEvent;
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
};

/**
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
*
Expand Down Expand Up @@ -10454,6 +10484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
createEvent(eventInterface: "BlobEvent"): BlobEvent;
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
createEvent(eventInterface: "CloseEvent"): CloseEvent;
createEvent(eventInterface: "CommandEvent"): CommandEvent;
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
Expand Down Expand Up @@ -13588,6 +13619,18 @@ declare var HTMLBodyElement: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
*/
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
/**
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
*/
command: string;
/**
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
*/
commandForElement: Element | null;
/**
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
*
Expand Down Expand Up @@ -18367,6 +18410,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down Expand Up @@ -23007,6 +23051,8 @@ interface ParentNode extends Node {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
*/
append(...nodes: (Node | string)[]): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
moveBefore(node: Node, child: Node | null): void;
/**
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
*
Expand Down Expand Up @@ -23534,6 +23580,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
*/
readonly cancelable: boolean;
/**
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
*/
readonly interactionId: number;
/**
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
*
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4337,6 +4337,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4020,6 +4020,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5029,6 +5029,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
52 changes: 52 additions & 0 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
wasClean?: boolean;
}

interface CommandEventInit extends EventInit {
command?: string;
source?: Element | null;
}

interface CompositionEventInit extends UIEventInit {
data?: string;
}
Expand Down Expand Up @@ -8395,6 +8400,31 @@ declare var CloseEvent: {
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
};

/**
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
*/
interface CommandEvent extends Event {
/**
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
*/
readonly command: string;
/**
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
*/
readonly source: Element | null;
}

declare var CommandEvent: {
prototype: CommandEvent;
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
};

/**
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
*
Expand Down Expand Up @@ -10462,6 +10492,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
createEvent(eventInterface: "BlobEvent"): BlobEvent;
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
createEvent(eventInterface: "CloseEvent"): CloseEvent;
createEvent(eventInterface: "CommandEvent"): CommandEvent;
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
Expand Down Expand Up @@ -13601,6 +13632,18 @@ declare var HTMLBodyElement: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
*/
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
/**
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
*/
command: string;
/**
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
*/
commandForElement: Element | null;
/**
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
*
Expand Down Expand Up @@ -18388,6 +18431,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down Expand Up @@ -23028,6 +23072,8 @@ interface ParentNode extends Node {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
*/
append(...nodes: (Node | string)[]): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
moveBefore(node: Node, child: Node | null): void;
/**
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
*
Expand Down Expand Up @@ -23555,6 +23601,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
*/
readonly cancelable: boolean;
/**
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
*/
readonly interactionId: number;
/**
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
*
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.6/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4337,6 +4337,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.6/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4020,6 +4020,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/ts5.6/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5029,6 +5029,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
1 change: 1 addition & 0 deletions baselines/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5029,6 +5029,7 @@ interface IDBDatabase extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
*/
readonly objectStoreNames: DOMStringList;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
Expand Down
Loading