Skip to content

Commit

Permalink
馃 Update core dependencies (microsoft#1258)
Browse files Browse the repository at this point in the history
Co-authored-by: saschanaz <[email protected]>
  • Loading branch information
typescript-bot and saschanaz committed Feb 2, 2022
1 parent 9c8c658 commit 4ef9269
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 896 deletions.
22 changes: 22 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2764,6 +2764,7 @@ interface CSSStyleDeclaration {
columns: string;
contain: string;
content: string;
contentVisibility: string;
counterIncrement: string;
counterReset: string;
counterSet: string;
Expand Down Expand Up @@ -4946,6 +4947,15 @@ declare var Event: {
readonly NONE: number;
};

interface EventCounts {
forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;
}

declare var EventCounts: {
prototype: EventCounts;
new(): EventCounts;
};

interface EventListener {
(evt: Event): void;
}
Expand Down Expand Up @@ -6141,6 +6151,17 @@ declare var HTMLDetailsElement: {

/** @deprecated this is not available in most browsers */
interface HTMLDialogElement extends HTMLElement {
open: boolean;
returnValue: string;
/**
* Closes the dialog element.
*
* The argument, if provided, provides a return value.
*/
close(returnValue?: string): void;
/** Displays the dialog element. */
show(): void;
showModal(): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -10236,6 +10257,7 @@ interface PerformanceEventMap {

/** Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */
interface Performance extends EventTarget {
readonly eventCounts: EventCounts;
/** @deprecated */
readonly navigation: PerformanceNavigation;
onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;
Expand Down
3 changes: 3 additions & 0 deletions baselines/dom.iterable.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ interface DataTransferItemList {
[Symbol.iterator](): IterableIterator<DataTransferItem>;
}

interface EventCounts extends ReadonlyMap<string, number> {
}

interface FileList {
[Symbol.iterator](): IterableIterator<File>;
}
Expand Down
Loading

0 comments on commit 4ef9269

Please sign in to comment.