@@ -2764,6 +2764,7 @@ interface CSSStyleDeclaration {
27642764 columns: string;
27652765 contain: string;
27662766 content: string;
2767+ contentVisibility: string;
27672768 counterIncrement: string;
27682769 counterReset: string;
27692770 counterSet: string;
@@ -4946,6 +4947,15 @@ declare var Event: {
49464947 readonly NONE: number;
49474948};
49484949
4950+ interface EventCounts {
4951+ forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;
4952+ }
4953+
4954+ declare var EventCounts: {
4955+ prototype: EventCounts;
4956+ new(): EventCounts;
4957+ };
4958+
49494959interface EventListener {
49504960 (evt: Event): void;
49514961}
@@ -6141,6 +6151,17 @@ declare var HTMLDetailsElement: {
61416151
61426152/** @deprecated this is not available in most browsers */
61436153interface HTMLDialogElement extends HTMLElement {
6154+ open: boolean;
6155+ returnValue: string;
6156+ /**
6157+ * Closes the dialog element.
6158+ *
6159+ * The argument, if provided, provides a return value.
6160+ */
6161+ close(returnValue?: string): void;
6162+ /** Displays the dialog element. */
6163+ show(): void;
6164+ showModal(): void;
61446165 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
61456166 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
61466167 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10236,6 +10257,7 @@ interface PerformanceEventMap {
1023610257
1023710258/** 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. */
1023810259interface Performance extends EventTarget {
10260+ readonly eventCounts: EventCounts;
1023910261 /** @deprecated */
1024010262 readonly navigation: PerformanceNavigation;
1024110263 onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;
0 commit comments