@@ -2764,6 +2764,7 @@ interface CSSStyleDeclaration {
2764
2764
columns: string;
2765
2765
contain: string;
2766
2766
content: string;
2767
+ contentVisibility: string;
2767
2768
counterIncrement: string;
2768
2769
counterReset: string;
2769
2770
counterSet: string;
@@ -4946,6 +4947,15 @@ declare var Event: {
4946
4947
readonly NONE: number;
4947
4948
};
4948
4949
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
+
4949
4959
interface EventListener {
4950
4960
(evt: Event): void;
4951
4961
}
@@ -6141,6 +6151,17 @@ declare var HTMLDetailsElement: {
6141
6151
6142
6152
/** @deprecated this is not available in most browsers */
6143
6153
interface 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;
6144
6165
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6145
6166
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6146
6167
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10236,6 +10257,7 @@ interface PerformanceEventMap {
10236
10257
10237
10258
/** 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. */
10238
10259
interface Performance extends EventTarget {
10260
+ readonly eventCounts: EventCounts;
10239
10261
/** @deprecated */
10240
10262
readonly navigation: PerformanceNavigation;
10241
10263
onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;
0 commit comments