diff --git a/experimental/angular_projects/projects/MNIST-dev/src/app/mylib/rn/internal/mod.ts b/experimental/angular_projects/projects/MNIST-dev/src/app/mylib/rn/internal/mod.ts index fa0ee7181e..674c98cde5 100644 --- a/experimental/angular_projects/projects/MNIST-dev/src/app/mylib/rn/internal/mod.ts +++ b/experimental/angular_projects/projects/MNIST-dev/src/app/mylib/rn/internal/mod.ts @@ -1,6 +1,5 @@ // This file is created to avoid circular reference between RN and operators. -export * from './RN'; export * from './operators/debounce'; export * from './operators/filter'; export * from './operators/flatMap'; @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged'; export * from './operators/switchMap'; export * from './operators/take'; export * from './operators/withLatest'; +export * from './RN'; diff --git a/experimental/angular_projects/projects/MNIST-prod/src/app/mylib/rn/internal/mod.ts b/experimental/angular_projects/projects/MNIST-prod/src/app/mylib/rn/internal/mod.ts index fa0ee7181e..674c98cde5 100644 --- a/experimental/angular_projects/projects/MNIST-prod/src/app/mylib/rn/internal/mod.ts +++ b/experimental/angular_projects/projects/MNIST-prod/src/app/mylib/rn/internal/mod.ts @@ -1,6 +1,5 @@ // This file is created to avoid circular reference between RN and operators. -export * from './RN'; export * from './operators/debounce'; export * from './operators/filter'; export * from './operators/flatMap'; @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged'; export * from './operators/switchMap'; export * from './operators/take'; export * from './operators/withLatest'; +export * from './RN'; diff --git a/experimental/angular_projects/projects/mylib_latest/rn/internal/mod.ts b/experimental/angular_projects/projects/mylib_latest/rn/internal/mod.ts index fa0ee7181e..674c98cde5 100644 --- a/experimental/angular_projects/projects/mylib_latest/rn/internal/mod.ts +++ b/experimental/angular_projects/projects/mylib_latest/rn/internal/mod.ts @@ -1,6 +1,5 @@ // This file is created to avoid circular reference between RN and operators. -export * from './RN'; export * from './operators/debounce'; export * from './operators/filter'; export * from './operators/flatMap'; @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged'; export * from './operators/switchMap'; export * from './operators/take'; export * from './operators/withLatest'; +export * from './RN'; diff --git a/experimental/angular_projects/rnjslocal/RN.ts b/experimental/angular_projects/rnjslocal/RN.ts index 042925b110..bc90f6c3f2 100644 --- a/experimental/angular_projects/rnjslocal/RN.ts +++ b/experimental/angular_projects/rnjslocal/RN.ts @@ -1,6 +1,6 @@ -export { RN } from './internal/RN'; export { combine } from './internal/combinationRNs/combine'; export { merge } from './internal/combinationRNs/merge'; +export { RN } from './internal/RN'; export { constant, of } from './internal/sourceRNs/constant'; export { fromEvent } from './internal/sourceRNs/fromEvent'; export { fromObservable } from './internal/sourceRNs/fromObservable'; diff --git a/experimental/rnjs/src/internal/index.ts b/experimental/rnjs/src/internal/index.ts index ac4cb45869..2643146973 100644 --- a/experimental/rnjs/src/internal/index.ts +++ b/experimental/rnjs/src/internal/index.ts @@ -1,7 +1,7 @@ -export * from './RN'; export * from './combinationRNs'; export * from './mod'; export * from './operators'; +export * from './RN'; export * from './sourceRNs'; export * from './types'; export * from './utils'; diff --git a/experimental/rnjs/src/internal/mod.ts b/experimental/rnjs/src/internal/mod.ts index 5749a0e6e2..644c7d8184 100644 --- a/experimental/rnjs/src/internal/mod.ts +++ b/experimental/rnjs/src/internal/mod.ts @@ -1,6 +1,5 @@ // This file is created to avoid circular reference between RN and operators. -export * from './RN'; export * from './operators/auditTime'; export * from './operators/debounce'; export * from './operators/delay'; @@ -20,3 +19,4 @@ export * from './operators/throttle'; export * from './operators/withDefault'; export * from './operators/withInitialValue'; export * from './operators/withLatest'; +export * from './RN'; diff --git a/experimental/ts-utils-res/src/types/records/index.ts b/experimental/ts-utils-res/src/types/records/index.ts index 62b802aa5d..c92aee7575 100644 --- a/experimental/ts-utils-res/src/types/records/index.ts +++ b/experimental/ts-utils-res/src/types/records/index.ts @@ -1,3 +1,3 @@ export * from './Point_bs'; -export * from './RectSize_bs'; export * from './Rectangle_bs'; +export * from './RectSize_bs'; diff --git a/package.json b/package.json index 09fe3932fd..ee6e3b935e 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "ts-morph": "^22.0.0", "ts-node": "^10.9.2", "tslib": "^2.4.0", - "typescript": "5.4.3", + "typescript": "5.6.2", "unplugin-auto-import": "^0.17.5", "vite": "^5.4.6", "vite-plugin-markdown": "^2.2.0", diff --git a/packages/apps/slack-app/functions/src/index.ts b/packages/apps/slack-app/functions/src/index.ts index 32cc504bec..0129cd97d5 100644 --- a/packages/apps/slack-app/functions/src/index.ts +++ b/packages/apps/slack-app/functions/src/index.ts @@ -58,7 +58,10 @@ export const makeUppercase = firestore mut_data.push(chunk); }) .on('end', () => { - const events = Buffer.concat(mut_data); + const events: Buffer = Buffer.concat( + // eslint-disable-next-line total-functions/no-unsafe-type-assertion + mut_data as unknown as Uint8Array[], + ); // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-explicit-any const r = Json.parse(events.toString()) as any; diff --git a/packages/others/create-json-schema-from-typescript/package.json b/packages/others/create-json-schema-from-typescript/package.json index 76f4fac89e..a3bbf91f0d 100644 --- a/packages/others/create-json-schema-from-typescript/package.json +++ b/packages/others/create-json-schema-from-typescript/package.json @@ -11,6 +11,6 @@ "setup": "tsc" }, "devDependencies": { - "typescript-json-schema": "^0.63.0" + "typescript-json-schema": "^0.65.1" } } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.dom.asynciterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.dom.asynciterable.diff index c1ee8764e2..5c3e6923ea 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.dom.asynciterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.dom.asynciterable.diff @@ -1,4 +1,4 @@ -@@ -1,27 +1,15 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -19,15 +19,26 @@ ///////////////////////////// /// Window Async Iterable APIs - ///////////////////////////// +@@ -26,9 +12,11 @@ interface FileSystemDirectoryHandleAsyncIterator interface FileSystemDirectoryHandle { -- [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; -- entries(): AsyncIterableIterator<[string, FileSystemHandle]>; -+ [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< +- [string, FileSystemHandle] + readonly [string, FileSystemHandle] + >; -+ entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; ++ entries(): FileSystemDirectoryHandleAsyncIterator< ++ readonly [string, FileSystemHandle] + >; +- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; } +@@ -38,7 +26,7 @@ interface ReadableStreamAsyncIterator + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; + } + +-interface ReadableStream { ++interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.dom.diff b/packages/strict-ts-lib/output-branded/diff/lib.dom.diff index aec8c62641..e74bb8b0bf 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.dom.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.dom.diff @@ -31,7 +31,7 @@ } interface AuthenticationExtensionsClientInputs { -@@ -270,8 +256,8 @@ interface ConstrainBooleanParameters { +@@ -273,8 +259,8 @@ interface ConstrainBooleanParameters { } interface ConstrainDOMStringParameters { @@ -42,7 +42,7 @@ } interface ConstrainDoubleRange extends DoubleRange { -@@ -309,7 +295,7 @@ interface CryptoKeyPair { +@@ -316,7 +302,7 @@ interface CryptoKeyPair { publicKey: CryptoKey; } @@ -51,7 +51,7 @@ detail?: T; } -@@ -473,7 +459,7 @@ interface EncodedVideoChunkMetadata { +@@ -480,7 +466,7 @@ interface EncodedVideoChunkMetadata { interface ErrorEventInit extends EventInit { colno?: number; @@ -60,7 +60,7 @@ filename?: string; lineno?: number; message?: string; -@@ -556,7 +542,7 @@ interface FontFaceDescriptors { +@@ -563,7 +549,7 @@ interface FontFaceDescriptors { } interface FontFaceSetLoadEventInit extends EventInit { @@ -69,7 +69,16 @@ } interface FormDataEventInit extends EventInit { -@@ -632,7 +618,7 @@ interface IDBIndexParameters { +@@ -597,7 +583,7 @@ interface GetAnimationsOptions { + + interface GetHTMLOptions { + serializableShadowRoots?: boolean; +- shadowRoots?: ShadowRoot[]; ++ shadowRoots?: readonly ShadowRoot[]; + } + + interface GetNotificationOptions { +@@ -646,7 +632,7 @@ interface IDBIndexParameters { interface IDBObjectStoreParameters { autoIncrement?: boolean; @@ -78,7 +87,7 @@ } interface IDBTransactionOptions { -@@ -645,8 +631,8 @@ interface IDBVersionChangeEventInit extends EventInit { +@@ -659,8 +645,8 @@ interface IDBVersionChangeEventInit extends EventInit { } interface IIRFilterOptions extends AudioNodeOptions { @@ -89,7 +98,7 @@ } interface IdleRequestOptions { -@@ -684,7 +670,7 @@ interface InputEventInit extends UIEventInit { +@@ -694,7 +680,7 @@ interface InputEventInit extends UIEventInit { dataTransfer?: DataTransfer | null; inputType?: string; isComposing?: boolean; @@ -98,7 +107,7 @@ } interface IntersectionObserverEntryInit { -@@ -700,7 +686,7 @@ interface IntersectionObserverEntryInit { +@@ -710,7 +696,7 @@ interface IntersectionObserverEntryInit { interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; @@ -107,7 +116,7 @@ } interface JsonWebKey { -@@ -712,10 +698,10 @@ interface JsonWebKey { +@@ -722,10 +708,10 @@ interface JsonWebKey { e?: string; ext?: boolean; k?: string; @@ -120,7 +129,7 @@ p?: string; q?: string; qi?: string; -@@ -765,8 +751,8 @@ interface LockInfo { +@@ -775,8 +761,8 @@ interface LockInfo { } interface LockManagerSnapshot { @@ -131,7 +140,7 @@ } interface LockOptions { -@@ -837,13 +823,13 @@ interface MediaKeyMessageEventInit extends EventInit { +@@ -847,13 +833,13 @@ interface MediaKeyMessageEventInit extends EventInit { } interface MediaKeySystemConfiguration { @@ -149,7 +158,7 @@ } interface MediaKeySystemMediaCapability { -@@ -855,7 +841,7 @@ interface MediaKeySystemMediaCapability { +@@ -869,7 +855,7 @@ interface MediaKeysPolicy { interface MediaMetadataInit { album?: string; artist?: string; @@ -158,7 +167,7 @@ title?: string; } -@@ -901,16 +887,16 @@ interface MediaStreamTrackEventInit extends EventInit { +@@ -915,16 +901,16 @@ interface MediaStreamTrackEventInit extends EventInit { interface MediaTrackCapabilities { aspectRatio?: DoubleRange; @@ -179,7 +188,7 @@ sampleRate?: ULongRange; sampleSize?: ULongRange; width?: ULongRange; -@@ -934,7 +920,7 @@ interface MediaTrackConstraintSet { +@@ -948,7 +934,7 @@ interface MediaTrackConstraintSet { } interface MediaTrackConstraints extends MediaTrackConstraintSet { @@ -188,7 +197,7 @@ } interface MediaTrackSettings { -@@ -971,11 +957,11 @@ interface MediaTrackSupportedConstraints { +@@ -985,11 +971,11 @@ interface MediaTrackSupportedConstraints { width?: boolean; } @@ -202,7 +211,7 @@ source?: MessageEventSource | null; } -@@ -1000,7 +986,7 @@ interface MutationObserverInit { +@@ -1014,7 +1000,7 @@ interface MutationObserverInit { * Set to a list of attribute local names (without namespace) if not all * attribute mutations need to be observed and attributes is true or omitted. */ @@ -211,7 +220,7 @@ /** * Set to true if attributes is true or omitted and target's attribute value * before the mutation needs to be recorded. -@@ -1038,7 +1024,7 @@ interface NavigationPreloadState { +@@ -1052,7 +1038,7 @@ interface NavigationPreloadState { interface NotificationOptions { badge?: string; body?: string; @@ -220,7 +229,7 @@ dir?: NotificationDirection; icon?: string; lang?: string; -@@ -1103,8 +1089,8 @@ interface PaymentCurrencyAmount { +@@ -1117,8 +1103,8 @@ interface PaymentCurrencyAmount { } interface PaymentDetailsBase { @@ -231,7 +240,7 @@ } interface PaymentDetailsInit extends PaymentDetailsBase { -@@ -1113,14 +1099,14 @@ interface PaymentDetailsInit extends PaymentDetailsBase { +@@ -1127,14 +1113,14 @@ interface PaymentDetailsInit extends PaymentDetailsBase { } interface PaymentDetailsModifier { @@ -249,7 +258,7 @@ total?: PaymentItem; } -@@ -1131,12 +1117,12 @@ interface PaymentItem { +@@ -1145,12 +1131,12 @@ interface PaymentItem { } interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { @@ -264,7 +273,7 @@ supportedMethods: string; } -@@ -1144,7 +1130,7 @@ interface PaymentRequestUpdateEventInit extends EventInit {} +@@ -1158,7 +1144,7 @@ interface PaymentRequestUpdateEventInit extends EventInit {} interface PaymentValidationErrors { error?: string; @@ -273,7 +282,7 @@ } interface Pbkdf2Params extends Algorithm { -@@ -1154,12 +1140,12 @@ interface Pbkdf2Params extends Algorithm { +@@ -1168,12 +1154,12 @@ interface Pbkdf2Params extends Algorithm { } interface PerformanceMarkOptions { @@ -288,7 +297,7 @@ duration?: DOMHighResTimeStamp; end?: string | DOMHighResTimeStamp; start?: string | DOMHighResTimeStamp; -@@ -1167,7 +1153,7 @@ interface PerformanceMeasureOptions { +@@ -1181,7 +1167,7 @@ interface PerformanceMeasureOptions { interface PerformanceObserverInit { buffered?: boolean; @@ -297,7 +306,7 @@ type?: string; } -@@ -1176,8 +1162,8 @@ interface PeriodicWaveConstraints { +@@ -1190,8 +1176,8 @@ interface PeriodicWaveConstraints { } interface PeriodicWaveOptions extends PeriodicWaveConstraints { @@ -308,7 +317,7 @@ } interface PermissionDescriptor { -@@ -1194,12 +1180,12 @@ interface PlaneLayout { +@@ -1208,12 +1194,12 @@ interface PlaneLayout { } interface PointerEventInit extends MouseEventInit { @@ -323,7 +332,7 @@ pressure?: number; tangentialPressure?: number; tiltX?: number; -@@ -1209,7 +1195,7 @@ interface PointerEventInit extends MouseEventInit { +@@ -1227,7 +1213,7 @@ interface PointerLockOptions { } interface PopStateEventInit extends EventInit { @@ -332,7 +341,7 @@ } interface PositionOptions { -@@ -1225,8 +1211,8 @@ interface ProgressEventInit extends EventInit { +@@ -1243,8 +1229,8 @@ interface ProgressEventInit extends EventInit { } interface PromiseRejectionEventInit extends EventInit { @@ -343,7 +352,7 @@ } interface PropertyDefinition { -@@ -1237,12 +1223,12 @@ interface PropertyDefinition { +@@ -1255,12 +1241,12 @@ interface PropertyDefinition { } interface PropertyIndexedKeyframes { @@ -359,7 +368,7 @@ | number | null | (number | null)[] -@@ -1253,9 +1239,9 @@ interface PublicKeyCredentialCreationOptions { +@@ -1271,9 +1257,9 @@ interface PublicKeyCredentialCreationOptions { attestation?: AttestationConveyancePreference; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: BufferSource; @@ -371,7 +380,7 @@ rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntity; -@@ -1263,7 +1249,7 @@ interface PublicKeyCredentialCreationOptions { +@@ -1281,7 +1267,7 @@ interface PublicKeyCredentialCreationOptions { interface PublicKeyCredentialDescriptor { id: BufferSource; @@ -380,7 +389,7 @@ type: PublicKeyCredentialType; } -@@ -1277,7 +1263,7 @@ interface PublicKeyCredentialParameters { +@@ -1295,7 +1281,7 @@ interface PublicKeyCredentialParameters { } interface PublicKeyCredentialRequestOptions { @@ -389,7 +398,7 @@ challenge: BufferSource; extensions?: AuthenticationExtensionsClientInputs; rpId?: string; -@@ -1305,7 +1291,7 @@ interface PushSubscriptionOptionsInit { +@@ -1323,7 +1309,7 @@ interface PushSubscriptionOptionsInit { userVisibleOnly?: boolean; } @@ -398,7 +407,7 @@ highWaterMark?: number; size?: QueuingStrategySize; } -@@ -1330,9 +1316,9 @@ interface RTCCertificateExpiration { +@@ -1348,9 +1334,9 @@ interface RTCCertificateExpiration { interface RTCConfiguration { bundlePolicy?: RTCBundlePolicy; @@ -410,7 +419,7 @@ iceTransportPolicy?: RTCIceTransportPolicy; rtcpMuxPolicy?: RTCRtcpMuxPolicy; } -@@ -1360,15 +1346,15 @@ interface RTCDtlsFingerprint { +@@ -1378,15 +1364,15 @@ interface RTCDtlsFingerprint { } interface RTCEncodedAudioFrameMetadata { @@ -429,7 +438,7 @@ frameId?: number; height?: number; payloadType?: number; -@@ -1426,7 +1412,7 @@ interface RTCIceCandidatePairStats extends RTCStats { +@@ -1439,7 +1425,7 @@ interface RTCIceCandidatePairStats extends RTCStats { interface RTCIceServer { credential?: string; @@ -438,18 +447,18 @@ username?: string; } -@@ -1534,8 +1520,8 @@ interface RTCRtcpParameters { +@@ -1547,8 +1533,8 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { -- codecs: RTCRtpCodecCapability[]; +- codecs: RTCRtpCodec[]; - headerExtensions: RTCRtpHeaderExtensionCapability[]; -+ codecs: readonly RTCRtpCodecCapability[]; ++ codecs: readonly RTCRtpCodec[]; + headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } interface RTCRtpCodec { -@@ -1582,8 +1568,8 @@ interface RTCRtpHeaderExtensionParameters { +@@ -1593,8 +1579,8 @@ interface RTCRtpHeaderExtensionParameters { } interface RTCRtpParameters { @@ -460,7 +469,7 @@ rtcp: RTCRtcpParameters; } -@@ -1591,7 +1577,7 @@ interface RTCRtpReceiveParameters extends RTCRtpParameters {} +@@ -1602,7 +1588,7 @@ interface RTCRtpReceiveParameters extends RTCRtpParameters {} interface RTCRtpSendParameters extends RTCRtpParameters { degradationPreference?: RTCDegradationPreference; @@ -469,7 +478,7 @@ transactionId: string; } -@@ -1606,8 +1592,8 @@ interface RTCRtpSynchronizationSource extends RTCRtpContributingSource {} +@@ -1617,8 +1603,8 @@ interface RTCRtpSynchronizationSource extends RTCRtpContributingSource {} interface RTCRtpTransceiverInit { direction?: RTCRtpTransceiverDirection; @@ -480,7 +489,7 @@ } interface RTCSentRtpStreamStats extends RTCRtpStreamStats { -@@ -1630,7 +1616,7 @@ interface RTCStats { +@@ -1641,7 +1627,7 @@ interface RTCStats { interface RTCTrackEventInit extends EventInit { receiver: RTCRtpReceiver; @@ -489,7 +498,7 @@ track: MediaStreamTrack; transceiver: RTCRtpTransceiver; } -@@ -1671,7 +1657,7 @@ interface ReadableStreamReadValueResult { +@@ -1697,7 +1683,7 @@ interface ReadableStreamReadValueResult { value: T; } @@ -498,7 +507,7 @@ readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through -@@ -1693,7 +1679,7 @@ interface RegistrationOptions { +@@ -1719,7 +1705,7 @@ interface RegistrationOptions { interface ReportingObserverOptions { buffered?: boolean; @@ -507,7 +516,7 @@ } interface RequestInit { -@@ -1838,7 +1824,7 @@ interface ShadowRootInit { +@@ -1865,7 +1851,7 @@ interface ShadowRootInit { } interface ShareData { @@ -516,7 +525,7 @@ text?: string; title?: string; url?: string; -@@ -1926,7 +1912,7 @@ interface StreamPipeOptions { +@@ -1953,7 +1939,7 @@ interface StreamPipeOptions { } interface StructuredSerializeOptions { @@ -525,7 +534,7 @@ } interface SubmitEventInit extends EventInit { -@@ -1953,9 +1939,9 @@ interface ToggleEventInit extends EventInit { +@@ -1980,9 +1966,9 @@ interface ToggleEventInit extends EventInit { } interface TouchEventInit extends EventModifierInit { @@ -538,7 +547,7 @@ } interface TouchInit { -@@ -1980,7 +1966,7 @@ interface TrackEventInit extends EventInit { +@@ -2007,7 +1993,7 @@ interface TrackEventInit extends EventInit { track?: TextTrack | null; } @@ -547,7 +556,7 @@ flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; -@@ -2010,20 +1996,20 @@ interface UnderlyingByteSource { +@@ -2037,20 +2023,20 @@ interface UnderlyingByteSource { autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: (controller: ReadableByteStreamController) => void | PromiseLike; @@ -572,7 +581,7 @@ abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; -@@ -2031,7 +2017,7 @@ interface UnderlyingSink { +@@ -2058,7 +2044,7 @@ interface UnderlyingSink { write?: UnderlyingSinkWriteCallback; } @@ -581,7 +590,7 @@ autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; -@@ -2131,7 +2117,7 @@ interface VideoFrameBufferInit { +@@ -2158,7 +2144,7 @@ interface VideoFrameBufferInit { displayWidth?: number; duration?: number; format: VideoPixelFormat; @@ -590,7 +599,7 @@ timestamp: number; visibleRect?: DOMRectInit; } -@@ -2150,7 +2136,7 @@ interface VideoFrameCallbackMetadata { +@@ -2177,7 +2163,7 @@ interface VideoFrameCallbackMetadata { } interface VideoFrameCopyToOptions { @@ -599,7 +608,7 @@ rect?: DOMRectInit; } -@@ -2164,7 +2150,7 @@ interface VideoFrameInit { +@@ -2191,7 +2177,7 @@ interface VideoFrameInit { } interface WaveShaperOptions extends AudioNodeOptions { @@ -608,7 +617,7 @@ oversample?: OverSampleType; } -@@ -2203,7 +2189,7 @@ interface WebTransportOptions { +@@ -2230,7 +2216,7 @@ interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; requireUnreliable?: boolean; @@ -617,7 +626,7 @@ } interface WebTransportSendStreamOptions { -@@ -2240,7 +2226,7 @@ interface WriteParams { +@@ -2267,7 +2253,7 @@ interface WriteParams { type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number }; @@ -626,7 +635,7 @@ readonly FILTER_ACCEPT: 1; readonly FILTER_REJECT: 2; readonly FILTER_SKIP: 3; -@@ -2512,10 +2498,10 @@ interface AbortController { +@@ -2549,10 +2535,10 @@ interface AbortController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort) */ @@ -639,7 +648,7 @@ prototype: AbortController; new (): AbortController; }; -@@ -2543,12 +2529,12 @@ interface AbortSignal extends EventTarget { +@@ -2580,12 +2566,12 @@ interface AbortSignal extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */ @@ -654,7 +663,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) -@@ -2556,7 +2542,7 @@ interface AbortSignal extends EventTarget { +@@ -2593,7 +2579,7 @@ interface AbortSignal extends EventTarget { throwIfAborted(): void; addEventListener( type: K, @@ -663,7 +672,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2566,7 +2552,7 @@ interface AbortSignal extends EventTarget { +@@ -2603,7 +2589,7 @@ interface AbortSignal extends EventTarget { ): void; removeEventListener( type: K, @@ -672,7 +681,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2576,14 +2562,14 @@ interface AbortSignal extends EventTarget { +@@ -2613,19 +2599,19 @@ interface AbortSignal extends EventTarget { ): void; } @@ -686,10 +695,16 @@ */ - abort(reason?: any): AbortSignal; + abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ +- any(signals: AbortSignal[]): AbortSignal; ++ any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) -@@ -2630,7 +2616,7 @@ interface AbstractRange { +@@ -2672,7 +2658,7 @@ interface AbstractRange { readonly startOffset: number; } @@ -698,7 +713,7 @@ prototype: AbstractRange; new (): AbstractRange; }; -@@ -2644,10 +2630,10 @@ interface AbstractWorker { +@@ -2686,10 +2672,10 @@ interface AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */ @@ -711,7 +726,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2657,7 +2643,7 @@ interface AbstractWorker { +@@ -2699,7 +2685,7 @@ interface AbstractWorker { ): void; removeEventListener( type: K, @@ -720,7 +735,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2723,7 +2709,7 @@ interface AnalyserNode extends AudioNode { +@@ -2765,7 +2751,7 @@ interface AnalyserNode extends AudioNode { getFloatTimeDomainData(array: Float32Array): void; } @@ -729,7 +744,7 @@ prototype: AnalyserNode; new (context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; }; -@@ -2731,14 +2717,14 @@ declare var AnalyserNode: { +@@ -2773,14 +2759,14 @@ declare var AnalyserNode: { interface Animatable { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate) */ animate( @@ -746,7 +761,7 @@ } interface AnimationEventMap { -@@ -2770,17 +2756,17 @@ interface Animation extends EventTarget { +@@ -2812,17 +2798,17 @@ interface Animation extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel_event) */ @@ -767,7 +782,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending) -@@ -2849,7 +2835,7 @@ interface Animation extends EventTarget { +@@ -2891,7 +2877,7 @@ interface Animation extends EventTarget { updatePlaybackRate(playbackRate: number): void; addEventListener( type: K, @@ -776,7 +791,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2859,7 +2845,7 @@ interface Animation extends EventTarget { +@@ -2901,7 +2887,7 @@ interface Animation extends EventTarget { ): void; removeEventListener( type: K, @@ -785,7 +800,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2869,7 +2855,7 @@ interface Animation extends EventTarget { +@@ -2911,7 +2897,7 @@ interface Animation extends EventTarget { ): void; } @@ -794,7 +809,7 @@ prototype: Animation; new ( effect?: AnimationEffect | null, -@@ -2896,7 +2882,7 @@ interface AnimationEffect { +@@ -2938,7 +2924,7 @@ interface AnimationEffect { updateTiming(timing?: OptionalEffectTiming): void; } @@ -803,7 +818,7 @@ prototype: AnimationEffect; new (): AnimationEffect; }; -@@ -2924,7 +2910,7 @@ interface AnimationEvent extends Event { +@@ -2966,7 +2952,7 @@ interface AnimationEvent extends Event { readonly pseudoElement: string; } @@ -812,7 +827,7 @@ prototype: AnimationEvent; new ( type: string, -@@ -2962,7 +2948,7 @@ interface AnimationPlaybackEvent extends Event { +@@ -3004,7 +2990,7 @@ interface AnimationPlaybackEvent extends Event { readonly timelineTime: CSSNumberish | null; } @@ -821,7 +836,7 @@ prototype: AnimationPlaybackEvent; new ( type: string, -@@ -2979,7 +2965,7 @@ interface AnimationTimeline { +@@ -3021,7 +3007,7 @@ interface AnimationTimeline { readonly currentTime: CSSNumberish | null; } @@ -830,7 +845,7 @@ prototype: AnimationTimeline; new (): AnimationTimeline; }; -@@ -3020,7 +3006,7 @@ interface Attr extends Node { +@@ -3062,7 +3048,7 @@ interface Attr extends Node { value: string; } @@ -839,7 +854,7 @@ prototype: Attr; new (): Attr; }; -@@ -3079,7 +3065,7 @@ interface AudioBuffer { +@@ -3121,7 +3107,7 @@ interface AudioBuffer { getChannelData(channel: number): Float32Array; } @@ -848,7 +863,7 @@ prototype: AudioBuffer; new (options: AudioBufferOptions): AudioBuffer; }; -@@ -3135,7 +3121,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3177,7 +3163,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { listener: ( this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -857,7 +872,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3148,7 +3134,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3190,7 +3176,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { listener: ( this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -866,7 +881,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3158,7 +3144,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3200,7 +3186,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { ): void; } @@ -875,7 +890,7 @@ prototype: AudioBufferSourceNode; new ( context: BaseAudioContext, -@@ -3222,7 +3208,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3264,7 +3250,7 @@ interface AudioContext extends BaseAudioContext { suspend(): Promise; addEventListener( type: K, @@ -884,7 +899,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3232,7 +3218,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3274,7 +3260,7 @@ interface AudioContext extends BaseAudioContext { ): void; removeEventListener( type: K, @@ -893,7 +908,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3242,7 +3228,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3284,7 +3270,7 @@ interface AudioContext extends BaseAudioContext { ): void; } @@ -902,7 +917,7 @@ prototype: AudioContext; new (contextOptions?: AudioContextOptions): AudioContext; }; -@@ -3264,7 +3250,7 @@ interface AudioDestinationNode extends AudioNode { +@@ -3306,7 +3292,7 @@ interface AudioDestinationNode extends AudioNode { readonly maxChannelCount: number; } @@ -911,7 +926,7 @@ prototype: AudioDestinationNode; new (): AudioDestinationNode; }; -@@ -3346,7 +3332,7 @@ interface AudioListener { +@@ -3388,7 +3374,7 @@ interface AudioListener { setPosition(x: number, y: number, z: number): void; } @@ -920,7 +935,7 @@ prototype: AudioListener; new (): AudioListener; }; -@@ -3411,7 +3397,7 @@ interface AudioNode extends EventTarget { +@@ -3453,7 +3439,7 @@ interface AudioNode extends EventTarget { disconnect(destinationParam: AudioParam, output: number): void; } @@ -929,7 +944,7 @@ prototype: AudioNode; new (): AudioNode; }; -@@ -3487,13 +3473,13 @@ interface AudioParam { +@@ -3525,13 +3511,13 @@ interface AudioParam { * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */ setValueCurveAtTime( @@ -945,7 +960,7 @@ prototype: AudioParam; new (): AudioParam; }; -@@ -3502,11 +3488,11 @@ declare var AudioParam: { +@@ -3540,11 +3526,11 @@ declare var AudioParam: { interface AudioParamMap { forEach( callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, @@ -959,7 +974,7 @@ prototype: AudioParamMap; new (): AudioParamMap; }; -@@ -3547,7 +3533,7 @@ interface AudioProcessingEvent extends Event { +@@ -3585,7 +3571,7 @@ interface AudioProcessingEvent extends Event { } /** @deprecated */ @@ -968,7 +983,7 @@ prototype: AudioProcessingEvent; new ( type: string, -@@ -3568,7 +3554,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3606,7 +3592,7 @@ interface AudioScheduledSourceNode extends AudioNode { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/ended_event) */ @@ -977,7 +992,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/start) -@@ -3584,7 +3570,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3622,7 +3608,7 @@ interface AudioScheduledSourceNode extends AudioNode { listener: ( this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -986,7 +1001,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3597,7 +3583,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3635,7 +3621,7 @@ interface AudioScheduledSourceNode extends AudioNode { listener: ( this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -995,7 +1010,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3607,7 +3593,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3645,7 +3631,7 @@ interface AudioScheduledSourceNode extends AudioNode { ): void; } @@ -1004,7 +1019,7 @@ prototype: AudioScheduledSourceNode; new (): AudioScheduledSourceNode; }; -@@ -3619,7 +3605,7 @@ declare var AudioScheduledSourceNode: { +@@ -3657,7 +3643,7 @@ declare var AudioScheduledSourceNode: { */ interface AudioWorklet extends Worklet {} @@ -1013,7 +1028,7 @@ prototype: AudioWorklet; new (): AudioWorklet; }; -@@ -3638,7 +3624,7 @@ interface AudioWorkletNode extends AudioNode { +@@ -3676,7 +3662,7 @@ interface AudioWorkletNode extends AudioNode { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */ @@ -1022,7 +1037,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters) -@@ -3651,7 +3637,10 @@ interface AudioWorkletNode extends AudioNode { +@@ -3689,7 +3675,10 @@ interface AudioWorkletNode extends AudioNode { readonly port: MessagePort; addEventListener( type: K, @@ -1034,7 +1049,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3661,7 +3650,10 @@ interface AudioWorkletNode extends AudioNode { +@@ -3699,7 +3688,10 @@ interface AudioWorkletNode extends AudioNode { ): void; removeEventListener( type: K, @@ -1046,7 +1061,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3671,7 +3663,7 @@ interface AudioWorkletNode extends AudioNode { +@@ -3709,7 +3701,7 @@ interface AudioWorkletNode extends AudioNode { ): void; } @@ -1055,7 +1070,7 @@ prototype: AudioWorkletNode; new ( context: BaseAudioContext, -@@ -3704,7 +3696,7 @@ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { +@@ -3742,7 +3734,7 @@ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly userHandle: ArrayBuffer | null; } @@ -1064,7 +1079,7 @@ prototype: AuthenticatorAssertionResponse; new (): AuthenticatorAssertionResponse; }; -@@ -3740,10 +3732,10 @@ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { +@@ -3778,10 +3770,10 @@ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getTransports) */ @@ -1077,7 +1092,7 @@ prototype: AuthenticatorAttestationResponse; new (): AuthenticatorAttestationResponse; }; -@@ -3762,7 +3754,7 @@ interface AuthenticatorResponse { +@@ -3800,7 +3792,7 @@ interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } @@ -1086,7 +1101,7 @@ prototype: AuthenticatorResponse; new (): AuthenticatorResponse; }; -@@ -3773,7 +3765,7 @@ interface BarProp { +@@ -3811,7 +3803,7 @@ interface BarProp { readonly visible: boolean; } @@ -1095,7 +1110,7 @@ prototype: BarProp; new (): BarProp; }; -@@ -3810,7 +3802,7 @@ interface BaseAudioContext extends EventTarget { +@@ -3848,7 +3840,7 @@ interface BaseAudioContext extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/statechange_event) */ @@ -1104,7 +1119,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate) -@@ -3884,7 +3876,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3922,7 +3914,10 @@ interface BaseAudioContext extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */ @@ -1116,7 +1131,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createOscillator) -@@ -3900,8 +3895,8 @@ interface BaseAudioContext extends EventTarget { +@@ -3938,8 +3933,8 @@ interface BaseAudioContext extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */ createPeriodicWave( @@ -1127,7 +1142,7 @@ constraints?: PeriodicWaveConstraints, ): PeriodicWave; /** -@@ -3936,7 +3931,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3974,7 +3969,10 @@ interface BaseAudioContext extends EventTarget { ): Promise; addEventListener( type: K, @@ -1139,7 +1154,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3946,7 +3944,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3984,7 +3982,10 @@ interface BaseAudioContext extends EventTarget { ): void; removeEventListener( type: K, @@ -1151,7 +1166,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3956,7 +3957,7 @@ interface BaseAudioContext extends EventTarget { +@@ -3994,7 +3995,7 @@ interface BaseAudioContext extends EventTarget { ): void; } @@ -1160,13 +1175,18 @@ prototype: BaseAudioContext; new (): BaseAudioContext; }; -@@ -3967,12 +3968,12 @@ declare var BaseAudioContext: { +@@ -4005,17 +4006,17 @@ declare var BaseAudioContext: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ -interface BeforeUnloadEvent extends Event { +interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ - returnValue: any; + returnValue: unknown; } @@ -1176,7 +1196,7 @@ prototype: BeforeUnloadEvent; new (): BeforeUnloadEvent; }; -@@ -4022,7 +4023,7 @@ interface BiquadFilterNode extends AudioNode { +@@ -4065,7 +4066,7 @@ interface BiquadFilterNode extends AudioNode { ): void; } @@ -1185,7 +1205,7 @@ prototype: BiquadFilterNode; new ( context: BaseAudioContext, -@@ -4056,9 +4057,9 @@ interface Blob { +@@ -4099,9 +4100,9 @@ interface Blob { text(): Promise; } @@ -1197,7 +1217,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent) */ -@@ -4072,7 +4073,7 @@ interface BlobEvent extends Event { +@@ -4115,7 +4116,7 @@ interface BlobEvent extends Event { readonly timecode: DOMHighResTimeStamp; } @@ -1206,7 +1226,7 @@ prototype: BlobEvent; new (type: string, eventInitDict: BlobEventInit): BlobEvent; }; -@@ -4098,7 +4099,7 @@ interface Body { +@@ -4141,7 +4142,7 @@ interface Body { */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -1215,7 +1235,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */ text(): Promise; } -@@ -4121,12 +4122,14 @@ interface BroadcastChannel extends EventTarget { +@@ -4164,12 +4165,14 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */ @@ -1232,7 +1252,7 @@ /** * Closes the BroadcastChannel object, opening it up to garbage collection. * -@@ -4142,10 +4145,13 @@ interface BroadcastChannel extends EventTarget { +@@ -4185,10 +4188,13 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage) */ @@ -1248,7 +1268,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4155,7 +4161,10 @@ interface BroadcastChannel extends EventTarget { +@@ -4198,7 +4204,10 @@ interface BroadcastChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -1260,7 +1280,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4165,7 +4174,7 @@ interface BroadcastChannel extends EventTarget { +@@ -4208,7 +4217,7 @@ interface BroadcastChannel extends EventTarget { ): void; } @@ -1269,7 +1289,7 @@ prototype: BroadcastChannel; new (name: string): BroadcastChannel; }; -@@ -4190,7 +4199,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { +@@ -4233,7 +4242,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -1278,7 +1298,7 @@ prototype: ByteLengthQueuingStrategy; new (init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; -@@ -4204,7 +4213,7 @@ declare var ByteLengthQueuingStrategy: { +@@ -4247,7 +4256,7 @@ declare var ByteLengthQueuingStrategy: { */ interface CDATASection extends Text {} @@ -1287,7 +1307,7 @@ prototype: CDATASection; new (): CDATASection; }; -@@ -4218,7 +4227,7 @@ interface CSSAnimation extends Animation { +@@ -4261,7 +4270,7 @@ interface CSSAnimation extends Animation { readonly animationName: string; addEventListener( type: K, @@ -1296,7 +1316,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4228,7 +4237,7 @@ interface CSSAnimation extends Animation { +@@ -4271,7 +4280,7 @@ interface CSSAnimation extends Animation { ): void; removeEventListener( type: K, @@ -1305,7 +1325,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4238,7 +4247,7 @@ interface CSSAnimation extends Animation { +@@ -4281,7 +4290,7 @@ interface CSSAnimation extends Animation { ): void; } @@ -1314,7 +1334,7 @@ prototype: CSSAnimation; new (): CSSAnimation; }; -@@ -4257,7 +4266,7 @@ interface CSSConditionRule extends CSSGroupingRule { +@@ -4300,7 +4309,7 @@ interface CSSConditionRule extends CSSGroupingRule { readonly conditionText: string; } @@ -1323,7 +1343,7 @@ prototype: CSSConditionRule; new (): CSSConditionRule; }; -@@ -4276,7 +4285,7 @@ interface CSSContainerRule extends CSSConditionRule { +@@ -4319,7 +4328,7 @@ interface CSSContainerRule extends CSSConditionRule { readonly containerQuery: string; } @@ -1332,7 +1352,7 @@ prototype: CSSContainerRule; new (): CSSContainerRule; }; -@@ -4343,7 +4352,7 @@ interface CSSCounterStyleRule extends CSSRule { +@@ -4386,7 +4395,7 @@ interface CSSCounterStyleRule extends CSSRule { system: string; } @@ -1341,7 +1361,7 @@ prototype: CSSCounterStyleRule; new (): CSSCounterStyleRule; }; -@@ -4357,7 +4366,7 @@ interface CSSFontFaceRule extends CSSRule { +@@ -4400,7 +4409,7 @@ interface CSSFontFaceRule extends CSSRule { readonly style: CSSStyleDeclaration; } @@ -1350,7 +1370,7 @@ prototype: CSSFontFaceRule; new (): CSSFontFaceRule; }; -@@ -4374,7 +4383,7 @@ interface CSSFontFeatureValuesRule extends CSSRule { +@@ -4417,7 +4426,7 @@ interface CSSFontFeatureValuesRule extends CSSRule { fontFamily: string; } @@ -1359,7 +1379,7 @@ prototype: CSSFontFeatureValuesRule; new (): CSSFontFeatureValuesRule; }; -@@ -4406,7 +4415,7 @@ interface CSSFontPaletteValuesRule extends CSSRule { +@@ -4449,7 +4458,7 @@ interface CSSFontPaletteValuesRule extends CSSRule { readonly overrideColors: string; } @@ -1368,7 +1388,7 @@ prototype: CSSFontPaletteValuesRule; new (): CSSFontPaletteValuesRule; }; -@@ -4434,7 +4443,7 @@ interface CSSGroupingRule extends CSSRule { +@@ -4477,7 +4486,7 @@ interface CSSGroupingRule extends CSSRule { insertRule(rule: string, index?: number): number; } @@ -1377,7 +1397,7 @@ prototype: CSSGroupingRule; new (): CSSGroupingRule; }; -@@ -4442,7 +4451,7 @@ declare var CSSGroupingRule: { +@@ -4485,7 +4494,7 @@ declare var CSSGroupingRule: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue) */ interface CSSImageValue extends CSSStyleValue {} @@ -1386,7 +1406,7 @@ prototype: CSSImageValue; new (): CSSImageValue; }; -@@ -4476,7 +4485,7 @@ interface CSSImportRule extends CSSRule { +@@ -4519,7 +4528,7 @@ interface CSSImportRule extends CSSRule { readonly supportsText: string | null; } @@ -1395,7 +1415,7 @@ prototype: CSSImportRule; new (): CSSImportRule; }; -@@ -4501,7 +4510,7 @@ interface CSSKeyframeRule extends CSSRule { +@@ -4544,7 +4553,7 @@ interface CSSKeyframeRule extends CSSRule { readonly style: CSSStyleDeclaration; } @@ -1404,7 +1424,7 @@ prototype: CSSKeyframeRule; new (): CSSKeyframeRule; }; -@@ -4543,7 +4552,7 @@ interface CSSKeyframesRule extends CSSRule { +@@ -4586,7 +4595,7 @@ interface CSSKeyframesRule extends CSSRule { [index: number]: CSSKeyframeRule; } @@ -1413,7 +1433,7 @@ prototype: CSSKeyframesRule; new (): CSSKeyframesRule; }; -@@ -4557,7 +4566,7 @@ interface CSSKeywordValue extends CSSStyleValue { +@@ -4600,7 +4609,7 @@ interface CSSKeywordValue extends CSSStyleValue { value: string; } @@ -1422,7 +1442,7 @@ prototype: CSSKeywordValue; new (value: string): CSSKeywordValue; }; -@@ -4571,7 +4580,7 @@ interface CSSLayerBlockRule extends CSSGroupingRule { +@@ -4614,7 +4623,7 @@ interface CSSLayerBlockRule extends CSSGroupingRule { readonly name: string; } @@ -1431,7 +1451,7 @@ prototype: CSSLayerBlockRule; new (): CSSLayerBlockRule; }; -@@ -4588,7 +4597,7 @@ interface CSSLayerStatementRule extends CSSRule { +@@ -4631,7 +4640,7 @@ interface CSSLayerStatementRule extends CSSRule { readonly nameList: ReadonlyArray; } @@ -1440,7 +1460,7 @@ prototype: CSSLayerStatementRule; new (): CSSLayerStatementRule; }; -@@ -4599,7 +4608,7 @@ interface CSSMathClamp extends CSSMathValue { +@@ -4642,7 +4651,7 @@ interface CSSMathClamp extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1449,7 +1469,7 @@ prototype: CSSMathClamp; new ( lower: CSSNumberish, -@@ -4617,7 +4626,7 @@ interface CSSMathInvert extends CSSMathValue { +@@ -4660,7 +4669,7 @@ interface CSSMathInvert extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1458,7 +1478,7 @@ prototype: CSSMathInvert; new (arg: CSSNumberish): CSSMathInvert; }; -@@ -4631,9 +4640,9 @@ interface CSSMathMax extends CSSMathValue { +@@ -4674,9 +4683,9 @@ interface CSSMathMax extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1470,7 +1490,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin) */ -@@ -4645,9 +4654,9 @@ interface CSSMathMin extends CSSMathValue { +@@ -4688,9 +4697,9 @@ interface CSSMathMin extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1482,7 +1502,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate) */ -@@ -4659,7 +4668,7 @@ interface CSSMathNegate extends CSSMathValue { +@@ -4702,7 +4711,7 @@ interface CSSMathNegate extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1491,7 +1511,7 @@ prototype: CSSMathNegate; new (arg: CSSNumberish): CSSMathNegate; }; -@@ -4673,9 +4682,9 @@ interface CSSMathProduct extends CSSMathValue { +@@ -4716,9 +4725,9 @@ interface CSSMathProduct extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1503,7 +1523,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum) */ -@@ -4687,9 +4696,9 @@ interface CSSMathSum extends CSSMathValue { +@@ -4730,9 +4739,9 @@ interface CSSMathSum extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1515,7 +1535,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue) */ -@@ -4701,7 +4710,7 @@ interface CSSMathValue extends CSSNumericValue { +@@ -4744,7 +4753,7 @@ interface CSSMathValue extends CSSNumericValue { readonly operator: CSSMathOperator; } @@ -1524,7 +1544,7 @@ prototype: CSSMathValue; new (): CSSMathValue; }; -@@ -4718,7 +4727,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { +@@ -4761,7 +4770,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { matrix: DOMMatrix; } @@ -1533,7 +1553,7 @@ prototype: CSSMatrixComponent; new ( matrix: DOMMatrixReadOnly, -@@ -4741,7 +4750,7 @@ interface CSSMediaRule extends CSSConditionRule { +@@ -4784,7 +4793,7 @@ interface CSSMediaRule extends CSSConditionRule { readonly media: MediaList; } @@ -1542,7 +1562,7 @@ prototype: CSSMediaRule; new (): CSSMediaRule; }; -@@ -4765,7 +4774,7 @@ interface CSSNamespaceRule extends CSSRule { +@@ -4808,7 +4817,7 @@ interface CSSNamespaceRule extends CSSRule { readonly prefix: string; } @@ -1551,7 +1571,7 @@ prototype: CSSNamespaceRule; new (): CSSNamespaceRule; }; -@@ -4783,12 +4792,12 @@ interface CSSNumericArray { +@@ -4826,12 +4835,12 @@ interface CSSNumericArray { key: number, parent: CSSNumericArray, ) => void, @@ -1566,7 +1586,7 @@ prototype: CSSNumericArray; new (): CSSNumericArray; }; -@@ -4799,37 +4808,37 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4842,37 +4851,37 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */ @@ -1611,7 +1631,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to) -@@ -4839,7 +4848,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4882,7 +4891,7 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum) */ @@ -1620,7 +1640,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type) -@@ -4847,7 +4856,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4890,7 +4899,7 @@ interface CSSNumericValue extends CSSStyleValue { type(): CSSNumericType; } @@ -1629,7 +1649,7 @@ prototype: CSSNumericValue; new (): CSSNumericValue; /** -@@ -4876,7 +4885,7 @@ interface CSSPageRule extends CSSGroupingRule { +@@ -4919,7 +4928,7 @@ interface CSSPageRule extends CSSGroupingRule { readonly style: CSSStyleDeclaration; } @@ -1638,7 +1658,7 @@ prototype: CSSPageRule; new (): CSSPageRule; }; -@@ -4890,7 +4899,7 @@ interface CSSPerspective extends CSSTransformComponent { +@@ -4933,7 +4942,7 @@ interface CSSPerspective extends CSSTransformComponent { length: CSSPerspectiveValue; } @@ -1647,7 +1667,7 @@ prototype: CSSPerspective; new (length: CSSPerspectiveValue): CSSPerspective; }; -@@ -4919,7 +4928,7 @@ interface CSSPropertyRule extends CSSRule { +@@ -4962,7 +4971,7 @@ interface CSSPropertyRule extends CSSRule { readonly syntax: string; } @@ -1656,7 +1676,7 @@ prototype: CSSPropertyRule; new (): CSSPropertyRule; }; -@@ -4936,7 +4945,7 @@ interface CSSRotate extends CSSTransformComponent { +@@ -4979,7 +4988,7 @@ interface CSSRotate extends CSSTransformComponent { z: CSSNumberish; } @@ -1665,7 +1685,7 @@ prototype: CSSRotate; new (angle: CSSNumericValue): CSSRotate; new ( -@@ -4986,7 +4995,7 @@ interface CSSRule { +@@ -5029,7 +5038,7 @@ interface CSSRule { readonly FONT_FEATURE_VALUES_RULE: 14; } @@ -1674,7 +1694,7 @@ prototype: CSSRule; new (): CSSRule; readonly STYLE_RULE: 1; -@@ -5023,7 +5032,7 @@ interface CSSRuleList { +@@ -5066,7 +5075,7 @@ interface CSSRuleList { [index: number]: CSSRule; } @@ -1683,7 +1703,7 @@ prototype: CSSRuleList; new (): CSSRuleList; }; -@@ -5038,7 +5047,7 @@ interface CSSScale extends CSSTransformComponent { +@@ -5081,7 +5090,7 @@ interface CSSScale extends CSSTransformComponent { z: CSSNumberish; } @@ -1692,7 +1712,16 @@ prototype: CSSScale; new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; -@@ -5051,7 +5060,7 @@ interface CSSSkew extends CSSTransformComponent { +@@ -5100,7 +5109,7 @@ interface CSSScopeRule extends CSSGroupingRule { + readonly start: string | null; + } + +-declare var CSSScopeRule: { ++declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; + }; +@@ -5113,7 +5122,7 @@ interface CSSSkew extends CSSTransformComponent { ay: CSSNumericValue; } @@ -1701,7 +1730,7 @@ prototype: CSSSkew; new (ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew; }; -@@ -5062,7 +5071,7 @@ interface CSSSkewX extends CSSTransformComponent { +@@ -5124,7 +5133,7 @@ interface CSSSkewX extends CSSTransformComponent { ax: CSSNumericValue; } @@ -1710,7 +1739,7 @@ prototype: CSSSkewX; new (ax: CSSNumericValue): CSSSkewX; }; -@@ -5073,7 +5082,7 @@ interface CSSSkewY extends CSSTransformComponent { +@@ -5135,7 +5144,7 @@ interface CSSSkewY extends CSSTransformComponent { ay: CSSNumericValue; } @@ -1719,7 +1748,16 @@ prototype: CSSSkewY; new (ay: CSSNumericValue): CSSSkewY; }; -@@ -6861,7 +6870,7 @@ interface CSSStyleDeclaration { +@@ -5146,7 +5155,7 @@ declare var CSSSkewY: { + */ + interface CSSStartingStyleRule extends CSSGroupingRule {} + +-declare var CSSStartingStyleRule: { ++declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; + }; +@@ -6957,7 +6966,7 @@ interface CSSStyleDeclaration { [index: number]: string; } @@ -1728,7 +1766,7 @@ prototype: CSSStyleDeclaration; new (): CSSStyleDeclaration; }; -@@ -6890,7 +6899,7 @@ interface CSSStyleRule extends CSSGroupingRule { +@@ -6986,7 +6995,7 @@ interface CSSStyleRule extends CSSGroupingRule { readonly styleMap: StylePropertyMap; } @@ -1737,7 +1775,7 @@ prototype: CSSStyleRule; new (): CSSStyleRule; }; -@@ -6955,7 +6964,7 @@ interface CSSStyleSheet extends StyleSheet { +@@ -7051,7 +7060,7 @@ interface CSSStyleSheet extends StyleSheet { replaceSync(text: string): void; } @@ -1746,7 +1784,7 @@ prototype: CSSStyleSheet; new (options?: CSSStyleSheetInit): CSSStyleSheet; }; -@@ -6965,7 +6974,7 @@ interface CSSStyleValue { +@@ -7061,7 +7070,7 @@ interface CSSStyleValue { toString(): string; } @@ -1755,7 +1793,7 @@ prototype: CSSStyleValue; new (): CSSStyleValue; /** -@@ -6977,7 +6986,7 @@ declare var CSSStyleValue: { +@@ -7073,7 +7082,7 @@ declare var CSSStyleValue: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parseAll_static) */ @@ -1764,7 +1802,7 @@ }; /** -@@ -6989,7 +6998,7 @@ declare var CSSStyleValue: { +@@ -7085,7 +7094,7 @@ declare var CSSStyleValue: { */ interface CSSSupportsRule extends CSSConditionRule {} @@ -1773,7 +1811,7 @@ prototype: CSSSupportsRule; new (): CSSSupportsRule; }; -@@ -7012,7 +7021,7 @@ interface CSSTransformComponent { +@@ -7108,7 +7117,7 @@ interface CSSTransformComponent { toString(): string; } @@ -1782,7 +1820,7 @@ prototype: CSSTransformComponent; new (): CSSTransformComponent; }; -@@ -7040,14 +7049,14 @@ interface CSSTransformValue extends CSSStyleValue { +@@ -7136,14 +7145,14 @@ interface CSSTransformValue extends CSSStyleValue { key: number, parent: CSSTransformValue, ) => void, @@ -1800,7 +1838,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition) */ -@@ -7059,7 +7068,7 @@ interface CSSTransition extends Animation { +@@ -7155,7 +7164,7 @@ interface CSSTransition extends Animation { readonly transitionProperty: string; addEventListener( type: K, @@ -1809,7 +1847,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7069,7 +7078,7 @@ interface CSSTransition extends Animation { +@@ -7165,7 +7174,7 @@ interface CSSTransition extends Animation { ): void; removeEventListener( type: K, @@ -1818,7 +1856,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7079,7 +7088,7 @@ interface CSSTransition extends Animation { +@@ -7175,7 +7184,7 @@ interface CSSTransition extends Animation { ): void; } @@ -1827,7 +1865,7 @@ prototype: CSSTransition; new (): CSSTransition; }; -@@ -7094,7 +7103,7 @@ interface CSSTranslate extends CSSTransformComponent { +@@ -7190,7 +7199,7 @@ interface CSSTranslate extends CSSTransformComponent { z: CSSNumericValue; } @@ -1836,7 +1874,7 @@ prototype: CSSTranslate; new ( x: CSSNumericValue, -@@ -7117,7 +7126,7 @@ interface CSSUnitValue extends CSSNumericValue { +@@ -7213,7 +7222,7 @@ interface CSSUnitValue extends CSSNumericValue { value: number; } @@ -1845,7 +1883,7 @@ prototype: CSSUnitValue; new (value: number, unit: string): CSSUnitValue; }; -@@ -7135,14 +7144,14 @@ interface CSSUnparsedValue extends CSSStyleValue { +@@ -7231,14 +7240,14 @@ interface CSSUnparsedValue extends CSSStyleValue { key: number, parent: CSSUnparsedValue, ) => void, @@ -1863,7 +1901,7 @@ }; /** -@@ -7162,7 +7171,7 @@ interface CSSVariableReferenceValue { +@@ -7258,7 +7267,7 @@ interface CSSVariableReferenceValue { variable: string; } @@ -1872,7 +1910,7 @@ prototype: CSSVariableReferenceValue; new ( variable: string, -@@ -7183,7 +7192,7 @@ interface Cache { +@@ -7279,7 +7288,7 @@ interface Cache { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add) */ add(request: RequestInfo | URL): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ @@ -1881,7 +1919,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete) */ delete( request: RequestInfo | URL, -@@ -7208,7 +7217,7 @@ interface Cache { +@@ -7304,7 +7313,7 @@ interface Cache { put(request: RequestInfo | URL, response: Response): Promise; } @@ -1890,7 +1928,7 @@ prototype: Cache; new (): Cache; }; -@@ -7233,7 +7242,7 @@ interface CacheStorage { +@@ -7329,7 +7338,7 @@ interface CacheStorage { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/keys) */ @@ -1899,7 +1937,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/match) -@@ -7249,7 +7258,7 @@ interface CacheStorage { +@@ -7345,7 +7354,7 @@ interface CacheStorage { open(cacheName: string): Promise; } @@ -1908,7 +1946,7 @@ prototype: CacheStorage; new (): CacheStorage; }; -@@ -7274,7 +7283,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7370,7 +7379,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { listener: ( this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K], @@ -1917,7 +1955,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7287,7 +7296,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7383,7 +7392,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { listener: ( this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K], @@ -1926,7 +1964,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7297,7 +7306,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7393,7 +7402,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { ): void; } @@ -1935,7 +1973,7 @@ prototype: CanvasCaptureMediaStreamTrack; new (): CanvasCaptureMediaStreamTrack; }; -@@ -7462,7 +7471,7 @@ interface CanvasGradient { +@@ -7558,7 +7567,7 @@ interface CanvasGradient { addColorStop(offset: number, color: string): void; } @@ -1944,7 +1982,7 @@ prototype: CanvasGradient; new (): CanvasGradient; }; -@@ -7630,12 +7639,12 @@ interface CanvasPathDrawingStyles { +@@ -7726,12 +7735,12 @@ interface CanvasPathDrawingStyles { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getLineDash) */ @@ -1959,7 +1997,7 @@ } /** -@@ -7655,7 +7664,7 @@ interface CanvasPattern { +@@ -7751,7 +7760,7 @@ interface CanvasPattern { setTransform(transform?: DOMMatrix2DInit): void; } @@ -1968,7 +2006,7 @@ prototype: CanvasPattern; new (): CanvasPattern; }; -@@ -7715,7 +7724,7 @@ interface CanvasRenderingContext2D +@@ -7811,7 +7820,7 @@ interface CanvasRenderingContext2D getContextAttributes(): CanvasRenderingContext2DSettings; } @@ -1977,7 +2015,7 @@ prototype: CanvasRenderingContext2D; new (): CanvasRenderingContext2D; }; -@@ -7905,7 +7914,7 @@ interface CanvasUserInterface { +@@ -8006,7 +8015,7 @@ interface CanvasUserInterface { */ interface ChannelMergerNode extends AudioNode {} @@ -1986,7 +2024,7 @@ prototype: ChannelMergerNode; new ( context: BaseAudioContext, -@@ -7925,7 +7934,7 @@ declare var ChannelMergerNode: { +@@ -8026,7 +8035,7 @@ declare var ChannelMergerNode: { */ interface ChannelSplitterNode extends AudioNode {} @@ -1995,7 +2033,7 @@ prototype: ChannelSplitterNode; new ( context: BaseAudioContext, -@@ -7980,7 +7989,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { +@@ -8081,7 +8090,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { substringData(offset: number, count: number): string; } @@ -2004,7 +2042,7 @@ prototype: CharacterData; new (): CharacterData; }; -@@ -8053,7 +8062,7 @@ interface Clipboard extends EventTarget { +@@ -8154,7 +8163,7 @@ interface Clipboard extends EventTarget { writeText(data: string): Promise; } @@ -2013,7 +2051,7 @@ prototype: Clipboard; new (): Clipboard; }; -@@ -8072,7 +8081,7 @@ interface ClipboardEvent extends Event { +@@ -8173,7 +8182,7 @@ interface ClipboardEvent extends Event { readonly clipboardData: DataTransfer | null; } @@ -2022,7 +2060,7 @@ prototype: ClipboardEvent; new (type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; }; -@@ -8095,7 +8104,7 @@ interface ClipboardItem { +@@ -8201,7 +8210,7 @@ interface ClipboardItem { getType(type: string): Promise; } @@ -2031,7 +2069,7 @@ prototype: ClipboardItem; new ( items: Record>, -@@ -8133,7 +8142,7 @@ interface CloseEvent extends Event { +@@ -8244,7 +8253,7 @@ interface CloseEvent extends Event { readonly wasClean: boolean; } @@ -2040,7 +2078,7 @@ prototype: CloseEvent; new (type: string, eventInitDict?: CloseEventInit): CloseEvent; }; -@@ -8146,7 +8155,7 @@ declare var CloseEvent: { +@@ -8257,7 +8266,7 @@ declare var CloseEvent: { */ interface Comment extends CharacterData {} @@ -2049,7 +2087,7 @@ prototype: Comment; new (data?: string): Comment; }; -@@ -8178,7 +8187,7 @@ interface CompositionEvent extends UIEvent { +@@ -8289,7 +8298,7 @@ interface CompositionEvent extends UIEvent { ): void; } @@ -2058,7 +2096,7 @@ prototype: CompositionEvent; new (type: string, eventInitDict?: CompositionEventInit): CompositionEvent; }; -@@ -8186,7 +8195,7 @@ declare var CompositionEvent: { +@@ -8297,7 +8306,7 @@ declare var CompositionEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream {} @@ -2067,7 +2105,7 @@ prototype: CompressionStream; new (format: CompressionFormat): CompressionStream; }; -@@ -8206,7 +8215,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8317,7 +8326,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { listener: ( this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -2076,7 +2114,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8219,7 +8228,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8330,7 +8339,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { listener: ( this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -2085,7 +2123,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8229,7 +8238,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8340,7 +8349,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { ): void; } @@ -2094,7 +2132,16 @@ prototype: ConstantSourceNode; new ( context: BaseAudioContext, -@@ -8257,7 +8266,7 @@ interface ConvolverNode extends AudioNode { +@@ -8360,7 +8369,7 @@ interface ContentVisibilityAutoStateChangeEvent extends Event { + readonly skipped: boolean; + } + +-declare var ContentVisibilityAutoStateChangeEvent: { ++declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, +@@ -8388,7 +8397,7 @@ interface ConvolverNode extends AudioNode { normalize: boolean; } @@ -2103,7 +2150,7 @@ prototype: ConvolverNode; new (context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; }; -@@ -8282,7 +8291,7 @@ interface CountQueuingStrategy extends QueuingStrategy { +@@ -8413,7 +8422,7 @@ interface CountQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -2112,7 +2159,7 @@ prototype: CountQueuingStrategy; new (init: QueuingStrategyInit): CountQueuingStrategy; }; -@@ -8299,7 +8308,7 @@ interface Credential { +@@ -8430,7 +8439,7 @@ interface Credential { readonly type: string; } @@ -2121,7 +2168,7 @@ prototype: Credential; new (): Credential; }; -@@ -8333,7 +8342,7 @@ interface CredentialsContainer { +@@ -8464,7 +8473,7 @@ interface CredentialsContainer { store(credential: Credential): Promise; } @@ -2130,7 +2177,7 @@ prototype: CredentialsContainer; new (): CredentialsContainer; }; -@@ -8366,7 +8375,7 @@ interface Crypto { +@@ -8497,7 +8506,7 @@ interface Crypto { randomUUID(): `${string}-${string}-${string}-${string}-${string}`; } @@ -2139,7 +2186,7 @@ prototype: Crypto; new (): Crypto; }; -@@ -8394,10 +8403,10 @@ interface CryptoKey { +@@ -8525,10 +8534,10 @@ interface CryptoKey { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */ @@ -2152,7 +2199,7 @@ prototype: CryptoKey; new (): CryptoKey; }; -@@ -8438,13 +8447,13 @@ interface CustomElementRegistry { +@@ -8569,13 +8578,13 @@ interface CustomElementRegistry { whenDefined(name: string): Promise; } @@ -2168,7 +2215,7 @@ /** * Returns any custom data event was created with. Typically used for * synthetic events. -@@ -8467,7 +8476,7 @@ interface CustomEvent extends Event { +@@ -8598,7 +8607,7 @@ interface CustomEvent extends Event { ): void; } @@ -2177,7 +2224,21 @@ prototype: CustomEvent; new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; -@@ -8523,7 +8532,7 @@ interface DOMException extends Error { +@@ -8607,11 +8616,11 @@ declare var CustomEvent: { + interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, +- thisArg?: any, ++ thisArg?: unknown, + ): void; + } + +-declare var CustomStateSet: { ++declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; + }; +@@ -8667,7 +8676,7 @@ interface DOMException extends Error { readonly DATA_CLONE_ERR: 25; } @@ -2186,7 +2247,7 @@ prototype: DOMException; new (message?: string, name?: string): DOMException; readonly INDEX_SIZE_ERR: 1; -@@ -8590,10 +8599,10 @@ interface DOMImplementation { +@@ -8734,10 +8743,10 @@ interface DOMImplementation { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/hasFeature) */ @@ -2199,7 +2260,7 @@ prototype: DOMImplementation; new (): DOMImplementation; }; -@@ -8661,19 +8670,19 @@ interface DOMMatrix extends DOMMatrixReadOnly { +@@ -8797,19 +8806,19 @@ interface DOMMatrix extends DOMMatrixReadOnly { translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -2223,16 +2284,16 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { -@@ -8886,7 +8895,7 @@ interface DOMMatrixReadOnly { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ +@@ -8877,7 +8886,7 @@ interface DOMMatrixReadOnly { + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; - toJSON(): any; + toJSON(): unknown; + transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) -@@ -8900,9 +8909,9 @@ interface DOMMatrixReadOnly { +@@ -8887,9 +8896,9 @@ interface DOMMatrixReadOnly { toString(): string; } @@ -2244,7 +2305,7 @@ fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; -@@ -8937,7 +8946,7 @@ interface DOMParser { +@@ -8924,7 +8933,7 @@ interface DOMParser { parseFromString(string: string, type: DOMParserSupportedType): Document; } @@ -2253,7 +2314,7 @@ prototype: DOMParser; new (): DOMParser; }; -@@ -8954,7 +8963,7 @@ interface DOMPoint extends DOMPointReadOnly { +@@ -8941,7 +8950,7 @@ interface DOMPoint extends DOMPointReadOnly { z: number; } @@ -2262,7 +2323,7 @@ prototype: DOMPoint; new (x?: number, y?: number, z?: number, w?: number): DOMPoint; /** -@@ -8965,7 +8974,7 @@ declare var DOMPoint: { +@@ -8952,7 +8961,7 @@ declare var DOMPoint: { }; type SVGPoint = DOMPoint; @@ -2271,7 +2332,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly) */ interface DOMPointReadOnly { -@@ -8998,10 +9007,10 @@ interface DOMPointReadOnly { +@@ -8981,10 +8990,10 @@ interface DOMPointReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ @@ -2284,9 +2345,9 @@ prototype: DOMPointReadOnly; new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; /** -@@ -9026,10 +9035,10 @@ interface DOMQuad { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ +@@ -9001,10 +9010,10 @@ interface DOMQuad { + readonly p3: DOMPoint; + readonly p4: DOMPoint; getBounds(): DOMRect; - toJSON(): any; + toJSON(): unknown; @@ -2297,7 +2358,7 @@ prototype: DOMQuad; new ( p1?: DOMPointInit, -@@ -9049,14 +9058,14 @@ interface DOMRect extends DOMRectReadOnly { +@@ -9024,7 +9033,7 @@ interface DOMRect extends DOMRectReadOnly { y: number; } @@ -2305,7 +2366,8 @@ +declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; + /** +@@ -9035,7 +9044,7 @@ declare var DOMRect: { }; type SVGRect = DOMRect; @@ -2314,7 +2376,7 @@ interface DOMRectList { readonly length: number; -@@ -9064,7 +9073,7 @@ interface DOMRectList { +@@ -9043,7 +9052,7 @@ interface DOMRectList { [index: number]: DOMRect; } @@ -2323,7 +2385,7 @@ prototype: DOMRectList; new (): DOMRectList; }; -@@ -9111,10 +9120,10 @@ interface DOMRectReadOnly { +@@ -9090,10 +9099,10 @@ interface DOMRectReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */ readonly y: number; @@ -2336,7 +2398,7 @@ prototype: DOMRectReadOnly; new ( x?: number, -@@ -9159,7 +9168,7 @@ interface DOMStringList { +@@ -9138,7 +9147,7 @@ interface DOMStringList { [index: number]: string; } @@ -2345,7 +2407,7 @@ prototype: DOMStringList; new (): DOMStringList; }; -@@ -9174,7 +9183,7 @@ interface DOMStringMap { +@@ -9153,7 +9162,7 @@ interface DOMStringMap { [name: string]: string | undefined; } @@ -2354,7 +2416,7 @@ prototype: DOMStringMap; new (): DOMStringMap; }; -@@ -9218,7 +9227,7 @@ interface DOMTokenList { +@@ -9197,7 +9206,7 @@ interface DOMTokenList { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/add) */ @@ -2363,7 +2425,7 @@ /** * Returns true if token is present, and false otherwise. * -@@ -9245,7 +9254,7 @@ interface DOMTokenList { +@@ -9224,7 +9233,7 @@ interface DOMTokenList { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/remove) */ @@ -2372,7 +2434,7 @@ /** * Replaces token with newToken. * -@@ -9290,12 +9299,12 @@ interface DOMTokenList { +@@ -9269,12 +9278,12 @@ interface DOMTokenList { toggle(token: string, force?: boolean): boolean; forEach( callbackfn: (value: string, key: number, parent: DOMTokenList) => void, @@ -2387,7 +2449,7 @@ prototype: DOMTokenList; new (): DOMTokenList; }; -@@ -9398,7 +9407,7 @@ interface DataTransfer { +@@ -9377,7 +9386,7 @@ interface DataTransfer { setDragImage(image: Element, x: number, y: number): void; } @@ -2396,7 +2458,7 @@ prototype: DataTransfer; new (): DataTransfer; }; -@@ -9447,7 +9456,7 @@ interface DataTransferItem { +@@ -9426,7 +9435,7 @@ interface DataTransferItem { webkitGetAsEntry(): FileSystemEntry | null; } @@ -2405,7 +2467,7 @@ prototype: DataTransferItem; new (): DataTransferItem; }; -@@ -9494,7 +9503,7 @@ interface DataTransferItemList { +@@ -9473,7 +9482,7 @@ interface DataTransferItemList { [index: number]: DataTransferItem; } @@ -2414,7 +2476,7 @@ prototype: DataTransferItemList; new (): DataTransferItemList; }; -@@ -9505,7 +9514,7 @@ declare var DataTransferItemList: { +@@ -9484,7 +9493,7 @@ declare var DataTransferItemList: { */ interface DecompressionStream extends GenericTransformStream {} @@ -2423,7 +2485,7 @@ prototype: DecompressionStream; new (format: CompressionFormat): DecompressionStream; }; -@@ -9524,7 +9533,7 @@ interface DelayNode extends AudioNode { +@@ -9503,7 +9512,7 @@ interface DelayNode extends AudioNode { readonly delayTime: AudioParam; } @@ -2432,7 +2494,7 @@ prototype: DelayNode; new (context: BaseAudioContext, options?: DelayOptions): DelayNode; }; -@@ -9559,7 +9568,7 @@ interface DeviceMotionEvent extends Event { +@@ -9538,7 +9547,7 @@ interface DeviceMotionEvent extends Event { readonly rotationRate: DeviceMotionEventRotationRate | null; } @@ -2441,7 +2503,7 @@ prototype: DeviceMotionEvent; new (type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; }; -@@ -9643,7 +9652,7 @@ interface DeviceOrientationEvent extends Event { +@@ -9622,7 +9631,7 @@ interface DeviceOrientationEvent extends Event { readonly gamma: number | null; } @@ -2450,7 +2512,7 @@ prototype: DeviceOrientationEvent; new ( type: string, -@@ -9946,22 +9955,22 @@ interface Document +@@ -9925,22 +9934,22 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenchange_event) */ @@ -2477,7 +2539,7 @@ /** * Fires when the state of the object has changed. * -@@ -9970,12 +9979,12 @@ interface Document +@@ -9949,12 +9958,12 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/readystatechange_event) */ @@ -2492,7 +2554,7 @@ readonly ownerDocument: null; /** * [MDN -@@ -10569,7 +10578,7 @@ interface Document +@@ -10541,7 +10550,7 @@ interface Document * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/write) */ @@ -2501,7 +2563,7 @@ /** * Writes one or more HTML expressions, followed by a carriage return, to a * document in the specified window. -@@ -10579,10 +10588,10 @@ interface Document +@@ -10551,10 +10560,10 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln) */ @@ -2514,7 +2576,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -10592,7 +10601,7 @@ interface Document +@@ -10564,7 +10573,7 @@ interface Document ): void; removeEventListener( type: K, @@ -2523,7 +2585,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -10602,7 +10611,7 @@ interface Document +@@ -10574,7 +10583,7 @@ interface Document ): void; } @@ -2531,8 +2593,8 @@ +declare const Document: { prototype: Document; new (): Document; - }; -@@ -10622,7 +10631,7 @@ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { + /** +@@ -10599,7 +10608,7 @@ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { getElementById(elementId: string): HTMLElement | null; } @@ -2541,7 +2603,7 @@ prototype: DocumentFragment; new (): DocumentFragment; }; -@@ -10652,7 +10661,7 @@ interface DocumentOrShadowRoot { +@@ -10629,7 +10638,7 @@ interface DocumentOrShadowRoot { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */ @@ -2550,7 +2612,7 @@ /** * Returns document's fullscreen element. * -@@ -10687,18 +10696,18 @@ interface DocumentOrShadowRoot { +@@ -10664,18 +10673,18 @@ interface DocumentOrShadowRoot { * @param y The y-offset */ elementFromPoint(x: number, y: number): Element | null; @@ -2572,7 +2634,7 @@ prototype: DocumentTimeline; new (options?: DocumentTimelineOptions): DocumentTimeline; }; -@@ -10727,7 +10736,7 @@ interface DocumentType extends Node, ChildNode { +@@ -10704,7 +10713,7 @@ interface DocumentType extends Node, ChildNode { readonly systemId: string; } @@ -2581,7 +2643,7 @@ prototype: DocumentType; new (): DocumentType; }; -@@ -10751,7 +10760,7 @@ interface DragEvent extends MouseEvent { +@@ -10728,7 +10737,7 @@ interface DragEvent extends MouseEvent { readonly dataTransfer: DataTransfer | null; } @@ -2590,7 +2652,7 @@ prototype: DragEvent; new (type: string, eventInitDict?: DragEventInit): DragEvent; }; -@@ -10795,7 +10804,7 @@ interface DynamicsCompressorNode extends AudioNode { +@@ -10772,7 +10781,7 @@ interface DynamicsCompressorNode extends AudioNode { readonly threshold: AudioParam; } @@ -2599,7 +2661,7 @@ prototype: DynamicsCompressorNode; new ( context: BaseAudioContext, -@@ -10987,12 +10996,12 @@ interface Element +@@ -10968,12 +10977,12 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event) */ @@ -2614,7 +2676,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) -@@ -11104,7 +11113,7 @@ interface Element +@@ -11085,7 +11094,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames) */ @@ -2623,7 +2685,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNode) -@@ -11344,7 +11353,7 @@ interface Element +@@ -11332,7 +11341,7 @@ interface Element webkitMatchesSelector(selectors: string): boolean; addEventListener( type: K, @@ -2632,7 +2694,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -11354,7 +11363,7 @@ interface Element +@@ -11342,7 +11351,7 @@ interface Element ): void; removeEventListener( type: K, @@ -2641,7 +2703,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -11364,7 +11373,7 @@ interface Element +@@ -11352,7 +11361,7 @@ interface Element ): void; } @@ -2650,7 +2712,7 @@ prototype: Element; new (): Element; }; -@@ -11496,7 +11505,7 @@ interface ElementInternals extends ARIAMixin { +@@ -11493,7 +11502,7 @@ interface ElementInternals extends ARIAMixin { ): void; } @@ -2659,7 +2721,7 @@ prototype: ElementInternals; new (): ElementInternals; }; -@@ -11530,7 +11539,7 @@ interface EncodedVideoChunk { +@@ -11527,7 +11536,7 @@ interface EncodedVideoChunk { copyTo(destination: AllowSharedBufferSource): void; } @@ -2668,16 +2730,14 @@ prototype: EncodedVideoChunk; new (init: EncodedVideoChunkInit): EncodedVideoChunk; }; -@@ -11550,7 +11559,7 @@ interface ErrorEvent extends Event { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ +@@ -11539,13 +11548,13 @@ declare var EncodedVideoChunk: { + */ + interface ErrorEvent extends Event { + readonly colno: number; - readonly error: any; + readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) -@@ -11568,7 +11577,7 @@ interface ErrorEvent extends Event { + readonly filename: string; + readonly lineno: number; readonly message: string; } @@ -2686,7 +2746,7 @@ prototype: ErrorEvent; new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; -@@ -11685,7 +11694,7 @@ interface Event { +@@ -11662,7 +11671,7 @@ interface Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath) */ @@ -2695,7 +2755,7 @@ /** * @deprecated * -@@ -11724,7 +11733,7 @@ interface Event { +@@ -11701,7 +11710,7 @@ interface Event { readonly BUBBLING_PHASE: 3; } @@ -2704,7 +2764,7 @@ prototype: Event; new (type: string, eventInitDict?: EventInit): Event; readonly NONE: 0; -@@ -11737,11 +11746,11 @@ declare var Event: { +@@ -11714,11 +11723,11 @@ declare var Event: { interface EventCounts { forEach( callbackfn: (value: number, key: string, parent: EventCounts) => void, @@ -2718,7 +2778,7 @@ prototype: EventCounts; new (): EventCounts; }; -@@ -11766,17 +11775,17 @@ interface EventSource extends EventTarget { +@@ -11743,17 +11752,17 @@ interface EventSource extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */ @@ -2739,7 +2799,7 @@ /** * Returns the state of this EventSource object's connection. It can have the * values described below. -@@ -11812,12 +11821,12 @@ interface EventSource extends EventTarget { +@@ -11789,12 +11798,12 @@ interface EventSource extends EventTarget { readonly CLOSED: 2; addEventListener( type: K, @@ -2754,7 +2814,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -11827,12 +11836,12 @@ interface EventSource extends EventTarget { +@@ -11804,12 +11813,12 @@ interface EventSource extends EventTarget { ): void; removeEventListener( type: K, @@ -2769,7 +2829,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -11842,7 +11851,7 @@ interface EventSource extends EventTarget { +@@ -11819,7 +11828,7 @@ interface EventSource extends EventTarget { ): void; } @@ -2778,7 +2838,7 @@ prototype: EventSource; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CONNECTING: 0; -@@ -11916,7 +11925,7 @@ interface EventTarget { +@@ -11893,7 +11902,7 @@ interface EventTarget { ): void; } @@ -2787,7 +2847,7 @@ prototype: EventTarget; new (): EventTarget; }; -@@ -11944,7 +11953,7 @@ interface External { +@@ -11907,7 +11916,7 @@ interface External { } /** @deprecated */ @@ -2796,7 +2856,7 @@ prototype: External; new (): External; }; -@@ -11970,9 +11979,13 @@ interface File extends Blob { +@@ -11933,9 +11942,13 @@ interface File extends Blob { readonly webkitRelativePath: string; } @@ -2812,7 +2872,7 @@ }; /** -@@ -11992,7 +12005,7 @@ interface FileList { +@@ -11955,7 +11968,7 @@ interface FileList { [index: number]: File; } @@ -2821,7 +2881,7 @@ prototype: FileList; new (): FileList; }; -@@ -12023,34 +12036,42 @@ interface FileReader extends EventTarget { +@@ -11986,34 +11999,42 @@ interface FileReader extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */ @@ -2870,7 +2930,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState) -@@ -12096,7 +12117,7 @@ interface FileReader extends EventTarget { +@@ -12059,7 +12080,7 @@ interface FileReader extends EventTarget { readonly DONE: 2; addEventListener( type: K, @@ -2879,7 +2939,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -12106,7 +12127,7 @@ interface FileReader extends EventTarget { +@@ -12069,7 +12090,7 @@ interface FileReader extends EventTarget { ): void; removeEventListener( type: K, @@ -2888,7 +2948,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -12116,7 +12137,7 @@ interface FileReader extends EventTarget { +@@ -12079,7 +12100,7 @@ interface FileReader extends EventTarget { ): void; } @@ -2897,7 +2957,7 @@ prototype: FileReader; new (): FileReader; readonly EMPTY: 0; -@@ -12132,7 +12153,7 @@ interface FileSystem { +@@ -12095,7 +12116,7 @@ interface FileSystem { readonly root: FileSystemDirectoryEntry; } @@ -2906,7 +2966,7 @@ prototype: FileSystem; new (): FileSystem; }; -@@ -12169,7 +12190,7 @@ interface FileSystemDirectoryEntry extends FileSystemEntry { +@@ -12132,7 +12153,7 @@ interface FileSystemDirectoryEntry extends FileSystemEntry { ): void; } @@ -2915,7 +2975,7 @@ prototype: FileSystemDirectoryEntry; new (): FileSystemDirectoryEntry; }; -@@ -12207,10 +12228,12 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { +@@ -12170,10 +12191,12 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve) */ @@ -2930,7 +2990,7 @@ prototype: FileSystemDirectoryHandle; new (): FileSystemDirectoryHandle; }; -@@ -12230,7 +12253,7 @@ interface FileSystemDirectoryReader { +@@ -12193,7 +12216,7 @@ interface FileSystemDirectoryReader { ): void; } @@ -2939,7 +2999,7 @@ prototype: FileSystemDirectoryReader; new (): FileSystemDirectoryReader; }; -@@ -12272,7 +12295,7 @@ interface FileSystemEntry { +@@ -12235,7 +12258,7 @@ interface FileSystemEntry { ): void; } @@ -2948,7 +3008,7 @@ prototype: FileSystemEntry; new (): FileSystemEntry; }; -@@ -12289,7 +12312,7 @@ interface FileSystemFileEntry extends FileSystemEntry { +@@ -12252,7 +12275,7 @@ interface FileSystemFileEntry extends FileSystemEntry { file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; } @@ -2957,7 +3017,7 @@ prototype: FileSystemFileEntry; new (): FileSystemFileEntry; }; -@@ -12316,7 +12339,7 @@ interface FileSystemFileHandle extends FileSystemHandle { +@@ -12279,7 +12302,7 @@ interface FileSystemFileHandle extends FileSystemHandle { getFile(): Promise; } @@ -2966,7 +3026,7 @@ prototype: FileSystemFileHandle; new (): FileSystemFileHandle; }; -@@ -12344,7 +12367,7 @@ interface FileSystemHandle { +@@ -12307,7 +12330,7 @@ interface FileSystemHandle { isSameEntry(other: FileSystemHandle): Promise; } @@ -2975,7 +3035,7 @@ prototype: FileSystemHandle; new (): FileSystemHandle; }; -@@ -12373,7 +12396,7 @@ interface FileSystemWritableFileStream extends WritableStream { +@@ -12336,7 +12359,7 @@ interface FileSystemWritableFileStream extends WritableStream { write(data: FileSystemWriteChunkType): Promise; } @@ -2984,7 +3044,7 @@ prototype: FileSystemWritableFileStream; new (): FileSystemWritableFileStream; }; -@@ -12391,7 +12414,7 @@ interface FocusEvent extends UIEvent { +@@ -12354,7 +12377,7 @@ interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; } @@ -2993,7 +3053,7 @@ prototype: FocusEvent; new (type: string, eventInitDict?: FocusEventInit): FocusEvent; }; -@@ -12447,7 +12470,7 @@ interface FontFace { +@@ -12410,7 +12433,7 @@ interface FontFace { load(): Promise; } @@ -3002,7 +3062,7 @@ prototype: FontFace; new ( family: string, -@@ -12468,17 +12491,17 @@ interface FontFaceSet extends EventTarget { +@@ -12431,17 +12454,17 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ @@ -3023,7 +3083,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) -@@ -12498,14 +12521,14 @@ interface FontFaceSet extends EventTarget { +@@ -12461,14 +12484,14 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load) */ @@ -3041,7 +3101,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -12515,7 +12538,7 @@ interface FontFaceSet extends EventTarget { +@@ -12478,7 +12501,7 @@ interface FontFaceSet extends EventTarget { ): void; removeEventListener( type: K, @@ -3050,7 +3110,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -12525,9 +12548,9 @@ interface FontFaceSet extends EventTarget { +@@ -12488,9 +12511,9 @@ interface FontFaceSet extends EventTarget { ): void; } @@ -3062,7 +3122,7 @@ }; /** -@@ -12542,7 +12565,7 @@ interface FontFaceSetLoadEvent extends Event { +@@ -12505,7 +12528,7 @@ interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } @@ -3071,7 +3131,7 @@ prototype: FontFaceSetLoadEvent; new ( type: string, -@@ -12573,7 +12596,7 @@ interface FormData { +@@ -12536,7 +12559,7 @@ interface FormData { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get) */ get(name: string): FormDataEntryValue | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll) */ @@ -3080,7 +3140,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has) */ has(name: string): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */ -@@ -12586,11 +12609,11 @@ interface FormData { +@@ -12549,11 +12572,11 @@ interface FormData { key: string, parent: FormData, ) => void, @@ -3094,7 +3154,7 @@ prototype: FormData; new (form?: HTMLFormElement, submitter?: HTMLElement | null): FormData; }; -@@ -12608,7 +12631,7 @@ interface FormDataEvent extends Event { +@@ -12571,7 +12594,7 @@ interface FormDataEvent extends Event { readonly formData: FormData; } @@ -3103,7 +3163,7 @@ prototype: FormDataEvent; new (type: string, eventInitDict: FormDataEventInit): FormDataEvent; }; -@@ -12626,7 +12649,7 @@ interface GainNode extends AudioNode { +@@ -12589,7 +12612,7 @@ interface GainNode extends AudioNode { readonly gain: AudioParam; } @@ -3112,8 +3172,8 @@ prototype: GainNode; new (context: BaseAudioContext, options?: GainOptions): GainNode; }; -@@ -12662,7 +12685,7 @@ interface Gamepad { - readonly vibrationActuator: GamepadHapticActuator | null; +@@ -12629,7 +12652,7 @@ interface Gamepad { + readonly vibrationActuator: GamepadHapticActuator; } -declare var Gamepad: { @@ -3121,7 +3181,7 @@ prototype: Gamepad; new (): Gamepad; }; -@@ -12692,7 +12715,7 @@ interface GamepadButton { +@@ -12658,7 +12681,7 @@ interface GamepadButton { readonly value: number; } @@ -3130,7 +3190,7 @@ prototype: GamepadButton; new (): GamepadButton; }; -@@ -12713,7 +12736,7 @@ interface GamepadEvent extends Event { +@@ -12678,7 +12701,7 @@ interface GamepadEvent extends Event { readonly gamepad: Gamepad; } @@ -3139,7 +3199,7 @@ prototype: GamepadEvent; new (type: string, eventInitDict: GamepadEventInit): GamepadEvent; }; -@@ -12739,7 +12762,7 @@ interface GamepadHapticActuator { +@@ -12703,7 +12726,7 @@ interface GamepadHapticActuator { reset(): Promise; } @@ -3148,7 +3208,7 @@ prototype: GamepadHapticActuator; new (): GamepadHapticActuator; }; -@@ -12790,7 +12813,7 @@ interface Geolocation { +@@ -12754,7 +12777,7 @@ interface Geolocation { ): number; } @@ -3157,8 +3217,12 @@ prototype: Geolocation; new (): Geolocation; }; -@@ -12839,7 +12862,7 @@ interface GeolocationCoordinates { - readonly speed: number | null; +@@ -12805,10 +12828,10 @@ interface GeolocationCoordinates { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; } -declare var GeolocationCoordinates: { @@ -3166,8 +3230,12 @@ prototype: GeolocationCoordinates; new (): GeolocationCoordinates; }; -@@ -12863,7 +12886,7 @@ interface GeolocationPosition { - readonly timestamp: EpochTimeStamp; +@@ -12834,10 +12857,10 @@ interface GeolocationPosition { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; } -declare var GeolocationPosition: { @@ -3175,7 +3243,7 @@ prototype: GeolocationPosition; new (): GeolocationPosition; }; -@@ -12888,7 +12911,7 @@ interface GeolocationPositionError { +@@ -12862,7 +12885,7 @@ interface GeolocationPositionError { readonly TIMEOUT: 3; } @@ -3184,7 +3252,7 @@ prototype: GeolocationPositionError; new (): GeolocationPositionError; readonly PERMISSION_DENIED: 1; -@@ -13009,50 +13032,52 @@ interface GlobalEventHandlers { +@@ -12985,50 +13008,52 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ @@ -3245,7 +3313,7 @@ /** * Fires when the object loses the input focus. * -@@ -13061,12 +13086,12 @@ interface GlobalEventHandlers { +@@ -13037,12 +13062,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ @@ -3253,14 +3321,14 @@ + onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ - oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. * -@@ -13075,12 +13100,12 @@ interface GlobalEventHandlers { +@@ -13051,12 +13076,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */ @@ -3275,7 +3343,7 @@ /** * Fires when the contents of the object or selection have changed. * -@@ -13089,7 +13114,7 @@ interface GlobalEventHandlers { +@@ -13065,7 +13090,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */ @@ -3284,7 +3352,7 @@ /** * Fires when the user clicks the left mouse button on the object * -@@ -13098,12 +13123,12 @@ interface GlobalEventHandlers { +@@ -13074,17 +13099,17 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */ @@ -3296,10 +3364,16 @@ */ - onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null; ++ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. -@@ -13113,22 +13138,24 @@ interface GlobalEventHandlers { +@@ -13094,27 +13119,29 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ @@ -3307,6 +3381,12 @@ + oncontextmenu: + | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) + | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null; ++ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -3328,7 +3408,7 @@ /** * Fires when the user double-clicks the object. * -@@ -13137,7 +13164,7 @@ interface GlobalEventHandlers { +@@ -13123,7 +13150,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */ @@ -3337,7 +3417,7 @@ /** * Fires on the source object continuously during a drag operation. * -@@ -13146,7 +13173,7 @@ interface GlobalEventHandlers { +@@ -13132,7 +13159,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */ @@ -3346,7 +3426,7 @@ /** * Fires on the source object when the user releases the mouse at the close of * a drag operation. -@@ -13156,7 +13183,7 @@ interface GlobalEventHandlers { +@@ -13142,7 +13169,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */ @@ -3355,7 +3435,7 @@ /** * Fires on the target element when the user drags the object to a valid drop * target. -@@ -13166,7 +13193,7 @@ interface GlobalEventHandlers { +@@ -13152,7 +13179,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */ @@ -3364,7 +3444,7 @@ /** * Fires on the target object when the user moves the mouse out of a valid * drop target during a drag operation. -@@ -13176,7 +13203,7 @@ interface GlobalEventHandlers { +@@ -13162,7 +13189,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */ @@ -3373,7 +3453,7 @@ /** * Fires on the target element continuously while the user drags the object * over a valid drop target. -@@ -13186,7 +13213,7 @@ interface GlobalEventHandlers { +@@ -13172,7 +13199,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */ @@ -3382,7 +3462,7 @@ /** * Fires on the source object when the user starts to drag a text selection or * selected object. -@@ -13196,12 +13223,12 @@ interface GlobalEventHandlers { +@@ -13182,12 +13209,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */ @@ -3397,7 +3477,7 @@ /** * Occurs when the duration attribute is updated. * -@@ -13210,7 +13237,7 @@ interface GlobalEventHandlers { +@@ -13196,7 +13223,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */ @@ -3406,7 +3486,7 @@ /** * Occurs when the media element is reset to its initial state. * -@@ -13219,7 +13246,7 @@ interface GlobalEventHandlers { +@@ -13205,7 +13232,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */ @@ -3415,7 +3495,7 @@ /** * Occurs when the end of playback is reached. * -@@ -13228,7 +13255,7 @@ interface GlobalEventHandlers { +@@ -13214,7 +13241,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */ @@ -3424,7 +3504,7 @@ /** * Fires when an error occurs during object loading. * -@@ -13246,29 +13273,31 @@ interface GlobalEventHandlers { +@@ -13232,29 +13259,31 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */ @@ -3461,7 +3541,7 @@ /** * Fires when the user presses a key. * -@@ -13277,7 +13306,7 @@ interface GlobalEventHandlers { +@@ -13263,7 +13292,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */ @@ -3470,7 +3550,7 @@ /** * Fires when the user presses an alphanumeric key. * -@@ -13287,7 +13316,9 @@ interface GlobalEventHandlers { +@@ -13273,7 +13302,9 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event) * @param ev The event. */ @@ -3481,7 +3561,7 @@ /** * Fires when the user releases a key. * -@@ -13296,7 +13327,7 @@ interface GlobalEventHandlers { +@@ -13282,7 +13313,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */ @@ -3490,7 +3570,7 @@ /** * Fires immediately after the browser loads the object. * -@@ -13305,7 +13336,7 @@ interface GlobalEventHandlers { +@@ -13291,7 +13322,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event) */ @@ -3499,7 +3579,7 @@ /** * Occurs when media data is loaded at the current playback position. * -@@ -13314,7 +13345,7 @@ interface GlobalEventHandlers { +@@ -13300,7 +13331,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */ @@ -3508,7 +3588,7 @@ /** * Occurs when the duration and dimensions of the media have been determined. * -@@ -13323,7 +13354,7 @@ interface GlobalEventHandlers { +@@ -13309,7 +13340,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */ @@ -3517,7 +3597,7 @@ /** * Occurs when Internet Explorer begins looking for media data. * -@@ -13332,13 +13363,13 @@ interface GlobalEventHandlers { +@@ -13318,13 +13349,13 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ @@ -3525,7 +3605,7 @@ + onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: - | ((this: GlobalEventHandlers, ev: PointerEvent) => any) @@ -3533,7 +3613,7 @@ | null; /** * Fires when the user clicks the object with either mouse button. -@@ -13348,17 +13379,17 @@ interface GlobalEventHandlers { +@@ -13334,17 +13365,17 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */ @@ -3554,7 +3634,7 @@ /** * Fires when the user moves the mouse over the object. * -@@ -13367,7 +13398,7 @@ interface GlobalEventHandlers { +@@ -13353,7 +13384,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */ @@ -3563,7 +3643,7 @@ /** * Fires when the user moves the mouse pointer outside the boundaries of the * object. -@@ -13377,7 +13408,7 @@ interface GlobalEventHandlers { +@@ -13363,7 +13394,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */ @@ -3572,7 +3652,7 @@ /** * Fires when the user moves the mouse pointer into the object. * -@@ -13386,7 +13417,7 @@ interface GlobalEventHandlers { +@@ -13372,7 +13403,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */ @@ -3581,7 +3661,7 @@ /** * Fires when the user releases a mouse button while the mouse is over the * object. -@@ -13396,12 +13427,12 @@ interface GlobalEventHandlers { +@@ -13382,12 +13413,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */ @@ -3596,7 +3676,7 @@ /** * Occurs when playback is paused. * -@@ -13410,7 +13441,7 @@ interface GlobalEventHandlers { +@@ -13396,7 +13427,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */ @@ -3605,7 +3685,7 @@ /** * Occurs when the play method is requested. * -@@ -13419,7 +13450,7 @@ interface GlobalEventHandlers { +@@ -13405,7 +13436,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */ @@ -3614,7 +3694,7 @@ /** * Occurs when the audio or video has started playing. * -@@ -13428,49 +13459,63 @@ interface GlobalEventHandlers { +@@ -13414,49 +13445,63 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */ @@ -3687,7 +3767,7 @@ /** * Occurs to indicate progress while downloading media data. * -@@ -13479,7 +13524,9 @@ interface GlobalEventHandlers { +@@ -13465,7 +13510,9 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */ @@ -3698,7 +3778,7 @@ /** * Occurs when the playback rate is increased or decreased. * -@@ -13488,7 +13535,7 @@ interface GlobalEventHandlers { +@@ -13474,7 +13521,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */ @@ -3707,7 +3787,7 @@ /** * Fires when the user resets a form. * -@@ -13497,12 +13544,12 @@ interface GlobalEventHandlers { +@@ -13483,12 +13530,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */ @@ -3722,7 +3802,7 @@ /** * Fires when the user repositions the scroll box in the scroll bar on the * object. -@@ -13512,18 +13559,18 @@ interface GlobalEventHandlers { +@@ -13498,18 +13545,18 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */ @@ -3744,7 +3824,7 @@ | null; /** * Occurs when the seek operation ends. -@@ -13533,7 +13580,7 @@ interface GlobalEventHandlers { +@@ -13519,7 +13566,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */ @@ -3753,7 +3833,7 @@ /** * Occurs when the current playback position is moved. * -@@ -13542,7 +13589,7 @@ interface GlobalEventHandlers { +@@ -13528,7 +13575,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */ @@ -3762,7 +3842,7 @@ /** * Fires when the current selection changes. * -@@ -13551,22 +13598,22 @@ interface GlobalEventHandlers { +@@ -13537,22 +13584,22 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */ @@ -3789,7 +3869,7 @@ /** * Occurs when the download has stopped. * -@@ -13575,12 +13622,12 @@ interface GlobalEventHandlers { +@@ -13561,12 +13608,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */ @@ -3804,7 +3884,7 @@ /** * Occurs if the load operation has been intentionally halted. * -@@ -13589,7 +13636,7 @@ interface GlobalEventHandlers { +@@ -13575,7 +13622,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */ @@ -3813,7 +3893,7 @@ /** * Occurs to indicate the current playback position. * -@@ -13598,18 +13645,18 @@ interface GlobalEventHandlers { +@@ -13584,18 +13631,18 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */ @@ -3835,7 +3915,7 @@ | null | undefined; /** -@@ -13617,7 +13664,7 @@ interface GlobalEventHandlers { +@@ -13603,7 +13650,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event) */ ontouchend?: @@ -3844,7 +3924,7 @@ | null | undefined; /** -@@ -13625,7 +13672,7 @@ interface GlobalEventHandlers { +@@ -13611,7 +13658,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event) */ ontouchmove?: @@ -3853,7 +3933,7 @@ | null | undefined; /** -@@ -13633,7 +13680,7 @@ interface GlobalEventHandlers { +@@ -13619,7 +13666,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event) */ ontouchstart?: @@ -3862,7 +3942,7 @@ | null | undefined; /** -@@ -13641,28 +13688,28 @@ interface GlobalEventHandlers { +@@ -13627,28 +13674,28 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event) */ ontransitioncancel: @@ -3895,7 +3975,7 @@ | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. -@@ -13672,7 +13719,7 @@ interface GlobalEventHandlers { +@@ -13658,7 +13705,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */ @@ -3904,7 +3984,7 @@ /** * Occurs when playback stops because the next frame of a video resource is * not available. -@@ -13682,14 +13729,16 @@ interface GlobalEventHandlers { +@@ -13668,14 +13715,16 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */ @@ -3923,7 +4003,7 @@ /** * @deprecated This is a legacy alias of `onanimationiteration`. * -@@ -13697,7 +13746,7 @@ interface GlobalEventHandlers { +@@ -13683,7 +13732,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event) */ onwebkitanimationiteration: @@ -3932,7 +4012,7 @@ | null; /** * @deprecated This is a legacy alias of `onanimationstart`. -@@ -13706,7 +13755,7 @@ interface GlobalEventHandlers { +@@ -13692,7 +13741,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */ onwebkitanimationstart: @@ -3941,7 +4021,7 @@ | null; /** * @deprecated This is a legacy alias of `ontransitionend`. -@@ -13714,18 +13763,20 @@ interface GlobalEventHandlers { +@@ -13700,18 +13749,20 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event) */ @@ -3965,7 +4045,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13738,7 +13789,7 @@ interface GlobalEventHandlers { +@@ -13724,7 +13775,7 @@ interface GlobalEventHandlers { listener: ( this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K], @@ -3974,7 +4054,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13782,7 +13833,7 @@ interface HTMLAllCollection { +@@ -13768,7 +13819,7 @@ interface HTMLAllCollection { [index: number]: Element; } @@ -3983,7 +4063,7 @@ prototype: HTMLAllCollection; new (): HTMLAllCollection; }; -@@ -13893,7 +13944,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13868,7 +13919,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { type: string; addEventListener( type: K, @@ -3992,7 +4072,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13903,7 +13954,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13878,7 +13929,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; removeEventListener( type: K, @@ -4001,7 +4081,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13913,7 +13964,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13888,7 +13939,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; } @@ -4010,7 +4090,7 @@ prototype: HTMLAnchorElement; new (): HTMLAnchorElement; }; -@@ -13986,7 +14037,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13943,7 +13994,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { target: string; addEventListener( type: K, @@ -4019,7 +4099,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13996,7 +14047,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13953,7 +14004,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; removeEventListener( type: K, @@ -4028,7 +4108,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14006,7 +14057,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13963,7 +14014,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; } @@ -4037,7 +4117,7 @@ prototype: HTMLAreaElement; new (): HTMLAreaElement; }; -@@ -14020,7 +14071,10 @@ declare var HTMLAreaElement: { +@@ -13977,7 +14028,10 @@ declare var HTMLAreaElement: { interface HTMLAudioElement extends HTMLMediaElement { addEventListener( type: K, @@ -4049,7 +4129,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14030,7 +14084,10 @@ interface HTMLAudioElement extends HTMLMediaElement { +@@ -13987,7 +14041,10 @@ interface HTMLAudioElement extends HTMLMediaElement { ): void; removeEventListener( type: K, @@ -4061,7 +4141,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14040,7 +14097,7 @@ interface HTMLAudioElement extends HTMLMediaElement { +@@ -13997,7 +14054,7 @@ interface HTMLAudioElement extends HTMLMediaElement { ): void; } @@ -4070,7 +4150,7 @@ prototype: HTMLAudioElement; new (): HTMLAudioElement; }; -@@ -14063,7 +14120,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14017,7 +14074,7 @@ interface HTMLBRElement extends HTMLElement { clear: string; addEventListener( type: K, @@ -4079,7 +4159,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14073,7 +14130,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14027,7 +14084,7 @@ interface HTMLBRElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4088,7 +4168,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14083,7 +14140,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14037,7 +14094,7 @@ interface HTMLBRElement extends HTMLElement { ): void; } @@ -4097,7 +4177,7 @@ prototype: HTMLBRElement; new (): HTMLBRElement; }; -@@ -14111,7 +14168,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14060,7 +14117,7 @@ interface HTMLBaseElement extends HTMLElement { target: string; addEventListener( type: K, @@ -4106,7 +4186,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14121,7 +14178,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14070,7 +14127,7 @@ interface HTMLBaseElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4115,7 +4195,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14131,7 +14188,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14080,7 +14137,7 @@ interface HTMLBaseElement extends HTMLElement { ): void; } @@ -4124,7 +4204,7 @@ prototype: HTMLBaseElement; new (): HTMLBaseElement; }; -@@ -14191,7 +14248,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14110,7 +14167,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { vLink: string; addEventListener( type: K, @@ -4136,7 +4216,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14201,7 +14261,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14120,7 +14180,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { ): void; removeEventListener( type: K, @@ -4148,7 +4228,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14211,7 +14274,7 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14130,7 +14193,7 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { ): void; } @@ -4157,7 +4237,7 @@ prototype: HTMLBodyElement; new (): HTMLBodyElement; }; -@@ -14346,7 +14409,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14220,7 +14283,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -4166,7 +4246,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14356,7 +14419,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14230,7 +14293,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { ): void; removeEventListener( type: K, @@ -4175,7 +4255,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14366,7 +14429,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14240,7 +14303,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { ): void; } @@ -4184,7 +4264,7 @@ prototype: HTMLButtonElement; new (): HTMLButtonElement; }; -@@ -14428,12 +14491,12 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14302,12 +14365,12 @@ interface HTMLCanvasElement extends HTMLElement { contextId: 'webgl2', options?: WebGLContextAttributes, ): WebGL2RenderingContext | null; @@ -4199,7 +4279,7 @@ /** * Returns the content of the current canvas as an image that you can use as a * source for another canvas or an HTML element. -@@ -14444,7 +14507,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14318,7 +14381,7 @@ interface HTMLCanvasElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toDataURL) */ @@ -4208,7 +4288,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen) -@@ -14452,7 +14515,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14326,7 +14389,7 @@ interface HTMLCanvasElement extends HTMLElement { transferControlToOffscreen(): OffscreenCanvas; addEventListener( type: K, @@ -4217,7 +4297,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14462,7 +14525,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14336,7 +14399,7 @@ interface HTMLCanvasElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4226,7 +4306,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14472,7 +14535,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14346,7 +14409,7 @@ interface HTMLCanvasElement extends HTMLElement { ): void; } @@ -4235,7 +4315,7 @@ prototype: HTMLCanvasElement; new (): HTMLCanvasElement; }; -@@ -14512,7 +14575,7 @@ interface HTMLCollection extends HTMLCollectionBase { +@@ -14386,7 +14449,7 @@ interface HTMLCollection extends HTMLCollectionBase { namedItem(name: string): Element | null; } @@ -4244,7 +4324,7 @@ prototype: HTMLCollection; new (): HTMLCollection; }; -@@ -14540,7 +14603,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14409,7 +14472,7 @@ interface HTMLDListElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -4253,7 +4333,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14550,7 +14613,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14419,7 +14482,7 @@ interface HTMLDListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4262,7 +4342,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14560,7 +14623,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14429,7 +14492,7 @@ interface HTMLDListElement extends HTMLElement { ): void; } @@ -4271,7 +4351,7 @@ prototype: HTMLDListElement; new (): HTMLDListElement; }; -@@ -14579,7 +14642,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14448,7 +14511,7 @@ interface HTMLDataElement extends HTMLElement { value: string; addEventListener( type: K, @@ -4280,7 +4360,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14589,7 +14652,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14458,7 +14521,7 @@ interface HTMLDataElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4289,7 +4369,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14599,7 +14662,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14468,7 +14531,7 @@ interface HTMLDataElement extends HTMLElement { ): void; } @@ -4298,7 +4378,7 @@ prototype: HTMLDataElement; new (): HTMLDataElement; }; -@@ -14622,7 +14685,10 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14486,7 +14549,10 @@ interface HTMLDataListElement extends HTMLElement { readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -4310,7 +4390,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14632,7 +14698,10 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14496,7 +14562,10 @@ interface HTMLDataListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4322,7 +4402,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14642,7 +14711,7 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14506,7 +14575,7 @@ interface HTMLDataListElement extends HTMLElement { ): void; } @@ -4331,7 +4411,7 @@ prototype: HTMLDataListElement; new (): HTMLDataListElement; }; -@@ -14660,7 +14729,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14524,7 +14593,7 @@ interface HTMLDetailsElement extends HTMLElement { open: boolean; addEventListener( type: K, @@ -4340,7 +4420,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14670,7 +14739,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14534,7 +14603,7 @@ interface HTMLDetailsElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4349,7 +4429,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14680,7 +14749,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14544,7 +14613,7 @@ interface HTMLDetailsElement extends HTMLElement { ): void; } @@ -4358,7 +4438,7 @@ prototype: HTMLDetailsElement; new (): HTMLDetailsElement; }; -@@ -14720,7 +14789,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14584,7 +14653,7 @@ interface HTMLDialogElement extends HTMLElement { showModal(): void; addEventListener( type: K, @@ -4367,7 +4447,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14730,7 +14799,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14594,7 +14663,7 @@ interface HTMLDialogElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4376,7 +4456,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14740,7 +14809,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14604,7 +14673,7 @@ interface HTMLDialogElement extends HTMLElement { ): void; } @@ -4385,7 +4465,7 @@ prototype: HTMLDialogElement; new (): HTMLDialogElement; }; -@@ -14751,7 +14820,10 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14615,7 +14684,10 @@ interface HTMLDirectoryElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -4397,7 +4477,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14761,7 +14833,10 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14625,7 +14697,10 @@ interface HTMLDirectoryElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4409,7 +4489,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14772,7 +14847,7 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14636,7 +14711,7 @@ interface HTMLDirectoryElement extends HTMLElement { } /** @deprecated */ @@ -4418,7 +4498,7 @@ prototype: HTMLDirectoryElement; new (): HTMLDirectoryElement; }; -@@ -14795,7 +14870,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14656,7 +14731,7 @@ interface HTMLDivElement extends HTMLElement { align: string; addEventListener( type: K, @@ -4427,7 +4507,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14805,7 +14880,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14666,7 +14741,7 @@ interface HTMLDivElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4436,7 +4516,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14815,7 +14890,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14676,7 +14751,7 @@ interface HTMLDivElement extends HTMLElement { ): void; } @@ -4445,7 +4525,7 @@ prototype: HTMLDivElement; new (): HTMLDivElement; }; -@@ -14824,7 +14899,7 @@ declare var HTMLDivElement: { +@@ -14685,7 +14760,7 @@ declare var HTMLDivElement: { interface HTMLDocument extends Document { addEventListener( type: K, @@ -4454,7 +4534,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14834,7 +14909,7 @@ interface HTMLDocument extends Document { +@@ -14695,7 +14770,7 @@ interface HTMLDocument extends Document { ): void; removeEventListener( type: K, @@ -4463,7 +4543,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14845,7 +14920,7 @@ interface HTMLDocument extends Document { +@@ -14706,7 +14781,7 @@ interface HTMLDocument extends Document { } /** @deprecated */ @@ -4472,7 +4552,7 @@ prototype: HTMLDocument; new (): HTMLDocument; }; -@@ -14981,7 +15056,7 @@ interface HTMLElement +@@ -14846,7 +14921,7 @@ interface HTMLElement togglePopover(force?: boolean): boolean; addEventListener( type: K, @@ -4481,7 +4561,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14991,7 +15066,7 @@ interface HTMLElement +@@ -14856,7 +14931,7 @@ interface HTMLElement ): void; removeEventListener( type: K, @@ -4490,7 +4570,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15001,7 +15076,7 @@ interface HTMLElement +@@ -14866,7 +14941,7 @@ interface HTMLElement ): void; } @@ -4499,7 +4579,7 @@ prototype: HTMLElement; new (): HTMLElement; }; -@@ -15031,7 +15106,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14911,7 +14986,7 @@ interface HTMLEmbedElement extends HTMLElement { getSVGDocument(): Document | null; addEventListener( type: K, @@ -4508,7 +4588,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15041,7 +15116,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14921,7 +14996,7 @@ interface HTMLEmbedElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4517,7 +4597,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15051,7 +15126,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14931,7 +15006,7 @@ interface HTMLEmbedElement extends HTMLElement { ): void; } @@ -4526,7 +4606,7 @@ prototype: HTMLEmbedElement; new (): HTMLEmbedElement; }; -@@ -15141,7 +15216,10 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -14985,7 +15060,10 @@ interface HTMLFieldSetElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -4538,7 +4618,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15151,7 +15229,10 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -14995,7 +15073,10 @@ interface HTMLFieldSetElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4550,7 +4630,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15161,7 +15242,7 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -15005,7 +15086,7 @@ interface HTMLFieldSetElement extends HTMLElement { ): void; } @@ -4559,7 +4639,7 @@ prototype: HTMLFieldSetElement; new (): HTMLFieldSetElement; }; -@@ -15201,7 +15282,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15045,7 +15126,7 @@ interface HTMLFontElement extends HTMLElement { size: string; addEventListener( type: K, @@ -4568,7 +4648,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15211,7 +15292,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15055,7 +15136,7 @@ interface HTMLFontElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4577,7 +4657,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15222,7 +15303,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15066,7 +15147,7 @@ interface HTMLFontElement extends HTMLElement { } /** @deprecated */ @@ -4586,7 +4666,7 @@ prototype: HTMLFontElement; new (): HTMLFontElement; }; -@@ -15246,7 +15327,7 @@ interface HTMLFormControlsCollection extends HTMLCollectionBase { +@@ -15090,7 +15171,7 @@ interface HTMLFormControlsCollection extends HTMLCollectionBase { namedItem(name: string): RadioNodeList | Element | null; } @@ -4595,7 +4675,7 @@ prototype: HTMLFormControlsCollection; new (): HTMLFormControlsCollection; }; -@@ -15373,7 +15454,7 @@ interface HTMLFormElement extends HTMLElement { +@@ -15204,7 +15285,7 @@ interface HTMLFormElement extends HTMLElement { submit(): void; addEventListener( type: K, @@ -4604,7 +4684,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15383,7 +15464,7 @@ interface HTMLFormElement extends HTMLElement { +@@ -15214,7 +15295,7 @@ interface HTMLFormElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4613,7 +4693,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15392,10 +15473,10 @@ interface HTMLFormElement extends HTMLElement { +@@ -15223,10 +15304,10 @@ interface HTMLFormElement extends HTMLElement { options?: boolean | EventListenerOptions, ): void; [index: number]: Element; @@ -4626,7 +4706,7 @@ prototype: HTMLFormElement; new (): HTMLFormElement; }; -@@ -15500,7 +15581,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15297,7 +15378,7 @@ interface HTMLFrameElement extends HTMLElement { src: string; addEventListener( type: K, @@ -4635,7 +4715,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15510,7 +15591,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15307,7 +15388,7 @@ interface HTMLFrameElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4644,7 +4724,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15521,7 +15602,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15318,7 +15399,7 @@ interface HTMLFrameElement extends HTMLElement { } /** @deprecated */ @@ -4653,7 +4733,7 @@ prototype: HTMLFrameElement; new (): HTMLFrameElement; }; -@@ -15557,7 +15638,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15354,7 +15435,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { listener: ( this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K], @@ -4662,7 +4742,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15570,7 +15651,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15367,7 +15448,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { listener: ( this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K], @@ -4671,7 +4751,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15581,7 +15662,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15378,7 +15459,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { } /** @deprecated */ @@ -4680,7 +4760,7 @@ prototype: HTMLFrameSetElement; new (): HTMLFrameSetElement; }; -@@ -15617,7 +15698,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15414,7 +15495,7 @@ interface HTMLHRElement extends HTMLElement { width: string; addEventListener( type: K, @@ -4689,7 +4769,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15627,7 +15708,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15424,7 +15505,7 @@ interface HTMLHRElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4698,7 +4778,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15637,7 +15718,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15434,7 +15515,7 @@ interface HTMLHRElement extends HTMLElement { ): void; } @@ -4707,7 +4787,7 @@ prototype: HTMLHRElement; new (): HTMLHRElement; }; -@@ -15652,7 +15733,7 @@ declare var HTMLHRElement: { +@@ -15449,7 +15530,7 @@ declare var HTMLHRElement: { interface HTMLHeadElement extends HTMLElement { addEventListener( type: K, @@ -4716,7 +4796,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15662,7 +15743,7 @@ interface HTMLHeadElement extends HTMLElement { +@@ -15459,7 +15540,7 @@ interface HTMLHeadElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4725,7 +4805,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15672,7 +15753,7 @@ interface HTMLHeadElement extends HTMLElement { +@@ -15469,7 +15550,7 @@ interface HTMLHeadElement extends HTMLElement { ): void; } @@ -4734,7 +4814,7 @@ prototype: HTMLHeadElement; new (): HTMLHeadElement; }; -@@ -15696,7 +15777,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15490,7 +15571,7 @@ interface HTMLHeadingElement extends HTMLElement { align: string; addEventListener( type: K, @@ -4743,7 +4823,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15706,7 +15787,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15500,7 +15581,7 @@ interface HTMLHeadingElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4752,7 +4832,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15716,7 +15797,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15510,7 +15591,7 @@ interface HTMLHeadingElement extends HTMLElement { ): void; } @@ -4761,7 +4841,7 @@ prototype: HTMLHeadingElement; new (): HTMLHeadingElement; }; -@@ -15739,7 +15820,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15533,7 +15614,7 @@ interface HTMLHtmlElement extends HTMLElement { version: string; addEventListener( type: K, @@ -4770,7 +4850,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15749,7 +15830,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15543,7 +15624,7 @@ interface HTMLHtmlElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4779,7 +4859,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15759,7 +15840,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15553,7 +15634,7 @@ interface HTMLHtmlElement extends HTMLElement { ): void; } @@ -4788,7 +4868,7 @@ prototype: HTMLHtmlElement; new (): HTMLHtmlElement; }; -@@ -15991,7 +16072,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15783,7 +15864,7 @@ interface HTMLIFrameElement extends HTMLElement { getSVGDocument(): Document | null; addEventListener( type: K, @@ -4797,7 +4877,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16001,7 +16082,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15793,7 +15874,7 @@ interface HTMLIFrameElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4806,7 +4886,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16011,7 +16092,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15803,7 +15884,7 @@ interface HTMLIFrameElement extends HTMLElement { ): void; } @@ -4815,7 +4895,7 @@ prototype: HTMLIFrameElement; new (): HTMLIFrameElement; }; -@@ -16208,7 +16289,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -15995,7 +16076,7 @@ interface HTMLImageElement extends HTMLElement { decode(): Promise; addEventListener( type: K, @@ -4824,7 +4904,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16218,7 +16299,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -16005,7 +16086,7 @@ interface HTMLImageElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4833,7 +4913,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16228,7 +16309,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -16015,7 +16096,7 @@ interface HTMLImageElement extends HTMLElement { ): void; } @@ -4842,7 +4922,7 @@ prototype: HTMLImageElement; new (): HTMLImageElement; }; -@@ -16564,7 +16645,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16309,7 +16390,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { stepUp(n?: number): void; addEventListener( type: K, @@ -4851,7 +4931,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16574,7 +16655,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16319,7 +16400,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { ): void; removeEventListener( type: K, @@ -4860,7 +4940,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16584,7 +16665,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16329,7 +16410,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { ): void; } @@ -4869,7 +4949,7 @@ prototype: HTMLInputElement; new (): HTMLInputElement; }; -@@ -16603,7 +16684,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16348,7 +16429,7 @@ interface HTMLLIElement extends HTMLElement { value: number; addEventListener( type: K, @@ -4878,7 +4958,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16613,7 +16694,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16358,7 +16439,7 @@ interface HTMLLIElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4887,7 +4967,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16623,7 +16704,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16368,7 +16449,7 @@ interface HTMLLIElement extends HTMLElement { ): void; } @@ -4896,7 +4976,7 @@ prototype: HTMLLIElement; new (): HTMLLIElement; }; -@@ -16658,7 +16739,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16403,7 +16484,7 @@ interface HTMLLabelElement extends HTMLElement { htmlFor: string; addEventListener( type: K, @@ -4905,7 +4985,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16668,7 +16749,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16413,7 +16494,7 @@ interface HTMLLabelElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4914,7 +4994,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16678,7 +16759,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16423,7 +16504,7 @@ interface HTMLLabelElement extends HTMLElement { ): void; } @@ -4923,7 +5003,7 @@ prototype: HTMLLabelElement; new (): HTMLLabelElement; }; -@@ -16696,7 +16777,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16441,7 +16522,7 @@ interface HTMLLegendElement extends HTMLElement { readonly form: HTMLFormElement | null; addEventListener( type: K, @@ -4932,7 +5012,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16706,7 +16787,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16451,7 +16532,7 @@ interface HTMLLegendElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4941,7 +5021,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16716,7 +16797,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16461,7 +16542,7 @@ interface HTMLLegendElement extends HTMLElement { ): void; } @@ -4950,7 +5030,7 @@ prototype: HTMLLegendElement; new (): HTMLLegendElement; }; -@@ -16810,7 +16891,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16559,7 +16640,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { type: string; addEventListener( type: K, @@ -4959,7 +5039,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16820,7 +16901,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16569,7 +16650,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { ): void; removeEventListener( type: K, @@ -4968,7 +5048,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16830,7 +16911,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16579,7 +16660,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { ): void; } @@ -4977,7 +5057,7 @@ prototype: HTMLLinkElement; new (): HTMLLinkElement; }; -@@ -16860,7 +16941,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16606,7 +16687,7 @@ interface HTMLMapElement extends HTMLElement { name: string; addEventListener( type: K, @@ -4986,7 +5066,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16870,7 +16951,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16616,7 +16697,7 @@ interface HTMLMapElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4995,7 +5075,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16880,7 +16961,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16626,7 +16707,7 @@ interface HTMLMapElement extends HTMLElement { ): void; } @@ -5004,7 +5084,7 @@ prototype: HTMLMapElement; new (): HTMLMapElement; }; -@@ -16922,7 +17003,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16668,7 +16749,7 @@ interface HTMLMarqueeElement extends HTMLElement { stop(): void; addEventListener( type: K, @@ -5013,7 +5093,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16932,7 +17013,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16678,7 +16759,7 @@ interface HTMLMarqueeElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5022,7 +5102,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16943,7 +17024,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16689,7 +16770,7 @@ interface HTMLMarqueeElement extends HTMLElement { } /** @deprecated */ @@ -5031,23 +5111,19 @@ prototype: HTMLMarqueeElement; new (): HTMLMarqueeElement; }; -@@ -17081,13 +17162,13 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16827,9 +16908,9 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */ onencrypted: - | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) + | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ - onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null; + onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. * -@@ -17248,7 +17329,10 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16978,7 +17059,10 @@ interface HTMLMediaElement extends HTMLElement { readonly HAVE_ENOUGH_DATA: 4; addEventListener( type: K, @@ -5059,7 +5135,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17258,7 +17342,10 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16988,7 +17072,10 @@ interface HTMLMediaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5071,7 +5147,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17268,7 +17355,7 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16998,7 +17085,7 @@ interface HTMLMediaElement extends HTMLElement { ): void; } @@ -5080,7 +5156,7 @@ prototype: HTMLMediaElement; new (): HTMLMediaElement; readonly NETWORK_EMPTY: 0; -@@ -17293,7 +17380,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17018,7 +17105,7 @@ interface HTMLMenuElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -5089,7 +5165,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17303,7 +17390,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17028,7 +17115,7 @@ interface HTMLMenuElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5098,7 +5174,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17313,7 +17400,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17038,7 +17125,7 @@ interface HTMLMenuElement extends HTMLElement { ): void; } @@ -5107,7 +5183,7 @@ prototype: HTMLMenuElement; new (): HTMLMenuElement; }; -@@ -17347,7 +17434,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17090,7 +17177,7 @@ interface HTMLMetaElement extends HTMLElement { scheme: string; addEventListener( type: K, @@ -5116,7 +5192,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17357,7 +17444,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17100,7 +17187,7 @@ interface HTMLMetaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5125,7 +5201,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17367,7 +17454,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17110,7 +17197,7 @@ interface HTMLMetaElement extends HTMLElement { ): void; } @@ -5134,7 +5210,7 @@ prototype: HTMLMetaElement; new (): HTMLMetaElement; }; -@@ -17418,7 +17505,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17137,7 +17224,7 @@ interface HTMLMeterElement extends HTMLElement { value: number; addEventListener( type: K, @@ -5143,7 +5219,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17428,7 +17515,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17147,7 +17234,7 @@ interface HTMLMeterElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5152,7 +5228,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17438,7 +17525,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17157,7 +17244,7 @@ interface HTMLMeterElement extends HTMLElement { ): void; } @@ -5161,7 +5237,7 @@ prototype: HTMLMeterElement; new (): HTMLMeterElement; }; -@@ -17468,7 +17555,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17177,7 +17264,7 @@ interface HTMLModElement extends HTMLElement { dateTime: string; addEventListener( type: K, @@ -5170,7 +5246,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17478,7 +17565,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17187,7 +17274,7 @@ interface HTMLModElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5179,7 +5255,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17488,7 +17575,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17197,7 +17284,7 @@ interface HTMLModElement extends HTMLElement { ): void; } @@ -5188,7 +5264,7 @@ prototype: HTMLModElement; new (): HTMLModElement; }; -@@ -17527,7 +17614,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17231,7 +17318,7 @@ interface HTMLOListElement extends HTMLElement { type: string; addEventListener( type: K, @@ -5197,7 +5273,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17537,7 +17624,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17241,7 +17328,7 @@ interface HTMLOListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5206,7 +5282,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17547,7 +17634,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17251,7 +17338,7 @@ interface HTMLOListElement extends HTMLElement { ): void; } @@ -5215,7 +5291,7 @@ prototype: HTMLOListElement; new (): HTMLOListElement; }; -@@ -17761,7 +17848,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17419,7 +17506,7 @@ interface HTMLObjectElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -5224,7 +5300,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17771,7 +17858,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17429,7 +17516,7 @@ interface HTMLObjectElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5233,7 +5309,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17781,7 +17868,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17439,7 +17526,7 @@ interface HTMLObjectElement extends HTMLElement { ): void; } @@ -5242,7 +5318,7 @@ prototype: HTMLObjectElement; new (): HTMLObjectElement; }; -@@ -17810,7 +17897,10 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17461,7 +17548,10 @@ interface HTMLOptGroupElement extends HTMLElement { label: string; addEventListener( type: K, @@ -5254,7 +5330,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17820,7 +17910,10 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17471,7 +17561,10 @@ interface HTMLOptGroupElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5266,7 +5342,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17830,7 +17923,7 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17481,7 +17574,7 @@ interface HTMLOptGroupElement extends HTMLElement { ): void; } @@ -5275,7 +5351,7 @@ prototype: HTMLOptGroupElement; new (): HTMLOptGroupElement; }; -@@ -17899,7 +17992,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17515,7 +17608,7 @@ interface HTMLOptionElement extends HTMLElement { value: string; addEventListener( type: K, @@ -5284,7 +5360,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17909,7 +18002,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17525,7 +17618,7 @@ interface HTMLOptionElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5293,7 +5369,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17919,7 +18012,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17535,7 +17628,7 @@ interface HTMLOptionElement extends HTMLElement { ): void; } @@ -5302,7 +5378,7 @@ prototype: HTMLOptionElement; new (): HTMLOptionElement; }; -@@ -17986,7 +18079,7 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { +@@ -17588,7 +17681,7 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { remove(index: number): void; } @@ -5311,7 +5387,7 @@ prototype: HTMLOptionsCollection; new (): HTMLOptionsCollection; }; -@@ -18104,7 +18197,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17658,7 +17751,7 @@ interface HTMLOutputElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -5320,7 +5396,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18114,7 +18207,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17668,7 +17761,7 @@ interface HTMLOutputElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5329,7 +5405,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18124,7 +18217,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17678,7 +17771,7 @@ interface HTMLOutputElement extends HTMLElement { ): void; } @@ -5338,7 +5414,7 @@ prototype: HTMLOutputElement; new (): HTMLOutputElement; }; -@@ -18148,7 +18241,10 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17699,7 +17792,10 @@ interface HTMLParagraphElement extends HTMLElement { align: string; addEventListener( type: K, @@ -5350,7 +5426,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18158,7 +18254,10 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17709,7 +17805,10 @@ interface HTMLParagraphElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5362,7 +5438,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18168,7 +18267,7 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17719,7 +17818,7 @@ interface HTMLParagraphElement extends HTMLElement { ): void; } @@ -5371,7 +5447,7 @@ prototype: HTMLParagraphElement; new (): HTMLParagraphElement; }; -@@ -18222,7 +18321,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17761,7 +17860,7 @@ interface HTMLParamElement extends HTMLElement { valueType: string; addEventListener( type: K, @@ -5380,7 +5456,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18232,7 +18331,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17771,7 +17870,7 @@ interface HTMLParamElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5389,7 +5465,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18243,7 +18342,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17782,7 +17881,7 @@ interface HTMLParamElement extends HTMLElement { } /** @deprecated */ @@ -5398,7 +5474,7 @@ prototype: HTMLParamElement; new (): HTMLParamElement; }; -@@ -18258,7 +18357,7 @@ declare var HTMLParamElement: { +@@ -17797,7 +17896,7 @@ declare var HTMLParamElement: { interface HTMLPictureElement extends HTMLElement { addEventListener( type: K, @@ -5407,7 +5483,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18268,7 +18367,7 @@ interface HTMLPictureElement extends HTMLElement { +@@ -17807,7 +17906,7 @@ interface HTMLPictureElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5416,7 +5492,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18278,7 +18377,7 @@ interface HTMLPictureElement extends HTMLElement { +@@ -17817,7 +17916,7 @@ interface HTMLPictureElement extends HTMLElement { ): void; } @@ -5425,7 +5501,7 @@ prototype: HTMLPictureElement; new (): HTMLPictureElement; }; -@@ -18303,7 +18402,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17839,7 +17938,7 @@ interface HTMLPreElement extends HTMLElement { width: number; addEventListener( type: K, @@ -5434,7 +5510,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18313,7 +18412,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17849,7 +17948,7 @@ interface HTMLPreElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5443,7 +5519,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18323,7 +18422,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17859,7 +17958,7 @@ interface HTMLPreElement extends HTMLElement { ): void; } @@ -5452,7 +5528,7 @@ prototype: HTMLPreElement; new (): HTMLPreElement; }; -@@ -18368,7 +18467,10 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17904,7 +18003,10 @@ interface HTMLProgressElement extends HTMLElement { value: number; addEventListener( type: K, @@ -5464,7 +5540,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18378,7 +18480,10 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17914,7 +18016,10 @@ interface HTMLProgressElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5476,7 +5552,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18388,7 +18493,7 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17924,7 +18029,7 @@ interface HTMLProgressElement extends HTMLElement { ): void; } @@ -5485,7 +5561,7 @@ prototype: HTMLProgressElement; new (): HTMLProgressElement; }; -@@ -18410,7 +18515,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17941,7 +18046,7 @@ interface HTMLQuoteElement extends HTMLElement { cite: string; addEventListener( type: K, @@ -5494,7 +5570,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18420,7 +18525,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17951,7 +18056,7 @@ interface HTMLQuoteElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5503,7 +5579,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18430,7 +18535,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17961,7 +18066,7 @@ interface HTMLQuoteElement extends HTMLElement { ): void; } @@ -5512,7 +5588,7 @@ prototype: HTMLQuoteElement; new (): HTMLQuoteElement; }; -@@ -18488,7 +18593,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18053,7 +18158,7 @@ interface HTMLScriptElement extends HTMLElement { type: string; addEventListener( type: K, @@ -5521,7 +5597,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18498,7 +18603,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18063,7 +18168,7 @@ interface HTMLScriptElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5530,7 +5606,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18508,7 +18613,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18073,7 +18178,7 @@ interface HTMLScriptElement extends HTMLElement { ): void; } @@ -5539,7 +5615,7 @@ prototype: HTMLScriptElement; new (): HTMLScriptElement; /** -@@ -18727,7 +18832,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18252,7 +18357,7 @@ interface HTMLSelectElement extends HTMLElement { showPicker(): void; addEventListener( type: K, @@ -5548,7 +5624,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18737,7 +18842,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18262,7 +18367,7 @@ interface HTMLSelectElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5557,7 +5633,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18748,7 +18853,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18273,7 +18378,7 @@ interface HTMLSelectElement extends HTMLElement { [name: number]: HTMLOptionElement | HTMLOptGroupElement; } @@ -5566,7 +5642,7 @@ prototype: HTMLSelectElement; new (): HTMLSelectElement; }; -@@ -18769,15 +18874,15 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18294,15 +18399,15 @@ interface HTMLSlotElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assignedElements) */ @@ -5585,7 +5661,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18787,7 +18892,7 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18312,7 +18417,7 @@ interface HTMLSlotElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5594,7 +5670,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18797,7 +18902,7 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18322,7 +18427,7 @@ interface HTMLSlotElement extends HTMLElement { ): void; } @@ -5603,7 +5679,7 @@ prototype: HTMLSlotElement; new (): HTMLSlotElement; }; -@@ -18845,7 +18950,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18355,7 +18460,7 @@ interface HTMLSourceElement extends HTMLElement { width: number; addEventListener( type: K, @@ -5612,7 +5688,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18855,7 +18960,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18365,7 +18470,7 @@ interface HTMLSourceElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5621,7 +5697,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18865,7 +18970,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18375,7 +18480,7 @@ interface HTMLSourceElement extends HTMLElement { ): void; } @@ -5630,7 +5706,7 @@ prototype: HTMLSourceElement; new (): HTMLSourceElement; }; -@@ -18879,7 +18984,7 @@ declare var HTMLSourceElement: { +@@ -18389,7 +18494,7 @@ declare var HTMLSourceElement: { interface HTMLSpanElement extends HTMLElement { addEventListener( type: K, @@ -5639,7 +5715,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18889,7 +18994,7 @@ interface HTMLSpanElement extends HTMLElement { +@@ -18399,7 +18504,7 @@ interface HTMLSpanElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5648,7 +5724,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18899,7 +19004,7 @@ interface HTMLSpanElement extends HTMLElement { +@@ -18409,7 +18514,7 @@ interface HTMLSpanElement extends HTMLElement { ): void; } @@ -5657,7 +5733,7 @@ prototype: HTMLSpanElement; new (): HTMLSpanElement; }; -@@ -18936,7 +19041,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18446,7 +18551,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { type: string; addEventListener( type: K, @@ -5666,7 +5742,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18946,7 +19051,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18456,7 +18561,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { ): void; removeEventListener( type: K, @@ -5675,7 +5751,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18956,7 +19061,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18466,7 +18571,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { ): void; } @@ -5684,7 +5760,7 @@ prototype: HTMLStyleElement; new (): HTMLStyleElement; }; -@@ -18983,7 +19088,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18490,7 +18595,7 @@ interface HTMLTableCaptionElement extends HTMLElement { listener: ( this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K], @@ -5693,7 +5769,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18996,7 +19101,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18503,7 +18608,7 @@ interface HTMLTableCaptionElement extends HTMLElement { listener: ( this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K], @@ -5702,7 +5778,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19006,7 +19111,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18513,7 +18618,7 @@ interface HTMLTableCaptionElement extends HTMLElement { ): void; } @@ -5711,7 +5787,7 @@ prototype: HTMLTableCaptionElement; new (): HTMLTableCaptionElement; }; -@@ -19142,7 +19247,10 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18640,7 +18745,10 @@ interface HTMLTableCellElement extends HTMLElement { width: string; addEventListener( type: K, @@ -5723,7 +5799,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19152,7 +19260,10 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18650,7 +18758,10 @@ interface HTMLTableCellElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5735,7 +5811,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19162,7 +19273,7 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18660,7 +18771,7 @@ interface HTMLTableCellElement extends HTMLElement { ): void; } @@ -5744,7 +5820,7 @@ prototype: HTMLTableCellElement; new (): HTMLTableCellElement; }; -@@ -19225,7 +19336,10 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18720,7 +18831,10 @@ interface HTMLTableColElement extends HTMLElement { width: string; addEventListener( type: K, @@ -5756,7 +5832,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19235,7 +19349,10 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18730,7 +18844,10 @@ interface HTMLTableColElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5768,7 +5844,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19245,7 +19362,7 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18740,7 +18857,7 @@ interface HTMLTableColElement extends HTMLElement { ): void; } @@ -5777,7 +5853,7 @@ prototype: HTMLTableColElement; new (): HTMLTableColElement; }; -@@ -19257,7 +19374,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { +@@ -18752,7 +18869,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K], @@ -5786,7 +5862,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19270,7 +19387,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { +@@ -18765,7 +18882,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K], @@ -5795,7 +5871,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19478,7 +19595,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18973,7 +19090,7 @@ interface HTMLTableElement extends HTMLElement { insertRow(index?: number): HTMLTableRowElement; addEventListener( type: K, @@ -5804,7 +5880,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19488,7 +19605,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18983,7 +19100,7 @@ interface HTMLTableElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5813,7 +5889,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19498,7 +19615,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18993,7 +19110,7 @@ interface HTMLTableElement extends HTMLElement { ): void; } @@ -5822,7 +5898,7 @@ prototype: HTMLTableElement; new (): HTMLTableElement; }; -@@ -19510,7 +19627,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { +@@ -19005,7 +19122,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K], @@ -5831,7 +5907,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19523,7 +19640,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { +@@ -19018,7 +19135,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K], @@ -5840,7 +5916,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19626,7 +19743,10 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19113,7 +19230,10 @@ interface HTMLTableRowElement extends HTMLElement { insertCell(index?: number): HTMLTableCellElement; addEventListener( type: K, @@ -5852,7 +5928,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19636,7 +19756,10 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19123,7 +19243,10 @@ interface HTMLTableRowElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5864,7 +5940,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19646,7 +19769,7 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19133,7 +19256,7 @@ interface HTMLTableRowElement extends HTMLElement { ): void; } @@ -5873,7 +5949,7 @@ prototype: HTMLTableRowElement; new (): HTMLTableRowElement; }; -@@ -19726,7 +19849,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19205,7 +19328,7 @@ interface HTMLTableSectionElement extends HTMLElement { listener: ( this: HTMLTableSectionElement, ev: HTMLElementEventMap[K], @@ -5882,7 +5958,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19739,7 +19862,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19218,7 +19341,7 @@ interface HTMLTableSectionElement extends HTMLElement { listener: ( this: HTMLTableSectionElement, ev: HTMLElementEventMap[K], @@ -5891,7 +5967,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19749,7 +19872,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19228,7 +19351,7 @@ interface HTMLTableSectionElement extends HTMLElement { ): void; } @@ -5900,8 +5976,8 @@ prototype: HTMLTableSectionElement; new (): HTMLTableSectionElement; }; -@@ -19771,7 +19894,10 @@ interface HTMLTemplateElement extends HTMLElement { - shadowRootMode: string; +@@ -19269,7 +19392,10 @@ interface HTMLTemplateElement extends HTMLElement { + shadowRootSerializable: boolean; addEventListener( type: K, - listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, @@ -5912,7 +5988,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19781,7 +19907,10 @@ interface HTMLTemplateElement extends HTMLElement { +@@ -19279,7 +19405,10 @@ interface HTMLTemplateElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5924,7 +6000,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19791,7 +19920,7 @@ interface HTMLTemplateElement extends HTMLElement { +@@ -19289,7 +19418,7 @@ interface HTMLTemplateElement extends HTMLElement { ): void; } @@ -5933,7 +6009,7 @@ prototype: HTMLTemplateElement; new (): HTMLTemplateElement; }; -@@ -19918,7 +20047,10 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19409,7 +19538,10 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; addEventListener( type: K, @@ -5945,7 +6021,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19928,7 +20060,10 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19419,7 +19551,10 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5957,7 +6033,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19938,7 +20073,7 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19429,7 +19564,7 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; } @@ -5966,7 +6042,7 @@ prototype: HTMLTextAreaElement; new (): HTMLTextAreaElement; }; -@@ -19957,7 +20092,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19448,7 +19583,7 @@ interface HTMLTimeElement extends HTMLElement { dateTime: string; addEventListener( type: K, @@ -5975,7 +6051,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19967,7 +20102,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19458,7 +19593,7 @@ interface HTMLTimeElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5984,7 +6060,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19977,7 +20112,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19468,7 +19603,7 @@ interface HTMLTimeElement extends HTMLElement { ): void; } @@ -5993,7 +6069,7 @@ prototype: HTMLTimeElement; new (): HTMLTimeElement; }; -@@ -19998,7 +20133,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19489,7 +19624,7 @@ interface HTMLTitleElement extends HTMLElement { text: string; addEventListener( type: K, @@ -6002,7 +6078,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20008,7 +20143,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19499,7 +19634,7 @@ interface HTMLTitleElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -6011,7 +6087,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20018,7 +20153,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19509,7 +19644,7 @@ interface HTMLTitleElement extends HTMLElement { ): void; } @@ -6020,7 +6096,7 @@ prototype: HTMLTitleElement; new (): HTMLTitleElement; }; -@@ -20073,7 +20208,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19541,7 +19676,7 @@ interface HTMLTrackElement extends HTMLElement { readonly ERROR: 3; addEventListener( type: K, @@ -6029,7 +6105,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20083,7 +20218,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19551,7 +19686,7 @@ interface HTMLTrackElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -6038,7 +6114,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20093,7 +20228,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19561,7 +19696,7 @@ interface HTMLTrackElement extends HTMLElement { ): void; } @@ -6047,7 +6123,7 @@ prototype: HTMLTrackElement; new (): HTMLTrackElement; readonly NONE: 0; -@@ -20126,7 +20261,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19584,7 +19719,7 @@ interface HTMLUListElement extends HTMLElement { type: string; addEventListener( type: K, @@ -6056,7 +6132,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20136,7 +20271,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19594,7 +19729,7 @@ interface HTMLUListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -6065,7 +6141,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20146,7 +20281,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19604,7 +19739,7 @@ interface HTMLUListElement extends HTMLElement { ): void; } @@ -6074,7 +6150,7 @@ prototype: HTMLUListElement; new (): HTMLUListElement; }; -@@ -20161,7 +20296,7 @@ declare var HTMLUListElement: { +@@ -19619,7 +19754,7 @@ declare var HTMLUListElement: { interface HTMLUnknownElement extends HTMLElement { addEventListener( type: K, @@ -6083,7 +6159,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20171,7 +20306,7 @@ interface HTMLUnknownElement extends HTMLElement { +@@ -19629,7 +19764,7 @@ interface HTMLUnknownElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -6092,7 +6168,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20181,7 +20316,7 @@ interface HTMLUnknownElement extends HTMLElement { +@@ -19639,7 +19774,7 @@ interface HTMLUnknownElement extends HTMLElement { ): void; } @@ -6101,7 +6177,7 @@ prototype: HTMLUnknownElement; new (): HTMLUnknownElement; }; -@@ -20214,12 +20349,16 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19672,12 +19807,16 @@ interface HTMLVideoElement extends HTMLMediaElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */ @@ -6120,7 +6196,7 @@ /** * Gets or sets the playsinline of the video element. for example, On iPhone, * video elements will now be allowed to play inline, and will not -@@ -20272,7 +20411,10 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19738,7 +19877,10 @@ interface HTMLVideoElement extends HTMLMediaElement { requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -6132,7 +6208,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20282,7 +20424,10 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19748,7 +19890,10 @@ interface HTMLVideoElement extends HTMLMediaElement { ): void; removeEventListener( type: K, @@ -6144,7 +6220,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20292,7 +20437,7 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19758,7 +19903,7 @@ interface HTMLVideoElement extends HTMLMediaElement { ): void; } @@ -6153,7 +6229,7 @@ prototype: HTMLVideoElement; new (): HTMLVideoElement; }; -@@ -20319,7 +20464,7 @@ interface HashChangeEvent extends Event { +@@ -19785,7 +19930,7 @@ interface HashChangeEvent extends Event { readonly oldURL: string; } @@ -6162,7 +6238,7 @@ prototype: HashChangeEvent; new (type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent; }; -@@ -20346,18 +20491,18 @@ interface Headers { +@@ -19812,18 +19957,18 @@ interface Headers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie) */ @@ -6184,7 +6260,7 @@ prototype: Headers; new (init?: HeadersInit): Headers; }; -@@ -20377,13 +20522,13 @@ interface Highlight { +@@ -19843,13 +19988,13 @@ interface Highlight { key: AbstractRange, parent: Highlight, ) => void, @@ -6201,7 +6277,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry) */ -@@ -20394,11 +20539,11 @@ interface HighlightRegistry { +@@ -19860,11 +20005,11 @@ interface HighlightRegistry { key: string, parent: HighlightRegistry, ) => void, @@ -6215,7 +6291,7 @@ prototype: HighlightRegistry; new (): HighlightRegistry; }; -@@ -20418,7 +20563,7 @@ interface History { +@@ -19884,7 +20029,7 @@ interface History { */ scrollRestoration: ScrollRestoration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/state) */ @@ -6224,7 +6300,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/back) */ back(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/forward) */ -@@ -20429,15 +20574,15 @@ interface History { +@@ -19895,15 +20040,15 @@ interface History { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/History/pushState) */ @@ -6243,7 +6319,7 @@ prototype: History; new (): History; }; -@@ -20527,10 +20672,10 @@ interface IDBCursor { +@@ -19993,10 +20138,10 @@ interface IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update) */ @@ -6256,7 +6332,7 @@ prototype: IDBCursor; new (): IDBCursor; }; -@@ -20550,10 +20695,10 @@ interface IDBCursorWithValue extends IDBCursor { +@@ -20016,10 +20161,10 @@ interface IDBCursorWithValue extends IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value) */ @@ -6269,7 +6345,7 @@ prototype: IDBCursorWithValue; new (): IDBCursorWithValue; }; -@@ -20588,19 +20733,19 @@ interface IDBDatabase extends EventTarget { +@@ -20054,19 +20199,19 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames) */ readonly objectStoreNames: DOMStringList; @@ -6293,7 +6369,7 @@ | null; /** * Returns the version of the database. -@@ -20648,13 +20793,13 @@ interface IDBDatabase extends EventTarget { +@@ -20114,13 +20259,13 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) */ transaction( @@ -6309,7 +6385,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20664,7 +20809,7 @@ interface IDBDatabase extends EventTarget { +@@ -20130,7 +20275,7 @@ interface IDBDatabase extends EventTarget { ): void; removeEventListener( type: K, @@ -6318,7 +6394,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20674,7 +20819,7 @@ interface IDBDatabase extends EventTarget { +@@ -20140,7 +20285,7 @@ interface IDBDatabase extends EventTarget { ): void; } @@ -6327,7 +6403,7 @@ prototype: IDBDatabase; new (): IDBDatabase; }; -@@ -20695,12 +20840,12 @@ interface IDBFactory { +@@ -20161,12 +20306,12 @@ interface IDBFactory { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp) */ @@ -6342,7 +6418,7 @@ /** * Attempts to delete the named database. If the database already exists and * there are open connections that don't close in response to a versionchange -@@ -20721,7 +20866,7 @@ interface IDBFactory { +@@ -20187,7 +20332,7 @@ interface IDBFactory { open(name: string, version?: number): IDBOpenDBRequest; } @@ -6351,7 +6427,7 @@ prototype: IDBFactory; new (): IDBFactory; }; -@@ -20739,7 +20884,7 @@ interface IDBIndex { +@@ -20205,7 +20350,7 @@ interface IDBIndex { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath) */ @@ -6360,7 +6436,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry) -@@ -20778,7 +20923,7 @@ interface IDBIndex { +@@ -20244,7 +20389,7 @@ interface IDBIndex { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get) */ @@ -6369,7 +6445,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -20790,7 +20935,7 @@ interface IDBIndex { +@@ -20256,7 +20401,7 @@ interface IDBIndex { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6378,7 +6454,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -20803,7 +20948,7 @@ interface IDBIndex { +@@ -20269,7 +20414,7 @@ interface IDBIndex { getAllKeys( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6387,7 +6463,7 @@ /** * Retrieves the key of the first record matching the given key or key range * in query. -@@ -20844,7 +20989,7 @@ interface IDBIndex { +@@ -20310,7 +20455,7 @@ interface IDBIndex { ): IDBRequest; } @@ -6396,7 +6472,7 @@ prototype: IDBIndex; new (): IDBIndex; }; -@@ -20866,7 +21011,7 @@ interface IDBKeyRange { +@@ -20332,7 +20477,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower) */ @@ -6405,7 +6481,7 @@ /** * Returns true if the lower open flag is set, and false otherwise. * -@@ -20880,7 +21025,7 @@ interface IDBKeyRange { +@@ -20346,7 +20491,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper) */ @@ -6414,7 +6490,7 @@ /** * Returns true if the upper open flag is set, and false otherwise. * -@@ -20894,10 +21039,10 @@ interface IDBKeyRange { +@@ -20360,10 +20505,10 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes) */ @@ -6427,7 +6503,7 @@ prototype: IDBKeyRange; new (): IDBKeyRange; /** -@@ -20909,8 +21054,8 @@ declare var IDBKeyRange: { +@@ -20375,8 +20520,8 @@ declare var IDBKeyRange: { * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static) */ bound( @@ -6438,7 +6514,7 @@ lowerOpen?: boolean, upperOpen?: boolean, ): IDBKeyRange; -@@ -20921,14 +21066,14 @@ declare var IDBKeyRange: { +@@ -20387,14 +20532,14 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static) */ @@ -6455,7 +6531,7 @@ /** * Returns a new IDBKeyRange with no lower bound and ending at key. If open is * true, key is not included in the range. -@@ -20936,7 +21081,7 @@ declare var IDBKeyRange: { +@@ -20402,7 +20547,7 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static) */ @@ -6464,7 +6540,7 @@ }; /** -@@ -20969,7 +21114,7 @@ interface IDBObjectStore { +@@ -20435,7 +20580,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath) */ @@ -6473,7 +6549,7 @@ /** * Returns the name of the store. * -@@ -20999,7 +21144,7 @@ interface IDBObjectStore { +@@ -20465,7 +20610,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add) */ @@ -6482,7 +6558,7 @@ /** * Deletes all records in store. * -@@ -21033,7 +21178,7 @@ interface IDBObjectStore { +@@ -20499,7 +20644,7 @@ interface IDBObjectStore { */ createIndex( name: string, @@ -6491,7 +6567,7 @@ options?: IDBIndexParameters, ): IDBIndex; /** -@@ -21066,7 +21211,7 @@ interface IDBObjectStore { +@@ -20532,7 +20677,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get) */ @@ -6500,7 +6576,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -21079,7 +21224,7 @@ interface IDBObjectStore { +@@ -20545,7 +20690,7 @@ interface IDBObjectStore { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6509,7 +6585,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -21092,7 +21237,7 @@ interface IDBObjectStore { +@@ -20558,7 +20703,7 @@ interface IDBObjectStore { getAllKeys( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6518,7 +6594,7 @@ /** * Retrieves the key of the first record matching the given key or key range * in query. -@@ -21152,10 +21297,10 @@ interface IDBObjectStore { +@@ -20618,10 +20763,10 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put) */ @@ -6531,7 +6607,7 @@ prototype: IDBObjectStore; new (): IDBObjectStore; }; -@@ -21176,18 +21321,21 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20642,18 +20787,21 @@ interface IDBOpenDBRequest extends IDBRequest { * Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */ onblocked: @@ -6556,7 +6632,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21197,7 +21345,10 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20663,7 +20811,10 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; removeEventListener( type: K, @@ -6568,7 +6644,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21207,7 +21358,7 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20673,7 +20824,7 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; } @@ -6577,7 +6653,7 @@ prototype: IDBOpenDBRequest; new (): IDBOpenDBRequest; }; -@@ -21225,7 +21376,7 @@ interface IDBRequestEventMap { +@@ -20691,7 +20842,7 @@ interface IDBRequestEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest) */ @@ -6586,7 +6662,7 @@ /** * When a request is completed, returns the error (a DOMException), or null if * the request succeeded. Throws a "InvalidStateError" DOMException if the -@@ -21239,12 +21390,12 @@ interface IDBRequest extends EventTarget { +@@ -20705,12 +20856,12 @@ interface IDBRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */ @@ -6601,7 +6677,7 @@ /** * Returns "pending" until a request is complete, then returns "done". * -@@ -21280,7 +21431,7 @@ interface IDBRequest extends EventTarget { +@@ -20746,7 +20897,7 @@ interface IDBRequest extends EventTarget { readonly transaction: IDBTransaction | null; addEventListener( type: K, @@ -6610,7 +6686,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21290,7 +21441,7 @@ interface IDBRequest extends EventTarget { +@@ -20756,7 +20907,7 @@ interface IDBRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -6619,7 +6695,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21300,7 +21451,7 @@ interface IDBRequest extends EventTarget { +@@ -20766,7 +20917,7 @@ interface IDBRequest extends EventTarget { ): void; } @@ -6628,7 +6704,7 @@ prototype: IDBRequest; new (): IDBRequest; }; -@@ -21353,17 +21504,17 @@ interface IDBTransaction extends EventTarget { +@@ -20819,17 +20970,17 @@ interface IDBTransaction extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -6649,7 +6725,7 @@ /** * Aborts the transaction. All pending requests will fail with a "AbortError" * DOMException and all changes made to the database will be reverted. -@@ -21386,7 +21537,7 @@ interface IDBTransaction extends EventTarget { +@@ -20852,7 +21003,7 @@ interface IDBTransaction extends EventTarget { objectStore(name: string): IDBObjectStore; addEventListener( type: K, @@ -6658,7 +6734,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21396,7 +21547,7 @@ interface IDBTransaction extends EventTarget { +@@ -20862,7 +21013,7 @@ interface IDBTransaction extends EventTarget { ): void; removeEventListener( type: K, @@ -6667,7 +6743,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21406,7 +21557,7 @@ interface IDBTransaction extends EventTarget { +@@ -20872,7 +21023,7 @@ interface IDBTransaction extends EventTarget { ): void; } @@ -6676,7 +6752,7 @@ prototype: IDBTransaction; new (): IDBTransaction; }; -@@ -21432,7 +21583,7 @@ interface IDBVersionChangeEvent extends Event { +@@ -20898,7 +21049,7 @@ interface IDBVersionChangeEvent extends Event { readonly oldVersion: number; } @@ -6685,7 +6761,7 @@ prototype: IDBVersionChangeEvent; new ( type: string, -@@ -21461,7 +21612,7 @@ interface IIRFilterNode extends AudioNode { +@@ -20927,7 +21078,7 @@ interface IIRFilterNode extends AudioNode { ): void; } @@ -6694,7 +6770,7 @@ prototype: IIRFilterNode; new (context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode; }; -@@ -21480,7 +21631,7 @@ interface IdleDeadline { +@@ -20946,7 +21097,7 @@ interface IdleDeadline { timeRemaining(): DOMHighResTimeStamp; } @@ -6703,7 +6779,7 @@ prototype: IdleDeadline; new (): IdleDeadline; }; -@@ -21510,7 +21661,7 @@ interface ImageBitmap { +@@ -20976,7 +21127,7 @@ interface ImageBitmap { close(): void; } @@ -6712,7 +6788,7 @@ prototype: ImageBitmap; new (): ImageBitmap; }; -@@ -21533,7 +21684,7 @@ interface ImageBitmapRenderingContext { +@@ -20999,7 +21150,7 @@ interface ImageBitmapRenderingContext { transferFromImageBitmap(bitmap: ImageBitmap | null): void; } @@ -6721,7 +6797,7 @@ prototype: ImageBitmapRenderingContext; new (): ImageBitmapRenderingContext; }; -@@ -21577,7 +21728,7 @@ interface ImageData { +@@ -21043,7 +21194,7 @@ interface ImageData { readonly width: number; } @@ -6730,7 +6806,7 @@ prototype: ImageData; new (sw: number, sh: number, settings?: ImageDataSettings): ImageData; new ( -@@ -21609,7 +21760,7 @@ interface InputDeviceInfo extends MediaDeviceInfo { +@@ -21072,7 +21223,7 @@ interface InputDeviceInfo extends MediaDeviceInfo { getCapabilities(): MediaTrackCapabilities; } @@ -6739,7 +6815,7 @@ prototype: InputDeviceInfo; new (): InputDeviceInfo; }; -@@ -21637,10 +21788,10 @@ interface InputEvent extends UIEvent { +@@ -21100,10 +21251,10 @@ interface InputEvent extends UIEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/getTargetRanges) */ @@ -6752,7 +6828,7 @@ prototype: InputEvent; new (type: string, eventInitDict?: InputEventInit): InputEvent; }; -@@ -21683,7 +21834,7 @@ interface IntersectionObserver { +@@ -21146,7 +21297,7 @@ interface IntersectionObserver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/takeRecords) */ @@ -6761,7 +6837,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/unobserve) -@@ -21691,7 +21842,7 @@ interface IntersectionObserver { +@@ -21154,7 +21305,7 @@ interface IntersectionObserver { unobserve(target: Element): void; } @@ -6770,7 +6846,7 @@ prototype: IntersectionObserver; new ( callback: IntersectionObserverCallback, -@@ -21745,7 +21896,7 @@ interface IntersectionObserverEntry { +@@ -21208,7 +21359,7 @@ interface IntersectionObserverEntry { readonly time: DOMHighResTimeStamp; } @@ -6779,7 +6855,7 @@ prototype: IntersectionObserverEntry; new ( intersectionObserverEntryInit: IntersectionObserverEntryInit, -@@ -21856,7 +22007,7 @@ interface KeyboardEvent extends UIEvent { +@@ -21319,7 +21470,7 @@ interface KeyboardEvent extends UIEvent { readonly DOM_KEY_LOCATION_NUMPAD: 0x03; } @@ -6788,7 +6864,7 @@ prototype: KeyboardEvent; new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent; readonly DOM_KEY_LOCATION_STANDARD: 0x00; -@@ -21891,19 +22042,21 @@ interface KeyframeEffect extends AnimationEffect { +@@ -21354,19 +21505,21 @@ interface KeyframeEffect extends AnimationEffect { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/getKeyframes) */ @@ -6814,7 +6890,20 @@ options?: number | KeyframeEffectOptions, ): KeyframeEffect; new (source: KeyframeEffect): KeyframeEffect; -@@ -22036,7 +22189,7 @@ interface Location { +@@ -21411,10 +21564,10 @@ interface LargestContentfulPaint extends PerformanceEntry { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; + } + +-declare var LargestContentfulPaint: { ++declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; + }; +@@ -21546,7 +21699,7 @@ interface Location { replace(url: string | URL): void; } @@ -6823,7 +6912,7 @@ prototype: Location; new (): Location; }; -@@ -22053,7 +22206,7 @@ interface Lock { +@@ -21563,7 +21716,7 @@ interface Lock { readonly name: string; } @@ -6832,7 +6921,7 @@ prototype: Lock; new (): Lock; }; -@@ -22073,15 +22226,15 @@ interface LockManager { +@@ -21583,15 +21736,15 @@ interface LockManager { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request) */ @@ -6851,7 +6940,7 @@ prototype: LockManager; new (): LockManager; }; -@@ -22105,7 +22258,7 @@ interface MIDIAccess extends EventTarget { +@@ -21615,7 +21768,7 @@ interface MIDIAccess extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */ @@ -6860,7 +6949,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs) -@@ -22118,7 +22271,7 @@ interface MIDIAccess extends EventTarget { +@@ -21628,7 +21781,7 @@ interface MIDIAccess extends EventTarget { readonly sysexEnabled: boolean; addEventListener( type: K, @@ -6869,7 +6958,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22128,7 +22281,7 @@ interface MIDIAccess extends EventTarget { +@@ -21638,7 +21791,7 @@ interface MIDIAccess extends EventTarget { ): void; removeEventListener( type: K, @@ -6878,7 +6967,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22138,7 +22291,7 @@ interface MIDIAccess extends EventTarget { +@@ -21648,7 +21801,7 @@ interface MIDIAccess extends EventTarget { ): void; } @@ -6887,7 +6976,7 @@ prototype: MIDIAccess; new (): MIDIAccess; }; -@@ -22157,7 +22310,7 @@ interface MIDIConnectionEvent extends Event { +@@ -21667,7 +21820,7 @@ interface MIDIConnectionEvent extends Event { readonly port: MIDIPort | null; } @@ -6896,7 +6985,7 @@ prototype: MIDIConnectionEvent; new ( type: string, -@@ -22179,10 +22332,10 @@ interface MIDIInput extends MIDIPort { +@@ -21689,10 +21842,10 @@ interface MIDIInput extends MIDIPort { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */ @@ -6909,7 +6998,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22192,7 +22345,7 @@ interface MIDIInput extends MIDIPort { +@@ -21702,7 +21855,7 @@ interface MIDIInput extends MIDIPort { ): void; removeEventListener( type: K, @@ -6918,7 +7007,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22202,7 +22355,7 @@ interface MIDIInput extends MIDIPort { +@@ -21712,7 +21865,7 @@ interface MIDIInput extends MIDIPort { ): void; } @@ -6927,7 +7016,7 @@ prototype: MIDIInput; new (): MIDIInput; }; -@@ -22215,11 +22368,11 @@ declare var MIDIInput: { +@@ -21725,11 +21878,11 @@ declare var MIDIInput: { interface MIDIInputMap { forEach( callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, @@ -6941,7 +7030,7 @@ prototype: MIDIInputMap; new (): MIDIInputMap; }; -@@ -22237,7 +22390,7 @@ interface MIDIMessageEvent extends Event { +@@ -21747,7 +21900,7 @@ interface MIDIMessageEvent extends Event { readonly data: Uint8Array | null; } @@ -6950,7 +7039,7 @@ prototype: MIDIMessageEvent; new (type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent; }; -@@ -22249,10 +22402,10 @@ declare var MIDIMessageEvent: { +@@ -21759,10 +21912,10 @@ declare var MIDIMessageEvent: { */ interface MIDIOutput extends MIDIPort { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */ @@ -6963,7 +7052,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22262,7 +22415,7 @@ interface MIDIOutput extends MIDIPort { +@@ -21772,7 +21925,7 @@ interface MIDIOutput extends MIDIPort { ): void; removeEventListener( type: K, @@ -6972,7 +7061,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22272,7 +22425,7 @@ interface MIDIOutput extends MIDIPort { +@@ -21782,7 +21935,7 @@ interface MIDIOutput extends MIDIPort { ): void; } @@ -6981,7 +7070,7 @@ prototype: MIDIOutput; new (): MIDIOutput; }; -@@ -22285,11 +22438,11 @@ declare var MIDIOutput: { +@@ -21795,11 +21948,11 @@ declare var MIDIOutput: { interface MIDIOutputMap { forEach( callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, @@ -6995,7 +7084,7 @@ prototype: MIDIOutputMap; new (): MIDIOutputMap; }; -@@ -22322,7 +22475,7 @@ interface MIDIPort extends EventTarget { +@@ -21832,7 +21985,7 @@ interface MIDIPort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */ @@ -7004,7 +7093,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state) */ readonly state: MIDIPortDeviceState; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type) */ -@@ -22338,7 +22491,7 @@ interface MIDIPort extends EventTarget { +@@ -21848,7 +22001,7 @@ interface MIDIPort extends EventTarget { open(): Promise; addEventListener( type: K, @@ -7013,7 +7102,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22348,7 +22501,7 @@ interface MIDIPort extends EventTarget { +@@ -21858,7 +22011,7 @@ interface MIDIPort extends EventTarget { ): void; removeEventListener( type: K, @@ -7022,7 +7111,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22358,7 +22511,7 @@ interface MIDIPort extends EventTarget { +@@ -21868,7 +22021,7 @@ interface MIDIPort extends EventTarget { ): void; } @@ -7031,7 +7120,7 @@ prototype: MIDIPort; new (): MIDIPort; }; -@@ -22375,7 +22528,7 @@ interface MathMLElement +@@ -21885,7 +22038,7 @@ interface MathMLElement HTMLOrSVGElement { addEventListener( type: K, @@ -7040,7 +7129,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22385,7 +22538,7 @@ interface MathMLElement +@@ -21895,7 +22048,7 @@ interface MathMLElement ): void; removeEventListener( type: K, @@ -7049,7 +7138,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22395,7 +22548,7 @@ interface MathMLElement +@@ -21905,7 +22058,7 @@ interface MathMLElement ): void; } @@ -7058,7 +7147,7 @@ prototype: MathMLElement; new (): MathMLElement; }; -@@ -22418,7 +22571,7 @@ interface MediaCapabilities { +@@ -21928,7 +22081,7 @@ interface MediaCapabilities { ): Promise; } @@ -7067,7 +7156,7 @@ prototype: MediaCapabilities; new (): MediaCapabilities; }; -@@ -22454,10 +22607,10 @@ interface MediaDeviceInfo { +@@ -21964,10 +22117,10 @@ interface MediaDeviceInfo { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/toJSON) */ @@ -7080,7 +7169,7 @@ prototype: MediaDeviceInfo; new (): MediaDeviceInfo; }; -@@ -22478,12 +22631,12 @@ interface MediaDevices extends EventTarget { +@@ -21988,12 +22141,12 @@ interface MediaDevices extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/devicechange_event) */ @@ -7095,7 +7184,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/getDisplayMedia) -@@ -22501,7 +22654,7 @@ interface MediaDevices extends EventTarget { +@@ -22011,7 +22164,7 @@ interface MediaDevices extends EventTarget { getUserMedia(constraints?: MediaStreamConstraints): Promise; addEventListener( type: K, @@ -7104,7 +7193,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22511,7 +22664,7 @@ interface MediaDevices extends EventTarget { +@@ -22021,7 +22174,7 @@ interface MediaDevices extends EventTarget { ): void; removeEventListener( type: K, @@ -7113,7 +7202,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22521,7 +22674,7 @@ interface MediaDevices extends EventTarget { +@@ -22031,7 +22184,7 @@ interface MediaDevices extends EventTarget { ): void; } @@ -7122,7 +7211,7 @@ prototype: MediaDevices; new (): MediaDevices; }; -@@ -22544,7 +22697,7 @@ interface MediaElementAudioSourceNode extends AudioNode { +@@ -22054,7 +22207,7 @@ interface MediaElementAudioSourceNode extends AudioNode { readonly mediaElement: HTMLMediaElement; } @@ -7131,7 +7220,7 @@ prototype: MediaElementAudioSourceNode; new ( context: AudioContext, -@@ -22569,7 +22722,7 @@ interface MediaEncryptedEvent extends Event { +@@ -22079,7 +22232,7 @@ interface MediaEncryptedEvent extends Event { readonly initDataType: string; } @@ -7140,7 +7229,7 @@ prototype: MediaEncryptedEvent; new ( type: string, -@@ -22597,7 +22750,7 @@ interface MediaError { +@@ -22107,7 +22260,7 @@ interface MediaError { readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4; } @@ -7149,7 +7238,7 @@ prototype: MediaError; new (): MediaError; readonly MEDIA_ERR_ABORTED: 1; -@@ -22627,7 +22780,7 @@ interface MediaKeyMessageEvent extends Event { +@@ -22137,7 +22290,7 @@ interface MediaKeyMessageEvent extends Event { readonly messageType: MediaKeyMessageType; } @@ -7158,7 +7247,7 @@ prototype: MediaKeyMessageEvent; new ( type: string, -@@ -22667,12 +22820,14 @@ interface MediaKeySession extends EventTarget { +@@ -22177,12 +22330,14 @@ interface MediaKeySession extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/keystatuseschange_event) */ @@ -7175,7 +7264,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/sessionId) -@@ -22705,7 +22860,10 @@ interface MediaKeySession extends EventTarget { +@@ -22215,7 +22370,10 @@ interface MediaKeySession extends EventTarget { update(response: BufferSource): Promise; addEventListener( type: K, @@ -7187,7 +7276,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22715,7 +22873,10 @@ interface MediaKeySession extends EventTarget { +@@ -22225,7 +22383,10 @@ interface MediaKeySession extends EventTarget { ): void; removeEventListener( type: K, @@ -7199,7 +7288,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22725,7 +22886,7 @@ interface MediaKeySession extends EventTarget { +@@ -22235,7 +22396,7 @@ interface MediaKeySession extends EventTarget { ): void; } @@ -7208,7 +7297,7 @@ prototype: MediaKeySession; new (): MediaKeySession; }; -@@ -22758,11 +22919,11 @@ interface MediaKeyStatusMap { +@@ -22268,11 +22429,11 @@ interface MediaKeyStatusMap { key: BufferSource, parent: MediaKeyStatusMap, ) => void, @@ -7222,7 +7311,7 @@ prototype: MediaKeyStatusMap; new (): MediaKeyStatusMap; }; -@@ -22794,7 +22955,7 @@ interface MediaKeySystemAccess { +@@ -22304,7 +22465,7 @@ interface MediaKeySystemAccess { getConfiguration(): MediaKeySystemConfiguration; } @@ -7231,7 +7320,7 @@ prototype: MediaKeySystemAccess; new (): MediaKeySystemAccess; }; -@@ -22819,7 +22980,7 @@ interface MediaKeys { +@@ -22330,7 +22491,7 @@ interface MediaKeys { setServerCertificate(serverCertificate: BufferSource): Promise; } @@ -7240,7 +7329,7 @@ prototype: MediaKeys; new (): MediaKeys; }; -@@ -22852,7 +23013,7 @@ interface MediaList { +@@ -22363,7 +22524,7 @@ interface MediaList { [index: number]: string; } @@ -7249,7 +7338,7 @@ prototype: MediaList; new (): MediaList; }; -@@ -22881,7 +23042,7 @@ interface MediaMetadata { +@@ -22392,7 +22553,7 @@ interface MediaMetadata { title: string; } @@ -7258,7 +7347,7 @@ prototype: MediaMetadata; new (init?: MediaMetadataInit): MediaMetadata; }; -@@ -22912,7 +23073,7 @@ interface MediaQueryList extends EventTarget { +@@ -22423,7 +22584,7 @@ interface MediaQueryList extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/change_event) */ @@ -7267,7 +7356,7 @@ /** * @deprecated * -@@ -22920,7 +23081,9 @@ interface MediaQueryList extends EventTarget { +@@ -22431,7 +22592,9 @@ interface MediaQueryList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/addListener) */ addListener( @@ -7278,7 +7367,7 @@ ): void; /** * @deprecated -@@ -22929,11 +23092,13 @@ interface MediaQueryList extends EventTarget { +@@ -22440,11 +22603,13 @@ interface MediaQueryList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/removeListener) */ removeListener( @@ -7294,7 +7383,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22943,7 +23108,7 @@ interface MediaQueryList extends EventTarget { +@@ -22454,7 +22619,7 @@ interface MediaQueryList extends EventTarget { ): void; removeEventListener( type: K, @@ -7303,7 +7392,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22953,7 +23118,7 @@ interface MediaQueryList extends EventTarget { +@@ -22464,7 +22629,7 @@ interface MediaQueryList extends EventTarget { ): void; } @@ -7312,7 +7401,7 @@ prototype: MediaQueryList; new (): MediaQueryList; }; -@@ -22975,7 +23140,7 @@ interface MediaQueryListEvent extends Event { +@@ -22486,7 +22651,7 @@ interface MediaQueryListEvent extends Event { readonly media: string; } @@ -7321,7 +7410,7 @@ prototype: MediaQueryListEvent; new ( type: string, -@@ -23008,32 +23173,32 @@ interface MediaRecorder extends EventTarget { +@@ -22519,32 +22684,32 @@ interface MediaRecorder extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */ @@ -7360,7 +7449,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/state) -@@ -23076,7 +23241,7 @@ interface MediaRecorder extends EventTarget { +@@ -22587,7 +22752,7 @@ interface MediaRecorder extends EventTarget { stop(): void; addEventListener( type: K, @@ -7369,7 +7458,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23086,7 +23251,7 @@ interface MediaRecorder extends EventTarget { +@@ -22597,7 +22762,7 @@ interface MediaRecorder extends EventTarget { ): void; removeEventListener( type: K, @@ -7378,7 +7467,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23096,7 +23261,7 @@ interface MediaRecorder extends EventTarget { +@@ -22607,7 +22772,7 @@ interface MediaRecorder extends EventTarget { ): void; } @@ -7387,7 +7476,7 @@ prototype: MediaRecorder; new (stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder; /** -@@ -23133,7 +23298,7 @@ interface MediaSession { +@@ -22644,7 +22809,7 @@ interface MediaSession { setPositionState(state?: MediaPositionState): void; } @@ -7396,28 +7485,20 @@ prototype: MediaSession; new (): MediaSession; }; -@@ -23166,17 +23331,17 @@ interface MediaSource extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) +@@ -22673,9 +22838,9 @@ interface MediaSource extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ + duration: number; - onsourceclose: ((this: MediaSource, ev: Event) => any) | null; -+ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ - onsourceended: ((this: MediaSource, ev: Event) => any) | null; -+ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ - onsourceopen: ((this: MediaSource, ev: Event) => any) | null; ++ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; ++ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; + onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState) -@@ -23214,7 +23379,7 @@ interface MediaSource extends EventTarget { +@@ -22713,7 +22878,7 @@ interface MediaSource extends EventTarget { setLiveSeekableRange(start: number, end: number): void; addEventListener( type: K, @@ -7426,7 +7507,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23224,7 +23389,7 @@ interface MediaSource extends EventTarget { +@@ -22723,7 +22888,7 @@ interface MediaSource extends EventTarget { ): void; removeEventListener( type: K, @@ -7435,7 +7516,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23234,7 +23399,7 @@ interface MediaSource extends EventTarget { +@@ -22733,7 +22898,7 @@ interface MediaSource extends EventTarget { ): void; } @@ -7444,7 +7525,16 @@ prototype: MediaSource; new (): MediaSource; /** -@@ -23267,12 +23432,16 @@ interface MediaStream extends EventTarget { +@@ -22751,7 +22916,7 @@ declare var MediaSource: { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ + interface MediaSourceHandle {} + +-declare var MediaSourceHandle: { ++declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; + }; +@@ -22779,12 +22944,16 @@ interface MediaStream extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addtrack_event) */ @@ -7463,7 +7553,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addTrack) -@@ -23287,7 +23456,7 @@ interface MediaStream extends EventTarget { +@@ -22799,7 +22968,7 @@ interface MediaStream extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getAudioTracks) */ @@ -7472,7 +7562,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTrackById) -@@ -23297,12 +23466,12 @@ interface MediaStream extends EventTarget { +@@ -22809,12 +22978,12 @@ interface MediaStream extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTracks) */ @@ -7487,7 +7577,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/removeTrack) -@@ -23310,7 +23479,7 @@ interface MediaStream extends EventTarget { +@@ -22822,7 +22991,7 @@ interface MediaStream extends EventTarget { removeTrack(track: MediaStreamTrack): void; addEventListener( type: K, @@ -7496,7 +7586,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23320,7 +23489,7 @@ interface MediaStream extends EventTarget { +@@ -22832,7 +23001,7 @@ interface MediaStream extends EventTarget { ): void; removeEventListener( type: K, @@ -7505,7 +7595,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23330,11 +23499,11 @@ interface MediaStream extends EventTarget { +@@ -22842,11 +23011,11 @@ interface MediaStream extends EventTarget { ): void; } @@ -7519,7 +7609,7 @@ }; /** -@@ -23349,7 +23518,7 @@ interface MediaStreamAudioDestinationNode extends AudioNode { +@@ -22861,7 +23030,7 @@ interface MediaStreamAudioDestinationNode extends AudioNode { readonly stream: MediaStream; } @@ -7528,7 +7618,7 @@ prototype: MediaStreamAudioDestinationNode; new ( context: AudioContext, -@@ -23373,7 +23542,7 @@ interface MediaStreamAudioSourceNode extends AudioNode { +@@ -22885,7 +23054,7 @@ interface MediaStreamAudioSourceNode extends AudioNode { readonly mediaStream: MediaStream; } @@ -7537,7 +7627,7 @@ prototype: MediaStreamAudioSourceNode; new ( context: AudioContext, -@@ -23428,17 +23597,17 @@ interface MediaStreamTrack extends EventTarget { +@@ -22940,17 +23109,17 @@ interface MediaStreamTrack extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/ended_event) */ @@ -7558,7 +7648,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/readyState) -@@ -23476,7 +23645,10 @@ interface MediaStreamTrack extends EventTarget { +@@ -22988,7 +23157,10 @@ interface MediaStreamTrack extends EventTarget { stop(): void; addEventListener( type: K, @@ -7570,7 +7660,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23486,7 +23658,10 @@ interface MediaStreamTrack extends EventTarget { +@@ -22998,7 +23170,10 @@ interface MediaStreamTrack extends EventTarget { ): void; removeEventListener( type: K, @@ -7582,7 +7672,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23496,7 +23671,7 @@ interface MediaStreamTrack extends EventTarget { +@@ -23008,7 +23183,7 @@ interface MediaStreamTrack extends EventTarget { ): void; } @@ -7591,7 +7681,7 @@ prototype: MediaStreamTrack; new (): MediaStreamTrack; }; -@@ -23517,7 +23692,7 @@ interface MediaStreamTrackEvent extends Event { +@@ -23029,7 +23204,7 @@ interface MediaStreamTrackEvent extends Event { readonly track: MediaStreamTrack; } @@ -7600,7 +7690,7 @@ prototype: MediaStreamTrackEvent; new ( type: string, -@@ -23548,7 +23723,7 @@ interface MessageChannel { +@@ -23060,7 +23235,7 @@ interface MessageChannel { readonly port2: MessagePort; } @@ -7609,7 +7699,7 @@ prototype: MessageChannel; new (): MessageChannel; }; -@@ -23558,7 +23733,7 @@ declare var MessageChannel: { +@@ -23070,7 +23245,7 @@ declare var MessageChannel: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent) */ @@ -7618,7 +7708,7 @@ /** * Returns the data of the message. * -@@ -23608,15 +23783,15 @@ interface MessageEvent extends Event { +@@ -23115,15 +23290,15 @@ interface MessageEvent extends Event { type: string, bubbles?: boolean, cancelable?: boolean, @@ -7637,7 +7727,7 @@ prototype: MessageEvent; new (type: string, eventInitDict?: MessageEventInit): MessageEvent; }; -@@ -23638,12 +23813,12 @@ interface MessagePort extends EventTarget { +@@ -23145,12 +23320,12 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/message_event) */ @@ -7652,7 +7742,7 @@ /** * Disconnects the port, so that it is no longer active. * -@@ -23662,8 +23837,8 @@ interface MessagePort extends EventTarget { +@@ -23169,8 +23344,8 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) */ @@ -7663,7 +7753,7 @@ /** * Begins dispatching messages received on the port. * -@@ -23673,7 +23848,7 @@ interface MessagePort extends EventTarget { +@@ -23180,7 +23355,7 @@ interface MessagePort extends EventTarget { start(): void; addEventListener( type: K, @@ -7672,7 +7762,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23683,7 +23858,7 @@ interface MessagePort extends EventTarget { +@@ -23190,7 +23365,7 @@ interface MessagePort extends EventTarget { ): void; removeEventListener( type: K, @@ -7681,7 +7771,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23693,7 +23868,7 @@ interface MessagePort extends EventTarget { +@@ -23200,7 +23375,7 @@ interface MessagePort extends EventTarget { ): void; } @@ -7690,7 +7780,7 @@ prototype: MessagePort; new (): MessagePort; }; -@@ -23745,7 +23920,7 @@ interface MimeType { +@@ -23241,7 +23416,7 @@ interface MimeType { } /** @deprecated */ @@ -7699,7 +7789,7 @@ prototype: MimeType; new (): MimeType; }; -@@ -23785,7 +23960,7 @@ interface MimeTypeArray { +@@ -23266,7 +23441,7 @@ interface MimeTypeArray { } /** @deprecated */ @@ -7708,7 +7798,7 @@ prototype: MimeTypeArray; new (): MimeTypeArray; }; -@@ -23927,7 +24102,7 @@ interface MouseEvent extends UIEvent { +@@ -23408,7 +23583,7 @@ interface MouseEvent extends UIEvent { ): void; } @@ -7717,7 +7807,7 @@ prototype: MouseEvent; new (type: string, eventInitDict?: MouseEventInit): MouseEvent; }; -@@ -24002,7 +24177,7 @@ interface MutationEvent extends Event { +@@ -23483,7 +23658,7 @@ interface MutationEvent extends Event { } /** @deprecated */ @@ -7726,7 +7816,7 @@ prototype: MutationEvent; new (): MutationEvent; readonly MODIFICATION: 1; -@@ -24043,10 +24218,10 @@ interface MutationObserver { +@@ -23524,10 +23699,10 @@ interface MutationObserver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MutationObserver/takeRecords) */ @@ -7739,7 +7829,7 @@ prototype: MutationObserver; new (callback: MutationCallback): MutationObserver; }; -@@ -24132,7 +24307,7 @@ interface MutationRecord { +@@ -23613,7 +23788,7 @@ interface MutationRecord { readonly type: MutationRecordType; } @@ -7748,7 +7838,7 @@ prototype: MutationRecord; new (): MutationRecord; }; -@@ -24188,7 +24363,7 @@ interface NamedNodeMap { +@@ -23669,7 +23844,7 @@ interface NamedNodeMap { [index: number]: Attr; } @@ -7757,7 +7847,7 @@ prototype: NamedNodeMap; new (): NamedNodeMap; }; -@@ -24222,7 +24397,7 @@ interface NavigationPreloadManager { +@@ -23703,7 +23878,7 @@ interface NavigationPreloadManager { setHeaderValue(value: string): Promise; } @@ -7766,7 +7856,7 @@ prototype: NavigationPreloadManager; new (): NavigationPreloadManager; }; -@@ -24336,7 +24511,7 @@ interface Navigator +@@ -23817,7 +23992,7 @@ interface Navigator */ requestMediaKeySystemAccess( keySystem: string, @@ -7775,7 +7865,7 @@ ): Promise; /** * [MDN -@@ -24356,7 +24531,7 @@ interface Navigator +@@ -23837,7 +24012,7 @@ interface Navigator vibrate(pattern: VibratePattern): boolean; } @@ -7784,7 +7874,7 @@ prototype: Navigator; new (): Navigator; }; -@@ -24749,7 +24924,7 @@ interface Node extends EventTarget { +@@ -24230,7 +24405,7 @@ interface Node extends EventTarget { readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20; } @@ -7793,7 +7883,7 @@ prototype: Node; new (): Node; /** Node is an element. */ -@@ -24836,7 +25011,7 @@ interface NodeIterator { +@@ -24317,7 +24492,7 @@ interface NodeIterator { previousNode(): Node | null; } @@ -7802,7 +7892,7 @@ prototype: NodeIterator; new (): NodeIterator; }; -@@ -24872,12 +25047,12 @@ interface NodeList { +@@ -24353,12 +24528,12 @@ interface NodeList { */ forEach( callbackfn: (value: Node, key: number, parent: NodeList) => void, @@ -7817,7 +7907,7 @@ prototype: NodeList; new (): NodeList; }; -@@ -24895,7 +25070,7 @@ interface NodeListOf extends NodeList { +@@ -24376,7 +24551,7 @@ interface NodeListOf extends NodeList { */ forEach( callbackfn: (value: TNode, key: number, parent: NodeListOf) => void, @@ -7826,7 +7916,7 @@ ): void; [index: number]: TNode; } -@@ -24955,7 +25130,7 @@ interface Notification extends EventTarget { +@@ -24436,7 +24611,7 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/data) */ @@ -7835,7 +7925,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir) -@@ -24975,22 +25150,22 @@ interface Notification extends EventTarget { +@@ -24456,22 +24631,22 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */ @@ -7862,7 +7952,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) -@@ -25018,7 +25193,7 @@ interface Notification extends EventTarget { +@@ -24499,7 +24674,7 @@ interface Notification extends EventTarget { close(): void; addEventListener( type: K, @@ -7871,7 +7961,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25028,7 +25203,7 @@ interface Notification extends EventTarget { +@@ -24509,7 +24684,7 @@ interface Notification extends EventTarget { ): void; removeEventListener( type: K, @@ -7880,7 +7970,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25038,7 +25213,7 @@ interface Notification extends EventTarget { +@@ -24519,7 +24694,7 @@ interface Notification extends EventTarget { ): void; } @@ -7889,7 +7979,7 @@ prototype: Notification; new (title: string, options?: NotificationOptions): Notification; /** -@@ -25241,7 +25416,7 @@ interface OfflineAudioCompletionEvent extends Event { +@@ -24722,7 +24897,7 @@ interface OfflineAudioCompletionEvent extends Event { readonly renderedBuffer: AudioBuffer; } @@ -7898,7 +7988,7 @@ prototype: OfflineAudioCompletionEvent; new ( type: string, -@@ -25274,7 +25449,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24755,7 +24930,7 @@ interface OfflineAudioContext extends BaseAudioContext { * Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/complete_event) */ oncomplete: @@ -7907,7 +7997,7 @@ | null; /** * [MDN -@@ -25296,7 +25471,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24777,7 +24952,7 @@ interface OfflineAudioContext extends BaseAudioContext { listener: ( this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K], @@ -7916,7 +8006,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25309,7 +25484,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24790,7 +24965,7 @@ interface OfflineAudioContext extends BaseAudioContext { listener: ( this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K], @@ -7925,7 +8015,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25319,7 +25494,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24800,7 +24975,7 @@ interface OfflineAudioContext extends BaseAudioContext { ): void; } @@ -7934,18 +8024,22 @@ prototype: OfflineAudioContext; new (contextOptions: OfflineAudioContextOptions): OfflineAudioContext; new ( -@@ -25347,8 +25522,8 @@ interface OffscreenCanvas extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) +@@ -24832,12 +25007,12 @@ interface OffscreenCanvas extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ - height: number; - oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; -- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ +- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's * bitmap. -@@ -25394,17 +25569,23 @@ interface OffscreenCanvas extends EventTarget { +@@ -24883,17 +25058,23 @@ interface OffscreenCanvas extends EventTarget { */ getContext( contextId: '2d', @@ -7974,7 +8068,7 @@ ): OffscreenRenderingContext | null; /** * Returns a newly created ImageBitmap object with the image in the -@@ -25417,7 +25598,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -24906,7 +25087,10 @@ interface OffscreenCanvas extends EventTarget { transferToImageBitmap(): ImageBitmap; addEventListener( type: K, @@ -7986,7 +8080,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25427,7 +25611,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -24916,7 +25100,10 @@ interface OffscreenCanvas extends EventTarget { ): void; removeEventListener( type: K, @@ -7998,7 +8092,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25437,7 +25624,7 @@ interface OffscreenCanvas extends EventTarget { +@@ -24926,7 +25113,7 @@ interface OffscreenCanvas extends EventTarget { ): void; } @@ -8007,8 +8101,8 @@ prototype: OffscreenCanvas; new (width: number, height: number): OffscreenCanvas; }; -@@ -25470,7 +25657,7 @@ interface OffscreenCanvasRenderingContext2D - commit(): void; +@@ -24954,7 +25141,7 @@ interface OffscreenCanvasRenderingContext2D + readonly canvas: OffscreenCanvas; } -declare var OffscreenCanvasRenderingContext2D: { @@ -8016,7 +8110,7 @@ prototype: OffscreenCanvasRenderingContext2D; new (): OffscreenCanvasRenderingContext2D; }; -@@ -25509,7 +25696,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -24993,7 +25180,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { listener: ( this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -8025,7 +8119,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25522,7 +25709,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -25006,7 +25193,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { listener: ( this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -8034,7 +8128,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25532,7 +25719,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -25016,7 +25203,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { ): void; } @@ -8043,7 +8137,7 @@ prototype: OscillatorNode; new (context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode; }; -@@ -25549,7 +25736,7 @@ interface OverconstrainedError extends DOMException { +@@ -25033,7 +25220,7 @@ interface OverconstrainedError extends DOMException { readonly constraint: string; } @@ -8052,7 +8146,7 @@ prototype: OverconstrainedError; new (constraint: string, message?: string): OverconstrainedError; }; -@@ -25582,7 +25769,7 @@ interface PageTransitionEvent extends Event { +@@ -25066,7 +25253,7 @@ interface PageTransitionEvent extends Event { readonly persisted: boolean; } @@ -8061,7 +8155,7 @@ prototype: PageTransitionEvent; new ( type: string, -@@ -25684,7 +25871,7 @@ interface PannerNode extends AudioNode { +@@ -25168,7 +25355,7 @@ interface PannerNode extends AudioNode { setPosition(x: number, y: number, z: number): void; } @@ -8070,7 +8164,7 @@ prototype: PannerNode; new (context: BaseAudioContext, options?: PannerOptions): PannerNode; }; -@@ -25811,7 +25998,7 @@ interface Path2D extends CanvasPath { +@@ -25295,7 +25482,7 @@ interface Path2D extends CanvasPath { addPath(path: Path2D, transform?: DOMMatrix2DInit): void; } @@ -8079,7 +8173,7 @@ prototype: Path2D; new (path?: Path2D | string): Path2D; }; -@@ -25827,7 +26014,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { +@@ -25311,7 +25498,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodDetails) */ @@ -8088,7 +8182,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodName) -@@ -25835,7 +26022,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { +@@ -25319,7 +25506,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { readonly methodName: string; } @@ -8097,7 +8191,7 @@ prototype: PaymentMethodChangeEvent; new ( type: string, -@@ -25864,7 +26051,7 @@ interface PaymentRequest extends EventTarget { +@@ -25348,7 +25535,7 @@ interface PaymentRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */ @@ -8106,7 +8200,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) -@@ -25884,7 +26071,7 @@ interface PaymentRequest extends EventTarget { +@@ -25368,7 +25555,7 @@ interface PaymentRequest extends EventTarget { ): Promise; addEventListener( type: K, @@ -8115,7 +8209,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25894,7 +26081,7 @@ interface PaymentRequest extends EventTarget { +@@ -25378,7 +25565,7 @@ interface PaymentRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -8124,7 +8218,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25904,10 +26091,10 @@ interface PaymentRequest extends EventTarget { +@@ -25388,10 +25575,10 @@ interface PaymentRequest extends EventTarget { ): void; } @@ -8137,7 +8231,7 @@ details: PaymentDetailsInit, ): PaymentRequest; }; -@@ -25930,7 +26117,7 @@ interface PaymentRequestUpdateEvent extends Event { +@@ -25414,7 +25601,7 @@ interface PaymentRequestUpdateEvent extends Event { ): void; } @@ -8146,7 +8240,7 @@ prototype: PaymentRequestUpdateEvent; new ( type: string, -@@ -25949,7 +26136,7 @@ interface PaymentResponse extends EventTarget { +@@ -25433,7 +25620,7 @@ interface PaymentResponse extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details) */ @@ -8155,7 +8249,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) -@@ -25974,10 +26161,10 @@ interface PaymentResponse extends EventTarget { +@@ -25458,10 +25645,10 @@ interface PaymentResponse extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */ @@ -8168,7 +8262,7 @@ prototype: PaymentResponse; new (): PaymentResponse; }; -@@ -26011,7 +26198,9 @@ interface Performance extends EventTarget { +@@ -25495,7 +25682,9 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */ @@ -8179,7 +8273,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin) -@@ -26079,10 +26268,10 @@ interface Performance extends EventTarget { +@@ -25563,10 +25752,10 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON) */ @@ -8192,7 +8286,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26092,7 +26281,7 @@ interface Performance extends EventTarget { +@@ -25576,7 +25765,7 @@ interface Performance extends EventTarget { ): void; removeEventListener( type: K, @@ -8201,7 +8295,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26102,7 +26291,7 @@ interface Performance extends EventTarget { +@@ -25586,7 +25775,7 @@ interface Performance extends EventTarget { ): void; } @@ -8210,7 +8304,7 @@ prototype: Performance; new (): Performance; }; -@@ -26141,10 +26330,10 @@ interface PerformanceEntry { +@@ -25625,10 +25814,10 @@ interface PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON) */ @@ -8223,7 +8317,7 @@ prototype: PerformanceEntry; new (): PerformanceEntry; }; -@@ -26178,10 +26367,10 @@ interface PerformanceEventTiming extends PerformanceEntry { +@@ -25662,10 +25851,10 @@ interface PerformanceEventTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/toJSON) */ @@ -8236,7 +8330,7 @@ prototype: PerformanceEventTiming; new (): PerformanceEventTiming; }; -@@ -26199,10 +26388,10 @@ interface PerformanceMark extends PerformanceEntry { +@@ -25683,10 +25872,10 @@ interface PerformanceMark extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail) */ @@ -8249,7 +8343,7 @@ prototype: PerformanceMark; new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; }; -@@ -26221,10 +26410,10 @@ interface PerformanceMeasure extends PerformanceEntry { +@@ -25705,10 +25894,10 @@ interface PerformanceMeasure extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail) */ @@ -8262,7 +8356,7 @@ prototype: PerformanceMeasure; new (): PerformanceMeasure; }; -@@ -26261,7 +26450,7 @@ interface PerformanceNavigation { +@@ -25745,7 +25934,7 @@ interface PerformanceNavigation { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation/toJSON) */ @@ -8271,7 +8365,7 @@ readonly TYPE_NAVIGATE: 0; readonly TYPE_RELOAD: 1; readonly TYPE_BACK_FORWARD: 2; -@@ -26269,7 +26458,7 @@ interface PerformanceNavigation { +@@ -25753,7 +25942,7 @@ interface PerformanceNavigation { } /** @deprecated */ @@ -8280,7 +8374,7 @@ prototype: PerformanceNavigation; new (): PerformanceNavigation; readonly TYPE_NAVIGATE: 0; -@@ -26341,10 +26530,10 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming { +@@ -25825,10 +26014,10 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/toJSON) */ @@ -8293,7 +8387,7 @@ prototype: PerformanceNavigationTiming; new (): PerformanceNavigationTiming; }; -@@ -26371,7 +26560,7 @@ interface PerformanceObserver { +@@ -25855,7 +26044,7 @@ interface PerformanceObserver { takeRecords(): PerformanceEntryList; } @@ -8302,7 +8396,7 @@ prototype: PerformanceObserver; new (callback: PerformanceObserverCallback): PerformanceObserver; /** -@@ -26403,7 +26592,7 @@ interface PerformanceObserverEntryList { +@@ -25887,7 +26076,7 @@ interface PerformanceObserverEntryList { getEntriesByType(type: string): PerformanceEntryList; } @@ -8311,7 +8405,7 @@ prototype: PerformanceObserverEntryList; new (): PerformanceObserverEntryList; }; -@@ -26414,7 +26603,7 @@ declare var PerformanceObserverEntryList: { +@@ -25898,7 +26087,7 @@ declare var PerformanceObserverEntryList: { */ interface PerformancePaintTiming extends PerformanceEntry {} @@ -8320,7 +8414,7 @@ prototype: PerformancePaintTiming; new (): PerformancePaintTiming; }; -@@ -26523,10 +26712,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { +@@ -26007,10 +26196,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON) */ @@ -8333,7 +8427,7 @@ prototype: PerformanceResourceTiming; new (): PerformanceResourceTiming; }; -@@ -26555,10 +26744,10 @@ interface PerformanceServerTiming { +@@ -26039,10 +26228,10 @@ interface PerformanceServerTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON) */ @@ -8346,7 +8440,7 @@ prototype: PerformanceServerTiming; new (): PerformanceServerTiming; }; -@@ -26729,11 +26918,11 @@ interface PerformanceTiming { +@@ -26213,11 +26402,11 @@ interface PerformanceTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/toJSON) */ @@ -8360,7 +8454,7 @@ prototype: PerformanceTiming; new (): PerformanceTiming; }; -@@ -26747,7 +26936,7 @@ declare var PerformanceTiming: { +@@ -26231,7 +26420,7 @@ declare var PerformanceTiming: { */ interface PeriodicWave {} @@ -8369,7 +8463,7 @@ prototype: PeriodicWave; new (context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave; }; -@@ -26767,7 +26956,7 @@ interface PermissionStatus extends EventTarget { +@@ -26251,7 +26440,7 @@ interface PermissionStatus extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */ @@ -8378,7 +8472,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state) -@@ -26775,7 +26964,10 @@ interface PermissionStatus extends EventTarget { +@@ -26259,7 +26448,10 @@ interface PermissionStatus extends EventTarget { readonly state: PermissionState; addEventListener( type: K, @@ -8390,7 +8484,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26785,7 +26977,10 @@ interface PermissionStatus extends EventTarget { +@@ -26269,7 +26461,10 @@ interface PermissionStatus extends EventTarget { ): void; removeEventListener( type: K, @@ -8402,7 +8496,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26795,7 +26990,7 @@ interface PermissionStatus extends EventTarget { +@@ -26279,7 +26474,7 @@ interface PermissionStatus extends EventTarget { ): void; } @@ -8411,7 +8505,7 @@ prototype: PermissionStatus; new (): PermissionStatus; }; -@@ -26809,7 +27004,7 @@ interface Permissions { +@@ -26293,7 +26488,7 @@ interface Permissions { query(permissionDesc: PermissionDescriptor): Promise; } @@ -8420,7 +8514,7 @@ prototype: Permissions; new (): Permissions; }; -@@ -26826,7 +27021,7 @@ interface PictureInPictureEvent extends Event { +@@ -26310,7 +26505,7 @@ interface PictureInPictureEvent extends Event { readonly pictureInPictureWindow: PictureInPictureWindow; } @@ -8429,7 +8523,7 @@ prototype: PictureInPictureEvent; new ( type: string, -@@ -26852,7 +27047,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26336,7 +26531,7 @@ interface PictureInPictureWindow extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event) */ @@ -8438,7 +8532,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width) -@@ -26863,7 +27058,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26347,7 +26542,7 @@ interface PictureInPictureWindow extends EventTarget { listener: ( this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K], @@ -8447,7 +8541,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26876,7 +27071,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26360,7 +26555,7 @@ interface PictureInPictureWindow extends EventTarget { listener: ( this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K], @@ -8456,7 +8550,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26886,7 +27081,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26370,7 +26565,7 @@ interface PictureInPictureWindow extends EventTarget { ): void; } @@ -8465,7 +8559,7 @@ prototype: PictureInPictureWindow; new (): PictureInPictureWindow; }; -@@ -26951,7 +27146,7 @@ interface Plugin { +@@ -26421,7 +26616,7 @@ interface Plugin { } /** @deprecated */ @@ -8474,7 +8568,7 @@ prototype: Plugin; new (): Plugin; }; -@@ -27000,7 +27195,7 @@ interface PluginArray { +@@ -26450,7 +26645,7 @@ interface PluginArray { } /** @deprecated */ @@ -8483,7 +8577,7 @@ prototype: PluginArray; new (): PluginArray; }; -@@ -27069,15 +27264,15 @@ interface PointerEvent extends MouseEvent { +@@ -26519,15 +26714,15 @@ interface PointerEvent extends MouseEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/getCoalescedEvents) */ @@ -8502,7 +8596,7 @@ prototype: PointerEvent; new (type: string, eventInitDict?: PointerEventInit): PointerEvent; }; -@@ -27095,10 +27290,10 @@ interface PopStateEvent extends Event { +@@ -26546,10 +26741,10 @@ interface PopStateEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/state) */ @@ -8515,7 +8609,7 @@ prototype: PopStateEvent; new (type: string, eventInitDict?: PopStateEventInit): PopStateEvent; }; -@@ -27132,7 +27327,7 @@ interface ProcessingInstruction extends CharacterData, LinkStyle { +@@ -26583,7 +26778,7 @@ interface ProcessingInstruction extends CharacterData, LinkStyle { readonly target: string; } @@ -8524,7 +8618,7 @@ prototype: ProcessingInstruction; new (): ProcessingInstruction; }; -@@ -27163,7 +27358,7 @@ interface ProgressEvent extends Event { +@@ -26614,7 +26809,7 @@ interface ProgressEvent extends Event { readonly total: number; } @@ -8533,7 +8627,7 @@ prototype: ProgressEvent; new (type: string, eventInitDict?: ProgressEventInit): ProgressEvent; }; -@@ -27177,15 +27372,15 @@ interface PromiseRejectionEvent extends Event { +@@ -26628,15 +26823,15 @@ interface PromiseRejectionEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */ @@ -8552,7 +8646,7 @@ prototype: PromiseRejectionEvent; new ( type: string, -@@ -27218,7 +27413,7 @@ interface PublicKeyCredential extends Credential { +@@ -26673,7 +26868,7 @@ interface PublicKeyCredential extends Credential { getClientExtensionResults(): AuthenticationExtensionsClientOutputs; } @@ -8561,7 +8655,7 @@ prototype: PublicKeyCredential; new (): PublicKeyCredential; /** -@@ -27260,7 +27455,7 @@ interface PushManager { +@@ -26715,7 +26910,7 @@ interface PushManager { subscribe(options?: PushSubscriptionOptionsInit): Promise; } @@ -8570,7 +8664,7 @@ prototype: PushManager; new (): PushManager; /** -@@ -27309,7 +27504,7 @@ interface PushSubscription { +@@ -26764,7 +26959,7 @@ interface PushSubscription { unsubscribe(): Promise; } @@ -8579,7 +8673,7 @@ prototype: PushSubscription; new (): PushSubscription; }; -@@ -27333,7 +27528,7 @@ interface PushSubscriptionOptions { +@@ -26788,7 +26983,7 @@ interface PushSubscriptionOptions { readonly userVisibleOnly: boolean; } @@ -8588,7 +8682,7 @@ prototype: PushSubscriptionOptions; new (): PushSubscriptionOptions; }; -@@ -27349,10 +27544,10 @@ interface RTCCertificate { +@@ -26804,10 +26999,10 @@ interface RTCCertificate { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCCertificate/getFingerprints) */ @@ -8601,7 +8695,7 @@ prototype: RTCCertificate; new (): RTCCertificate; }; -@@ -27373,7 +27568,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26828,7 +27023,7 @@ interface RTCDTMFSender extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/tonechange_event) */ ontonechange: @@ -8610,7 +8704,7 @@ | null; /** * [MDN -@@ -27387,7 +27582,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26842,7 +27037,7 @@ interface RTCDTMFSender extends EventTarget { insertDTMF(tones: string, duration?: number, interToneGap?: number): void; addEventListener( type: K, @@ -8619,7 +8713,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27397,7 +27592,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26852,7 +27047,7 @@ interface RTCDTMFSender extends EventTarget { ): void; removeEventListener( type: K, @@ -8628,7 +8722,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27407,7 +27602,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26862,7 +27057,7 @@ interface RTCDTMFSender extends EventTarget { ): void; } @@ -8637,7 +8731,7 @@ prototype: RTCDTMFSender; new (): RTCDTMFSender; }; -@@ -27427,7 +27622,7 @@ interface RTCDTMFToneChangeEvent extends Event { +@@ -26882,7 +27077,7 @@ interface RTCDTMFToneChangeEvent extends Event { readonly tone: string; } @@ -8646,7 +8740,7 @@ prototype: RTCDTMFToneChangeEvent; new ( type: string, -@@ -27490,32 +27685,32 @@ interface RTCDataChannel extends EventTarget { +@@ -26945,32 +27140,32 @@ interface RTCDataChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedamountlow_event) */ @@ -8685,7 +8779,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/ordered) -@@ -27546,7 +27741,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27001,7 +27196,7 @@ interface RTCDataChannel extends EventTarget { send(data: ArrayBufferView): void; addEventListener( type: K, @@ -8694,7 +8788,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27556,7 +27751,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27011,7 +27206,7 @@ interface RTCDataChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -8703,7 +8797,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27566,7 +27761,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27021,7 +27216,7 @@ interface RTCDataChannel extends EventTarget { ): void; } @@ -8712,7 +8806,7 @@ prototype: RTCDataChannel; new (): RTCDataChannel; }; -@@ -27583,7 +27778,7 @@ interface RTCDataChannelEvent extends Event { +@@ -27038,7 +27233,7 @@ interface RTCDataChannelEvent extends Event { readonly channel: RTCDataChannel; } @@ -8721,25 +8815,19 @@ prototype: RTCDataChannelEvent; new ( type: string, -@@ -27603,12 +27798,12 @@ interface RTCDtlsTransport extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) - */ - readonly iceTransport: RTCIceTransport; -- onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; -+ onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; - /** +@@ -27062,17 +27257,20 @@ interface RTCDtlsTransport extends EventTarget { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ +- onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; - onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; ++ onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; + onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) -@@ -27618,10 +27813,13 @@ interface RTCDtlsTransport extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */ + readonly state: RTCDtlsTransportState; - getRemoteCertificates(): ArrayBuffer[]; + getRemoteCertificates(): readonly ArrayBuffer[]; addEventListener( @@ -8752,7 +8840,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27631,7 +27829,10 @@ interface RTCDtlsTransport extends EventTarget { +@@ -27082,7 +27280,10 @@ interface RTCDtlsTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -8764,7 +8852,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27641,7 +27842,7 @@ interface RTCDtlsTransport extends EventTarget { +@@ -27092,7 +27293,7 @@ interface RTCDtlsTransport extends EventTarget { ): void; } @@ -8773,7 +8861,7 @@ prototype: RTCDtlsTransport; new (): RTCDtlsTransport; }; -@@ -27668,7 +27869,7 @@ interface RTCEncodedAudioFrame { +@@ -27119,7 +27320,7 @@ interface RTCEncodedAudioFrame { getMetadata(): RTCEncodedAudioFrameMetadata; } @@ -8782,7 +8870,7 @@ prototype: RTCEncodedAudioFrame; new (): RTCEncodedAudioFrame; }; -@@ -27700,7 +27901,7 @@ interface RTCEncodedVideoFrame { +@@ -27151,7 +27352,7 @@ interface RTCEncodedVideoFrame { getMetadata(): RTCEncodedVideoFrameMetadata; } @@ -8791,7 +8879,7 @@ prototype: RTCEncodedVideoFrame; new (): RTCEncodedVideoFrame; }; -@@ -27734,7 +27935,7 @@ interface RTCError extends DOMException { +@@ -27185,7 +27386,7 @@ interface RTCError extends DOMException { readonly sentAlert: number | null; } @@ -8800,7 +8888,7 @@ prototype: RTCError; new (init: RTCErrorInit, message?: string): RTCError; }; -@@ -27748,7 +27949,7 @@ interface RTCErrorEvent extends Event { +@@ -27199,7 +27400,7 @@ interface RTCErrorEvent extends Event { readonly error: RTCError; } @@ -8809,7 +8897,7 @@ prototype: RTCErrorEvent; new (type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent; }; -@@ -27838,7 +28039,7 @@ interface RTCIceCandidate { +@@ -27289,7 +27490,7 @@ interface RTCIceCandidate { toJSON(): RTCIceCandidateInit; } @@ -8818,7 +8906,7 @@ prototype: RTCIceCandidate; new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; -@@ -27865,19 +28066,21 @@ interface RTCIceTransport extends EventTarget { +@@ -27321,19 +27522,21 @@ interface RTCIceTransport extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/gatheringstatechange_event) */ @@ -8843,7 +8931,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/state) -@@ -27890,7 +28093,10 @@ interface RTCIceTransport extends EventTarget { +@@ -27346,7 +27549,10 @@ interface RTCIceTransport extends EventTarget { getSelectedCandidatePair(): RTCIceCandidatePair | null; addEventListener( type: K, @@ -8855,7 +8943,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27900,7 +28106,10 @@ interface RTCIceTransport extends EventTarget { +@@ -27356,7 +27562,10 @@ interface RTCIceTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -8867,7 +8955,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27910,7 +28119,7 @@ interface RTCIceTransport extends EventTarget { +@@ -27366,7 +27575,7 @@ interface RTCIceTransport extends EventTarget { ): void; } @@ -8876,7 +8964,7 @@ prototype: RTCIceTransport; new (): RTCIceTransport; }; -@@ -27974,57 +28183,61 @@ interface RTCPeerConnection extends EventTarget { +@@ -27430,57 +27639,61 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/connectionstatechange_event) */ @@ -8947,7 +9035,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/pendingLocalDescription) -@@ -28065,7 +28278,10 @@ interface RTCPeerConnection extends EventTarget { +@@ -27521,7 +27734,10 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */ @@ -8959,7 +9047,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) -@@ -28117,12 +28333,12 @@ interface RTCPeerConnection extends EventTarget { +@@ -27573,12 +27789,12 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getReceivers) */ @@ -8974,7 +9062,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getStats) -@@ -28132,7 +28348,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27588,7 +27804,7 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getTransceivers) */ @@ -8983,7 +9071,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/removeTrack) -@@ -28177,7 +28393,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27633,7 +27849,7 @@ interface RTCPeerConnection extends EventTarget { listener: ( this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K], @@ -8992,7 +9080,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -28190,7 +28406,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27646,7 +27862,7 @@ interface RTCPeerConnection extends EventTarget { listener: ( this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K], @@ -9001,7 +9089,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -28200,7 +28416,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27656,7 +27872,7 @@ interface RTCPeerConnection extends EventTarget { ): void; } @@ -9010,7 +9098,7 @@ prototype: RTCPeerConnection; new (configuration?: RTCConfiguration): RTCPeerConnection; /** -@@ -28240,7 +28456,7 @@ interface RTCPeerConnectionIceErrorEvent extends Event { +@@ -27684,7 +27900,7 @@ interface RTCPeerConnectionIceErrorEvent extends Event { readonly url: string; } @@ -9019,7 +9107,7 @@ prototype: RTCPeerConnectionIceErrorEvent; new ( type: string, -@@ -28263,7 +28479,7 @@ interface RTCPeerConnectionIceEvent extends Event { +@@ -27707,7 +27923,7 @@ interface RTCPeerConnectionIceEvent extends Event { readonly candidate: RTCIceCandidate | null; } @@ -9028,7 +9116,7 @@ prototype: RTCPeerConnectionIceEvent; new ( type: string, -@@ -28297,7 +28513,7 @@ interface RTCRtpReceiver { +@@ -27746,7 +27962,7 @@ interface RTCRtpReceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getContributingSources) */ @@ -9037,7 +9125,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getParameters) -@@ -28312,10 +28528,10 @@ interface RTCRtpReceiver { +@@ -27761,10 +27977,10 @@ interface RTCRtpReceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getSynchronizationSources) */ @@ -9050,7 +9138,7 @@ prototype: RTCRtpReceiver; new (): RTCRtpReceiver; /** -@@ -28331,9 +28547,13 @@ declare var RTCRtpReceiver: { +@@ -27780,9 +27996,13 @@ declare var RTCRtpReceiver: { */ interface RTCRtpScriptTransform {} @@ -9066,7 +9154,7 @@ }; /** -@@ -28390,10 +28610,10 @@ interface RTCRtpSender { +@@ -27839,10 +28059,10 @@ interface RTCRtpSender { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setStreams) */ @@ -9079,16 +9167,16 @@ prototype: RTCRtpSender; new (): RTCRtpSender; /** -@@ -28434,7 +28654,7 @@ interface RTCRtpTransceiver { +@@ -27883,7 +28103,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ -- setCodecPreferences(codecs: RTCRtpCodecCapability[]): void; -+ setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; +- setCodecPreferences(codecs: RTCRtpCodec[]): void; ++ setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) -@@ -28442,7 +28662,7 @@ interface RTCRtpTransceiver { +@@ -27891,7 +28111,7 @@ interface RTCRtpTransceiver { stop(): void; } @@ -9097,16 +9185,16 @@ prototype: RTCRtpTransceiver; new (): RTCRtpTransceiver; }; -@@ -28463,7 +28683,7 @@ interface RTCSctpTransport extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) +@@ -27916,7 +28136,7 @@ interface RTCSctpTransport extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */ - readonly maxMessageSize: number; - onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null; + onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state) -@@ -28476,7 +28696,10 @@ interface RTCSctpTransport extends EventTarget { +@@ -27929,7 +28149,10 @@ interface RTCSctpTransport extends EventTarget { readonly transport: RTCDtlsTransport; addEventListener( type: K, @@ -9118,7 +9206,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -28486,7 +28709,10 @@ interface RTCSctpTransport extends EventTarget { +@@ -27939,7 +28162,10 @@ interface RTCSctpTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -9130,7 +9218,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -28496,7 +28722,7 @@ interface RTCSctpTransport extends EventTarget { +@@ -27949,7 +28175,7 @@ interface RTCSctpTransport extends EventTarget { ): void; } @@ -9139,12 +9227,8 @@ prototype: RTCSctpTransport; new (): RTCSctpTransport; }; -@@ -28525,10 +28751,10 @@ interface RTCSessionDescription { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) - */ -- toJSON(): any; -+ toJSON(): unknown; +@@ -27981,7 +28207,7 @@ interface RTCSessionDescription { + toJSON(): RTCSessionDescriptionInit; } -declare var RTCSessionDescription: { @@ -9152,7 +9236,7 @@ prototype: RTCSessionDescription; new (descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription; }; -@@ -28536,12 +28762,12 @@ declare var RTCSessionDescription: { +@@ -27989,12 +28215,12 @@ declare var RTCSessionDescription: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCStatsReport) */ interface RTCStatsReport { forEach( @@ -9168,7 +9252,7 @@ prototype: RTCStatsReport; new (): RTCStatsReport; }; -@@ -28570,7 +28796,7 @@ interface RTCTrackEvent extends Event { +@@ -28023,7 +28249,7 @@ interface RTCTrackEvent extends Event { readonly transceiver: RTCRtpTransceiver; } @@ -9177,7 +9261,7 @@ prototype: RTCTrackEvent; new (type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent; }; -@@ -28584,7 +28810,7 @@ interface RadioNodeList extends NodeList { +@@ -28037,7 +28263,7 @@ interface RadioNodeList extends NodeList { value: string; } @@ -9186,7 +9270,7 @@ prototype: RadioNodeList; new (): RadioNodeList; }; -@@ -28718,7 +28944,7 @@ interface Range extends AbstractRange { +@@ -28171,7 +28397,7 @@ interface Range extends AbstractRange { readonly END_TO_START: 3; } @@ -9195,7 +9279,7 @@ prototype: Range; new (): Range; readonly START_TO_START: 0; -@@ -28756,10 +28982,10 @@ interface ReadableByteStreamController { +@@ -28209,10 +28435,10 @@ interface ReadableByteStreamController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */ @@ -9208,7 +9292,7 @@ prototype: ReadableByteStreamController; new (): ReadableByteStreamController; }; -@@ -28771,7 +28997,7 @@ declare var ReadableByteStreamController: { +@@ -28224,7 +28450,7 @@ declare var ReadableByteStreamController: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream) */ @@ -9217,7 +9301,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) -@@ -28781,7 +29007,7 @@ interface ReadableStream { +@@ -28234,7 +28460,7 @@ interface ReadableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */ @@ -9226,7 +9310,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) -@@ -28812,17 +29038,17 @@ interface ReadableStream { +@@ -28265,17 +28491,17 @@ interface ReadableStream { tee(): [ReadableStream, ReadableStream]; } @@ -9247,7 +9331,7 @@ underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy, ): ReadableStream; -@@ -28847,7 +29073,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { +@@ -28300,7 +28526,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { releaseLock(): void; } @@ -9256,7 +9340,7 @@ prototype: ReadableStreamBYOBReader; new (stream: ReadableStream): ReadableStreamBYOBReader; }; -@@ -28874,7 +29100,7 @@ interface ReadableStreamBYOBRequest { +@@ -28327,7 +28553,7 @@ interface ReadableStreamBYOBRequest { respondWithNewView(view: ArrayBufferView): void; } @@ -9265,7 +9349,7 @@ prototype: ReadableStreamBYOBRequest; new (): ReadableStreamBYOBRequest; }; -@@ -28883,7 +29109,7 @@ declare var ReadableStreamBYOBRequest: { +@@ -28336,7 +28562,7 @@ declare var ReadableStreamBYOBRequest: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */ @@ -9274,7 +9358,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) -@@ -28903,10 +29129,10 @@ interface ReadableStreamDefaultController { +@@ -28356,10 +28582,10 @@ interface ReadableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */ @@ -9287,7 +9371,7 @@ prototype: ReadableStreamDefaultController; new (): ReadableStreamDefaultController; }; -@@ -28915,7 +29141,7 @@ declare var ReadableStreamDefaultController: { +@@ -28368,7 +28594,7 @@ declare var ReadableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */ @@ -9296,7 +9380,7 @@ extends ReadableStreamGenericReader { /** * [MDN -@@ -28929,9 +29155,9 @@ interface ReadableStreamDefaultReader +@@ -28382,9 +28608,9 @@ interface ReadableStreamDefaultReader releaseLock(): void; } @@ -9308,7 +9392,7 @@ }; interface ReadableStreamGenericReader { -@@ -28944,7 +29170,7 @@ interface ReadableStreamGenericReader { +@@ -28397,7 +28623,7 @@ interface ReadableStreamGenericReader { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */ @@ -9317,7 +9401,7 @@ } interface RemotePlaybackEventMap { -@@ -28959,17 +29185,17 @@ interface RemotePlayback extends EventTarget { +@@ -28412,17 +28638,17 @@ interface RemotePlayback extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/connect_event) */ @@ -9338,7 +9422,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/state) -@@ -28994,7 +29220,7 @@ interface RemotePlayback extends EventTarget { +@@ -28447,7 +28673,7 @@ interface RemotePlayback extends EventTarget { ): Promise; addEventListener( type: K, @@ -9347,7 +9431,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29004,7 +29230,7 @@ interface RemotePlayback extends EventTarget { +@@ -28457,7 +28683,7 @@ interface RemotePlayback extends EventTarget { ): void; removeEventListener( type: K, @@ -9356,7 +9440,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29014,7 +29240,7 @@ interface RemotePlayback extends EventTarget { +@@ -28467,7 +28693,7 @@ interface RemotePlayback extends EventTarget { ): void; } @@ -9365,7 +9449,7 @@ prototype: RemotePlayback; new (): RemotePlayback; }; -@@ -29027,20 +29253,20 @@ interface Report { +@@ -28480,10 +28706,10 @@ interface Report { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) */ readonly url: string; @@ -9378,9 +9462,10 @@ prototype: Report; new (): Report; }; - - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ - interface ReportBody { +@@ -28494,10 +28720,10 @@ interface ReportBody { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ - toJSON(): any; + toJSON(): unknown; } @@ -9390,7 +9475,7 @@ prototype: ReportBody; new (): ReportBody; }; -@@ -29064,7 +29290,7 @@ interface ReportingObserver { +@@ -28521,7 +28747,7 @@ interface ReportingObserver { takeRecords(): ReportList; } @@ -9399,7 +9484,7 @@ prototype: ReportingObserver; new ( callback: ReportingObserverCallback, -@@ -29133,7 +29359,7 @@ interface Request extends Body { +@@ -28587,7 +28813,7 @@ interface Request extends Body { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method) */ @@ -9408,7 +9493,7 @@ /** * Returns the mode associated with request, which is a string indicating * whether the request will use CORS, or will be restricted to same-origin -@@ -29188,7 +29414,7 @@ interface Request extends Body { +@@ -28642,7 +28868,7 @@ interface Request extends Body { clone(): Request; } @@ -9417,7 +9502,7 @@ prototype: Request; new (input: RequestInfo | URL, init?: RequestInit): Request; }; -@@ -29212,7 +29438,7 @@ interface ResizeObserver { +@@ -28666,7 +28892,7 @@ interface ResizeObserver { unobserve(target: Element): void; } @@ -9426,7 +9511,7 @@ prototype: ResizeObserver; new (callback: ResizeObserverCallback): ResizeObserver; }; -@@ -29245,7 +29471,7 @@ interface ResizeObserverEntry { +@@ -28703,7 +28929,7 @@ interface ResizeObserverEntry { readonly target: Element; } @@ -9435,7 +9520,7 @@ prototype: ResizeObserverEntry; new (): ResizeObserverEntry; }; -@@ -29267,7 +29493,7 @@ interface ResizeObserverSize { +@@ -28725,7 +28951,7 @@ interface ResizeObserverSize { readonly inlineSize: number; } @@ -9444,7 +9529,7 @@ prototype: ResizeObserverSize; new (): ResizeObserverSize; }; -@@ -29305,7 +29531,7 @@ interface Response extends Body { +@@ -28763,7 +28989,7 @@ interface Response extends Body { clone(): Response; } @@ -9453,7 +9538,7 @@ prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; /** -@@ -29317,7 +29543,7 @@ declare var Response: { +@@ -28775,7 +29001,7 @@ declare var Response: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */ @@ -9462,7 +9547,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) -@@ -29341,7 +29567,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28799,7 +29025,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { readonly target: SVGAnimatedString; addEventListener( type: K, @@ -9471,7 +9556,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29351,7 +29577,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28809,7 +29035,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -9480,7 +9565,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29361,7 +29587,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28819,7 +29045,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -9489,7 +9574,7 @@ prototype: SVGAElement; new (): SVGAElement; }; -@@ -29386,7 +29612,7 @@ interface SVGAngle { +@@ -28844,7 +29070,7 @@ interface SVGAngle { readonly SVG_ANGLETYPE_GRAD: 4; } @@ -9498,7 +9583,7 @@ prototype: SVGAngle; new (): SVGAngle; readonly SVG_ANGLETYPE_UNKNOWN: 0; -@@ -29400,7 +29626,7 @@ declare var SVGAngle: { +@@ -28858,7 +29084,7 @@ declare var SVGAngle: { interface SVGAnimateElement extends SVGAnimationElement { addEventListener( type: K, @@ -9507,7 +9592,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29410,7 +29636,7 @@ interface SVGAnimateElement extends SVGAnimationElement { +@@ -28868,7 +29094,7 @@ interface SVGAnimateElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -9516,7 +9601,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29420,7 +29646,7 @@ interface SVGAnimateElement extends SVGAnimationElement { +@@ -28878,7 +29104,7 @@ interface SVGAnimateElement extends SVGAnimationElement { ): void; } @@ -9525,7 +9610,7 @@ prototype: SVGAnimateElement; new (): SVGAnimateElement; }; -@@ -29432,7 +29658,10 @@ declare var SVGAnimateElement: { +@@ -28890,7 +29116,10 @@ declare var SVGAnimateElement: { interface SVGAnimateMotionElement extends SVGAnimationElement { addEventListener( type: K, @@ -9537,7 +9622,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29442,7 +29671,10 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { +@@ -28900,7 +29129,10 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -9549,7 +9634,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29452,7 +29684,7 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { +@@ -28910,7 +29142,7 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { ): void; } @@ -9558,7 +9643,7 @@ prototype: SVGAnimateMotionElement; new (): SVGAnimateMotionElement; }; -@@ -29467,7 +29699,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28925,7 +29157,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { listener: ( this: SVGAnimateTransformElement, ev: SVGElementEventMap[K], @@ -9567,7 +9652,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29480,7 +29712,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28938,7 +29170,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { listener: ( this: SVGAnimateTransformElement, ev: SVGElementEventMap[K], @@ -9576,7 +9661,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29490,7 +29722,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28948,7 +29180,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { ): void; } @@ -9585,7 +9670,7 @@ prototype: SVGAnimateTransformElement; new (): SVGAnimateTransformElement; }; -@@ -29505,7 +29737,7 @@ interface SVGAnimatedAngle { +@@ -28963,7 +29195,7 @@ interface SVGAnimatedAngle { readonly baseVal: SVGAngle; } @@ -9594,7 +9679,7 @@ prototype: SVGAnimatedAngle; new (): SVGAnimatedAngle; }; -@@ -29521,7 +29753,7 @@ interface SVGAnimatedBoolean { +@@ -28979,7 +29211,7 @@ interface SVGAnimatedBoolean { baseVal: boolean; } @@ -9603,7 +9688,7 @@ prototype: SVGAnimatedBoolean; new (): SVGAnimatedBoolean; }; -@@ -29538,7 +29770,7 @@ interface SVGAnimatedEnumeration { +@@ -29004,7 +29236,7 @@ interface SVGAnimatedEnumeration { baseVal: number; } @@ -9612,7 +9697,7 @@ prototype: SVGAnimatedEnumeration; new (): SVGAnimatedEnumeration; }; -@@ -29554,7 +29786,7 @@ interface SVGAnimatedInteger { +@@ -29020,7 +29252,7 @@ interface SVGAnimatedInteger { baseVal: number; } @@ -9621,7 +9706,7 @@ prototype: SVGAnimatedInteger; new (): SVGAnimatedInteger; }; -@@ -29569,7 +29801,7 @@ interface SVGAnimatedLength { +@@ -29043,7 +29275,7 @@ interface SVGAnimatedLength { readonly baseVal: SVGLength; } @@ -9630,7 +9715,7 @@ prototype: SVGAnimatedLength; new (): SVGAnimatedLength; }; -@@ -29585,7 +29817,7 @@ interface SVGAnimatedLengthList { +@@ -29059,7 +29291,7 @@ interface SVGAnimatedLengthList { readonly baseVal: SVGLengthList; } @@ -9639,7 +9724,7 @@ prototype: SVGAnimatedLengthList; new (): SVGAnimatedLengthList; }; -@@ -29600,7 +29832,7 @@ interface SVGAnimatedNumber { +@@ -29074,7 +29306,7 @@ interface SVGAnimatedNumber { baseVal: number; } @@ -9648,7 +9733,7 @@ prototype: SVGAnimatedNumber; new (): SVGAnimatedNumber; }; -@@ -29617,7 +29849,7 @@ interface SVGAnimatedNumberList { +@@ -29091,7 +29323,7 @@ interface SVGAnimatedNumberList { readonly baseVal: SVGNumberList; } @@ -9657,7 +9742,7 @@ prototype: SVGAnimatedNumberList; new (): SVGAnimatedNumberList; }; -@@ -29638,7 +29870,7 @@ interface SVGAnimatedPreserveAspectRatio { +@@ -29112,7 +29344,7 @@ interface SVGAnimatedPreserveAspectRatio { readonly baseVal: SVGPreserveAspectRatio; } @@ -9666,7 +9751,7 @@ prototype: SVGAnimatedPreserveAspectRatio; new (): SVGAnimatedPreserveAspectRatio; }; -@@ -29653,7 +29885,7 @@ interface SVGAnimatedRect { +@@ -29127,7 +29359,7 @@ interface SVGAnimatedRect { readonly baseVal: DOMRect; } @@ -9675,7 +9760,7 @@ prototype: SVGAnimatedRect; new (): SVGAnimatedRect; }; -@@ -29678,7 +29910,7 @@ interface SVGAnimatedString { +@@ -29152,7 +29384,7 @@ interface SVGAnimatedString { baseVal: string; } @@ -9684,7 +9769,7 @@ prototype: SVGAnimatedString; new (): SVGAnimatedString; }; -@@ -29694,7 +29926,7 @@ interface SVGAnimatedTransformList { +@@ -29168,7 +29400,7 @@ interface SVGAnimatedTransformList { readonly baseVal: SVGTransformList; } @@ -9693,7 +9778,7 @@ prototype: SVGAnimatedTransformList; new (): SVGAnimatedTransformList; }; -@@ -29718,7 +29950,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29192,7 +29424,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { getStartTime(): number; addEventListener( type: K, @@ -9702,7 +9787,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29728,7 +29960,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29202,7 +29434,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { ): void; removeEventListener( type: K, @@ -9711,7 +9796,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29738,7 +29970,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29212,7 +29444,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { ): void; } @@ -9720,7 +9805,7 @@ prototype: SVGAnimationElement; new (): SVGAnimationElement; }; -@@ -29768,7 +30000,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29242,7 +29474,7 @@ interface SVGCircleElement extends SVGGeometryElement { readonly r: SVGAnimatedLength; addEventListener( type: K, @@ -9729,7 +9814,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29778,7 +30010,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29252,7 +29484,7 @@ interface SVGCircleElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -9738,7 +9823,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29788,7 +30020,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29262,7 +29494,7 @@ interface SVGCircleElement extends SVGGeometryElement { ): void; } @@ -9747,7 +9832,7 @@ prototype: SVGCircleElement; new (): SVGCircleElement; }; -@@ -29813,7 +30045,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29287,7 +29519,7 @@ interface SVGClipPathElement extends SVGElement { readonly transform: SVGAnimatedTransformList; addEventListener( type: K, @@ -9756,7 +9841,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29823,7 +30055,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29297,7 +29529,7 @@ interface SVGClipPathElement extends SVGElement { ): void; removeEventListener( type: K, @@ -9765,7 +9850,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29833,7 +30065,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29307,7 +29539,7 @@ interface SVGClipPathElement extends SVGElement { ): void; } @@ -9774,7 +9859,7 @@ prototype: SVGClipPathElement; new (): SVGClipPathElement; }; -@@ -29863,7 +30095,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29337,7 +29569,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { listener: ( this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K], @@ -9783,7 +9868,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29876,7 +30108,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29350,7 +29582,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { listener: ( this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K], @@ -9792,7 +9877,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29886,7 +30118,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29360,7 +29592,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { ): void; } @@ -9801,7 +9886,7 @@ prototype: SVGComponentTransferFunctionElement; new (): SVGComponentTransferFunctionElement; readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0; -@@ -29905,7 +30137,7 @@ declare var SVGComponentTransferFunctionElement: { +@@ -29379,7 +29611,7 @@ declare var SVGComponentTransferFunctionElement: { interface SVGDefsElement extends SVGGraphicsElement { addEventListener( type: K, @@ -9810,7 +9895,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29915,7 +30147,7 @@ interface SVGDefsElement extends SVGGraphicsElement { +@@ -29389,7 +29621,7 @@ interface SVGDefsElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -9819,7 +9904,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29925,7 +30157,7 @@ interface SVGDefsElement extends SVGGraphicsElement { +@@ -29399,7 +29631,7 @@ interface SVGDefsElement extends SVGGraphicsElement { ): void; } @@ -9828,7 +9913,7 @@ prototype: SVGDefsElement; new (): SVGDefsElement; }; -@@ -29938,7 +30170,7 @@ declare var SVGDefsElement: { +@@ -29412,7 +29644,7 @@ declare var SVGDefsElement: { interface SVGDescElement extends SVGElement { addEventListener( type: K, @@ -9837,7 +9922,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29948,7 +30180,7 @@ interface SVGDescElement extends SVGElement { +@@ -29422,7 +29654,7 @@ interface SVGDescElement extends SVGElement { ): void; removeEventListener( type: K, @@ -9846,7 +9931,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29958,7 +30190,7 @@ interface SVGDescElement extends SVGElement { +@@ -29432,7 +29664,7 @@ interface SVGDescElement extends SVGElement { ): void; } @@ -9855,7 +9940,7 @@ prototype: SVGDescElement; new (): SVGDescElement; }; -@@ -29979,12 +30211,12 @@ interface SVGElement +@@ -29453,12 +29685,12 @@ interface SVGElement GlobalEventHandlers, HTMLOrSVGElement { /** @deprecated */ @@ -9870,7 +9955,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29994,7 +30226,7 @@ interface SVGElement +@@ -29468,7 +29700,7 @@ interface SVGElement ): void; removeEventListener( type: K, @@ -9879,7 +9964,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30004,7 +30236,7 @@ interface SVGElement +@@ -29478,7 +29710,7 @@ interface SVGElement ): void; } @@ -9888,7 +9973,7 @@ prototype: SVGElement; new (): SVGElement; }; -@@ -30021,7 +30253,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29495,7 +29727,7 @@ interface SVGEllipseElement extends SVGGeometryElement { readonly ry: SVGAnimatedLength; addEventListener( type: K, @@ -9897,7 +9982,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30031,7 +30263,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29505,7 +29737,7 @@ interface SVGEllipseElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -9906,7 +9991,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30041,7 +30273,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29515,7 +29747,7 @@ interface SVGEllipseElement extends SVGGeometryElement { ): void; } @@ -9915,7 +10000,7 @@ prototype: SVGEllipseElement; new (): SVGEllipseElement; }; -@@ -30076,7 +30308,7 @@ interface SVGFEBlendElement +@@ -29550,7 +29782,7 @@ interface SVGFEBlendElement readonly SVG_FEBLEND_MODE_LUMINOSITY: 16; addEventListener( type: K, @@ -9924,7 +10009,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30086,7 +30318,7 @@ interface SVGFEBlendElement +@@ -29560,7 +29792,7 @@ interface SVGFEBlendElement ): void; removeEventListener( type: K, @@ -9933,7 +10018,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30096,7 +30328,7 @@ interface SVGFEBlendElement +@@ -29570,7 +29802,7 @@ interface SVGFEBlendElement ): void; } @@ -9942,7 +10027,7 @@ prototype: SVGFEBlendElement; new (): SVGFEBlendElement; readonly SVG_FEBLEND_MODE_UNKNOWN: 0; -@@ -30149,7 +30381,10 @@ interface SVGFEColorMatrixElement +@@ -29611,7 +29843,10 @@ interface SVGFEColorMatrixElement readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4; addEventListener( type: K, @@ -9954,7 +10039,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30159,7 +30394,10 @@ interface SVGFEColorMatrixElement +@@ -29621,7 +29856,10 @@ interface SVGFEColorMatrixElement ): void; removeEventListener( type: K, @@ -9966,7 +10051,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30169,7 +30407,7 @@ interface SVGFEColorMatrixElement +@@ -29631,7 +29869,7 @@ interface SVGFEColorMatrixElement ): void; } @@ -9975,7 +10060,7 @@ prototype: SVGFEColorMatrixElement; new (): SVGFEColorMatrixElement; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; -@@ -30194,7 +30432,7 @@ interface SVGFEComponentTransferElement +@@ -29656,7 +29894,7 @@ interface SVGFEComponentTransferElement listener: ( this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K], @@ -9984,7 +10069,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30207,7 +30445,7 @@ interface SVGFEComponentTransferElement +@@ -29669,7 +29907,7 @@ interface SVGFEComponentTransferElement listener: ( this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K], @@ -9993,7 +10078,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30217,7 +30455,7 @@ interface SVGFEComponentTransferElement +@@ -29679,7 +29917,7 @@ interface SVGFEComponentTransferElement ): void; } @@ -10002,7 +10087,7 @@ prototype: SVGFEComponentTransferElement; new (): SVGFEComponentTransferElement; }; -@@ -30247,7 +30485,10 @@ interface SVGFECompositeElement +@@ -29709,7 +29947,10 @@ interface SVGFECompositeElement readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6; addEventListener( type: K, @@ -10014,7 +10099,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30257,7 +30498,10 @@ interface SVGFECompositeElement +@@ -29719,7 +29960,10 @@ interface SVGFECompositeElement ): void; removeEventListener( type: K, @@ -10026,7 +10111,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30267,7 +30511,7 @@ interface SVGFECompositeElement +@@ -29729,7 +29973,7 @@ interface SVGFECompositeElement ): void; } @@ -10035,7 +10120,7 @@ prototype: SVGFECompositeElement; new (): SVGFECompositeElement; readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: 0; -@@ -30309,7 +30553,7 @@ interface SVGFEConvolveMatrixElement +@@ -29771,7 +30015,7 @@ interface SVGFEConvolveMatrixElement listener: ( this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K], @@ -10044,7 +10129,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30322,7 +30566,7 @@ interface SVGFEConvolveMatrixElement +@@ -29784,7 +30028,7 @@ interface SVGFEConvolveMatrixElement listener: ( this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K], @@ -10053,7 +10138,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30332,7 +30576,7 @@ interface SVGFEConvolveMatrixElement +@@ -29794,7 +30038,7 @@ interface SVGFEConvolveMatrixElement ): void; } @@ -10062,7 +10147,7 @@ prototype: SVGFEConvolveMatrixElement; new (): SVGFEConvolveMatrixElement; readonly SVG_EDGEMODE_UNKNOWN: 0; -@@ -30360,7 +30604,7 @@ interface SVGFEDiffuseLightingElement +@@ -29822,7 +30066,7 @@ interface SVGFEDiffuseLightingElement listener: ( this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K], @@ -10071,7 +10156,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30373,7 +30617,7 @@ interface SVGFEDiffuseLightingElement +@@ -29835,7 +30079,7 @@ interface SVGFEDiffuseLightingElement listener: ( this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K], @@ -10080,7 +10165,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30383,7 +30627,7 @@ interface SVGFEDiffuseLightingElement +@@ -29845,7 +30089,7 @@ interface SVGFEDiffuseLightingElement ): void; } @@ -10089,7 +10174,7 @@ prototype: SVGFEDiffuseLightingElement; new (): SVGFEDiffuseLightingElement; }; -@@ -30412,7 +30656,7 @@ interface SVGFEDisplacementMapElement +@@ -29874,7 +30118,7 @@ interface SVGFEDisplacementMapElement listener: ( this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K], @@ -10098,7 +10183,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30425,7 +30669,7 @@ interface SVGFEDisplacementMapElement +@@ -29887,7 +30131,7 @@ interface SVGFEDisplacementMapElement listener: ( this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K], @@ -10107,7 +10192,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30435,7 +30679,7 @@ interface SVGFEDisplacementMapElement +@@ -29897,7 +30141,7 @@ interface SVGFEDisplacementMapElement ): void; } @@ -10116,7 +10201,7 @@ prototype: SVGFEDisplacementMapElement; new (): SVGFEDisplacementMapElement; readonly SVG_CHANNEL_UNKNOWN: 0; -@@ -30459,7 +30703,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29921,7 +30165,7 @@ interface SVGFEDistantLightElement extends SVGElement { listener: ( this: SVGFEDistantLightElement, ev: SVGElementEventMap[K], @@ -10125,7 +10210,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30472,7 +30716,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29934,7 +30178,7 @@ interface SVGFEDistantLightElement extends SVGElement { listener: ( this: SVGFEDistantLightElement, ev: SVGElementEventMap[K], @@ -10134,7 +10219,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30482,7 +30726,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29944,7 +30188,7 @@ interface SVGFEDistantLightElement extends SVGElement { ): void; } @@ -10143,7 +10228,7 @@ prototype: SVGFEDistantLightElement; new (): SVGFEDistantLightElement; }; -@@ -30502,7 +30746,10 @@ interface SVGFEDropShadowElement +@@ -29964,7 +30208,10 @@ interface SVGFEDropShadowElement setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; addEventListener( type: K, @@ -10155,7 +10240,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30512,7 +30759,10 @@ interface SVGFEDropShadowElement +@@ -29974,7 +30221,10 @@ interface SVGFEDropShadowElement ): void; removeEventListener( type: K, @@ -10167,7 +10252,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30522,7 +30772,7 @@ interface SVGFEDropShadowElement +@@ -29984,7 +30234,7 @@ interface SVGFEDropShadowElement ): void; } @@ -10176,7 +10261,7 @@ prototype: SVGFEDropShadowElement; new (): SVGFEDropShadowElement; }; -@@ -30537,7 +30787,7 @@ interface SVGFEFloodElement +@@ -29999,7 +30249,7 @@ interface SVGFEFloodElement SVGFilterPrimitiveStandardAttributes { addEventListener( type: K, @@ -10185,7 +10270,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30547,7 +30797,7 @@ interface SVGFEFloodElement +@@ -30009,7 +30259,7 @@ interface SVGFEFloodElement ): void; removeEventListener( type: K, @@ -10194,7 +10279,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30557,7 +30807,7 @@ interface SVGFEFloodElement +@@ -30019,7 +30269,7 @@ interface SVGFEFloodElement ): void; } @@ -10203,7 +10288,7 @@ prototype: SVGFEFloodElement; new (): SVGFEFloodElement; }; -@@ -30570,7 +30820,7 @@ declare var SVGFEFloodElement: { +@@ -30032,7 +30282,7 @@ declare var SVGFEFloodElement: { interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10212,7 +10297,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30580,7 +30830,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +@@ -30042,7 +30292,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10221,7 +10306,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30590,7 +30840,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +@@ -30052,7 +30302,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10230,7 +10315,7 @@ prototype: SVGFEFuncAElement; new (): SVGFEFuncAElement; }; -@@ -30603,7 +30853,7 @@ declare var SVGFEFuncAElement: { +@@ -30065,7 +30315,7 @@ declare var SVGFEFuncAElement: { interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10239,7 +10324,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30613,7 +30863,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +@@ -30075,7 +30325,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10248,7 +10333,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30623,7 +30873,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +@@ -30085,7 +30335,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10257,7 +10342,7 @@ prototype: SVGFEFuncBElement; new (): SVGFEFuncBElement; }; -@@ -30636,7 +30886,7 @@ declare var SVGFEFuncBElement: { +@@ -30098,7 +30348,7 @@ declare var SVGFEFuncBElement: { interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10266,7 +10351,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30646,7 +30896,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +@@ -30108,7 +30358,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10275,7 +10360,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30656,7 +30906,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +@@ -30118,7 +30368,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10284,7 +10369,7 @@ prototype: SVGFEFuncGElement; new (): SVGFEFuncGElement; }; -@@ -30669,7 +30919,7 @@ declare var SVGFEFuncGElement: { +@@ -30131,7 +30381,7 @@ declare var SVGFEFuncGElement: { interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10293,7 +10378,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30679,7 +30929,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +@@ -30141,7 +30391,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10302,7 +10387,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30689,7 +30939,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +@@ -30151,7 +30401,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10311,7 +10396,7 @@ prototype: SVGFEFuncRElement; new (): SVGFEFuncRElement; }; -@@ -30712,7 +30962,7 @@ interface SVGFEGaussianBlurElement +@@ -30174,7 +30424,7 @@ interface SVGFEGaussianBlurElement listener: ( this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K], @@ -10320,7 +10405,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30725,7 +30975,7 @@ interface SVGFEGaussianBlurElement +@@ -30187,7 +30437,7 @@ interface SVGFEGaussianBlurElement listener: ( this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K], @@ -10329,7 +10414,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30735,7 +30985,7 @@ interface SVGFEGaussianBlurElement +@@ -30197,7 +30447,7 @@ interface SVGFEGaussianBlurElement ): void; } @@ -10338,7 +10423,7 @@ prototype: SVGFEGaussianBlurElement; new (): SVGFEGaussianBlurElement; }; -@@ -30752,7 +31002,7 @@ interface SVGFEImageElement +@@ -30214,7 +30464,7 @@ interface SVGFEImageElement readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; addEventListener( type: K, @@ -10347,7 +10432,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30762,7 +31012,7 @@ interface SVGFEImageElement +@@ -30224,7 +30474,7 @@ interface SVGFEImageElement ): void; removeEventListener( type: K, @@ -10356,7 +10441,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30772,7 +31022,7 @@ interface SVGFEImageElement +@@ -30234,7 +30484,7 @@ interface SVGFEImageElement ): void; } @@ -10365,7 +10450,7 @@ prototype: SVGFEImageElement; new (): SVGFEImageElement; }; -@@ -30787,7 +31037,7 @@ interface SVGFEMergeElement +@@ -30249,7 +30499,7 @@ interface SVGFEMergeElement SVGFilterPrimitiveStandardAttributes { addEventListener( type: K, @@ -10374,7 +10459,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30797,7 +31047,7 @@ interface SVGFEMergeElement +@@ -30259,7 +30509,7 @@ interface SVGFEMergeElement ): void; removeEventListener( type: K, @@ -10383,7 +10468,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30807,7 +31057,7 @@ interface SVGFEMergeElement +@@ -30269,7 +30519,7 @@ interface SVGFEMergeElement ): void; } @@ -10392,7 +10477,7 @@ prototype: SVGFEMergeElement; new (): SVGFEMergeElement; }; -@@ -30822,7 +31072,10 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30284,7 +30534,10 @@ interface SVGFEMergeNodeElement extends SVGElement { readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10404,7 +10489,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30832,7 +31085,10 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30294,7 +30547,10 @@ interface SVGFEMergeNodeElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10416,7 +10501,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30842,7 +31098,7 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30304,7 +30560,7 @@ interface SVGFEMergeNodeElement extends SVGElement { ): void; } @@ -10425,7 +10510,7 @@ prototype: SVGFEMergeNodeElement; new (): SVGFEMergeNodeElement; }; -@@ -30865,7 +31121,10 @@ interface SVGFEMorphologyElement +@@ -30327,7 +30583,10 @@ interface SVGFEMorphologyElement readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2; addEventListener( type: K, @@ -10437,7 +10522,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30875,7 +31134,10 @@ interface SVGFEMorphologyElement +@@ -30337,7 +30596,10 @@ interface SVGFEMorphologyElement ): void; removeEventListener( type: K, @@ -10449,7 +10534,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30885,7 +31147,7 @@ interface SVGFEMorphologyElement +@@ -30347,7 +30609,7 @@ interface SVGFEMorphologyElement ): void; } @@ -10458,7 +10543,7 @@ prototype: SVGFEMorphologyElement; new (): SVGFEMorphologyElement; readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0; -@@ -30907,7 +31169,7 @@ interface SVGFEOffsetElement +@@ -30369,7 +30631,7 @@ interface SVGFEOffsetElement readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10467,7 +10552,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30917,7 +31179,7 @@ interface SVGFEOffsetElement +@@ -30379,7 +30641,7 @@ interface SVGFEOffsetElement ): void; removeEventListener( type: K, @@ -10476,7 +10561,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30927,7 +31189,7 @@ interface SVGFEOffsetElement +@@ -30389,7 +30651,7 @@ interface SVGFEOffsetElement ): void; } @@ -10485,7 +10570,7 @@ prototype: SVGFEOffsetElement; new (): SVGFEOffsetElement; }; -@@ -30944,7 +31206,10 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30406,7 +30668,10 @@ interface SVGFEPointLightElement extends SVGElement { readonly z: SVGAnimatedNumber; addEventListener( type: K, @@ -10497,7 +10582,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30954,7 +31219,10 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30416,7 +30681,10 @@ interface SVGFEPointLightElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10509,7 +10594,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30964,7 +31232,7 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30426,7 +30694,7 @@ interface SVGFEPointLightElement extends SVGElement { ): void; } @@ -10518,7 +10603,7 @@ prototype: SVGFEPointLightElement; new (): SVGFEPointLightElement; }; -@@ -30989,7 +31257,7 @@ interface SVGFESpecularLightingElement +@@ -30451,7 +30719,7 @@ interface SVGFESpecularLightingElement listener: ( this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K], @@ -10527,7 +10612,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31002,7 +31270,7 @@ interface SVGFESpecularLightingElement +@@ -30464,7 +30732,7 @@ interface SVGFESpecularLightingElement listener: ( this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K], @@ -10536,7 +10621,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31012,7 +31280,7 @@ interface SVGFESpecularLightingElement +@@ -30474,7 +30742,7 @@ interface SVGFESpecularLightingElement ): void; } @@ -10545,7 +10630,7 @@ prototype: SVGFESpecularLightingElement; new (): SVGFESpecularLightingElement; }; -@@ -31034,7 +31302,10 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30496,7 +30764,10 @@ interface SVGFESpotLightElement extends SVGElement { readonly z: SVGAnimatedNumber; addEventListener( type: K, @@ -10557,7 +10642,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31044,7 +31315,10 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30506,7 +30777,10 @@ interface SVGFESpotLightElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10569,7 +10654,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31054,7 +31328,7 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30516,7 +30790,7 @@ interface SVGFESpotLightElement extends SVGElement { ): void; } @@ -10578,7 +10663,7 @@ prototype: SVGFESpotLightElement; new (): SVGFESpotLightElement; }; -@@ -31070,7 +31344,7 @@ interface SVGFETileElement +@@ -30532,7 +30806,7 @@ interface SVGFETileElement readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10587,7 +10672,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31080,7 +31354,7 @@ interface SVGFETileElement +@@ -30542,7 +30816,7 @@ interface SVGFETileElement ): void; removeEventListener( type: K, @@ -10596,7 +10681,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31090,7 +31364,7 @@ interface SVGFETileElement +@@ -30552,7 +30826,7 @@ interface SVGFETileElement ): void; } @@ -10605,7 +10690,7 @@ prototype: SVGFETileElement; new (): SVGFETileElement; }; -@@ -31118,7 +31392,10 @@ interface SVGFETurbulenceElement +@@ -30580,7 +30854,10 @@ interface SVGFETurbulenceElement readonly SVG_STITCHTYPE_NOSTITCH: 2; addEventListener( type: K, @@ -10617,7 +10702,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31128,7 +31405,10 @@ interface SVGFETurbulenceElement +@@ -30590,7 +30867,10 @@ interface SVGFETurbulenceElement ): void; removeEventListener( type: K, @@ -10629,7 +10714,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31138,7 +31418,7 @@ interface SVGFETurbulenceElement +@@ -30600,7 +30880,7 @@ interface SVGFETurbulenceElement ): void; } @@ -10638,7 +10723,7 @@ prototype: SVGFETurbulenceElement; new (): SVGFETurbulenceElement; readonly SVG_TURBULENCE_TYPE_UNKNOWN: 0; -@@ -31164,7 +31444,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30626,7 +30906,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10647,7 +10732,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31174,7 +31454,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30636,7 +30916,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10656,7 +10741,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31184,7 +31464,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30646,7 +30926,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { ): void; } @@ -10665,7 +10750,7 @@ prototype: SVGFilterElement; new (): SVGFilterElement; }; -@@ -31224,7 +31504,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30686,7 +30966,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10677,7 +10762,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31234,7 +31517,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30696,7 +30979,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10689,7 +10774,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31244,7 +31530,7 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30706,7 +30992,7 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { ): void; } @@ -10698,7 +10783,7 @@ prototype: SVGForeignObjectElement; new (): SVGForeignObjectElement; }; -@@ -31257,7 +31543,7 @@ declare var SVGForeignObjectElement: { +@@ -30719,7 +31005,7 @@ declare var SVGForeignObjectElement: { interface SVGGElement extends SVGGraphicsElement { addEventListener( type: K, @@ -10707,7 +10792,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31267,7 +31553,7 @@ interface SVGGElement extends SVGGraphicsElement { +@@ -30729,7 +31015,7 @@ interface SVGGElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10716,7 +10801,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31277,7 +31563,7 @@ interface SVGGElement extends SVGGraphicsElement { +@@ -30739,7 +31025,7 @@ interface SVGGElement extends SVGGraphicsElement { ): void; } @@ -10725,7 +10810,7 @@ prototype: SVGGElement; new (): SVGGElement; }; -@@ -31314,7 +31600,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30776,7 +31062,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { isPointInStroke(point?: DOMPointInit): boolean; addEventListener( type: K, @@ -10734,7 +10819,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31324,7 +31610,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30786,7 +31072,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10743,7 +10828,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31334,7 +31620,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30796,7 +31082,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { ): void; } @@ -10752,7 +10837,7 @@ prototype: SVGGeometryElement; new (): SVGGeometryElement; }; -@@ -31356,7 +31642,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30818,7 +31104,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { readonly SVG_SPREADMETHOD_REPEAT: 3; addEventListener( type: K, @@ -10761,7 +10846,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31366,7 +31652,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30828,7 +31114,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10770,7 +10855,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31376,7 +31662,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30838,7 +31124,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { ): void; } @@ -10779,7 +10864,7 @@ prototype: SVGGradientElement; new (): SVGGradientElement; readonly SVG_SPREADMETHOD_UNKNOWN: 0; -@@ -31403,7 +31689,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30865,7 +31151,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { getScreenCTM(): DOMMatrix | null; addEventListener( type: K, @@ -10788,7 +10873,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31413,7 +31699,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30875,7 +31161,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { ): void; removeEventListener( type: K, @@ -10797,7 +10882,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31423,7 +31709,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30885,7 +31171,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { ): void; } @@ -10806,7 +10891,7 @@ prototype: SVGGraphicsElement; new (): SVGGraphicsElement; }; -@@ -31466,7 +31752,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30924,7 +31210,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10815,7 +10900,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31476,7 +31762,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30934,7 +31220,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10824,7 +10909,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31486,7 +31772,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30944,7 +31230,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -10833,7 +10918,7 @@ prototype: SVGImageElement; new (): SVGImageElement; }; -@@ -31516,7 +31802,7 @@ interface SVGLength { +@@ -30974,7 +31260,7 @@ interface SVGLength { readonly SVG_LENGTHTYPE_PC: 10; } @@ -10842,7 +10927,7 @@ prototype: SVGLength; new (): SVGLength; readonly SVG_LENGTHTYPE_UNKNOWN: 0; -@@ -31550,7 +31836,7 @@ interface SVGLengthList { +@@ -31008,7 +31294,7 @@ interface SVGLengthList { [index: number]: SVGLength; } @@ -10851,7 +10936,7 @@ prototype: SVGLengthList; new (): SVGLengthList; }; -@@ -31568,7 +31854,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31026,7 +31312,7 @@ interface SVGLineElement extends SVGGeometryElement { readonly y2: SVGAnimatedLength; addEventListener( type: K, @@ -10860,7 +10945,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31578,7 +31864,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31036,7 +31322,7 @@ interface SVGLineElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -10869,7 +10954,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31588,7 +31874,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31046,7 +31332,7 @@ interface SVGLineElement extends SVGGeometryElement { ): void; } @@ -10878,7 +10963,7 @@ prototype: SVGLineElement; new (): SVGLineElement; }; -@@ -31609,7 +31895,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31067,7 +31353,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { listener: ( this: SVGLinearGradientElement, ev: SVGElementEventMap[K], @@ -10887,7 +10972,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31622,7 +31908,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31080,7 +31366,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { listener: ( this: SVGLinearGradientElement, ev: SVGElementEventMap[K], @@ -10896,7 +10981,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31632,7 +31918,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31090,7 +31376,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { ): void; } @@ -10905,7 +10990,7 @@ prototype: SVGLinearGradientElement; new (): SVGLinearGradientElement; }; -@@ -31641,7 +31927,7 @@ declare var SVGLinearGradientElement: { +@@ -31099,7 +31385,7 @@ declare var SVGLinearGradientElement: { interface SVGMPathElement extends SVGElement, SVGURIReference { addEventListener( type: K, @@ -10914,7 +10999,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31651,7 +31937,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { +@@ -31109,7 +31395,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10923,7 +11008,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31661,7 +31947,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { +@@ -31119,7 +31405,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { ): void; } @@ -10932,7 +11017,7 @@ prototype: SVGMPathElement; new (): SVGMPathElement; }; -@@ -31721,7 +32007,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31179,7 +31465,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { readonly SVG_MARKER_ORIENT_ANGLE: 2; addEventListener( type: K, @@ -10941,7 +11026,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31731,7 +32017,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31189,7 +31475,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -10950,7 +11035,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31741,7 +32027,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31199,7 +31485,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -10959,7 +11044,7 @@ prototype: SVGMarkerElement; new (): SVGMarkerElement; readonly SVG_MARKERUNITS_UNKNOWN: 0; -@@ -31791,7 +32077,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31249,7 +31535,7 @@ interface SVGMaskElement extends SVGElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10968,7 +11053,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31801,7 +32087,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31259,7 +31545,7 @@ interface SVGMaskElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10977,7 +11062,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31811,7 +32097,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31269,7 +31555,7 @@ interface SVGMaskElement extends SVGElement { ): void; } @@ -10986,7 +11071,7 @@ prototype: SVGMaskElement; new (): SVGMaskElement; }; -@@ -31825,7 +32111,7 @@ declare var SVGMaskElement: { +@@ -31283,7 +31569,7 @@ declare var SVGMaskElement: { interface SVGMetadataElement extends SVGElement { addEventListener( type: K, @@ -10995,7 +11080,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31835,7 +32121,7 @@ interface SVGMetadataElement extends SVGElement { +@@ -31293,7 +31579,7 @@ interface SVGMetadataElement extends SVGElement { ): void; removeEventListener( type: K, @@ -11004,7 +11089,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31845,7 +32131,7 @@ interface SVGMetadataElement extends SVGElement { +@@ -31303,7 +31589,7 @@ interface SVGMetadataElement extends SVGElement { ): void; } @@ -11013,7 +11098,7 @@ prototype: SVGMetadataElement; new (): SVGMetadataElement; }; -@@ -31859,7 +32145,7 @@ interface SVGNumber { +@@ -31317,7 +31603,7 @@ interface SVGNumber { value: number; } @@ -11022,7 +11107,7 @@ prototype: SVGNumber; new (): SVGNumber; }; -@@ -31882,7 +32168,7 @@ interface SVGNumberList { +@@ -31340,7 +31626,7 @@ interface SVGNumberList { [index: number]: SVGNumber; } @@ -11031,7 +11116,7 @@ prototype: SVGNumberList; new (): SVGNumberList; }; -@@ -31895,7 +32181,7 @@ declare var SVGNumberList: { +@@ -31353,7 +31639,7 @@ declare var SVGNumberList: { interface SVGPathElement extends SVGGeometryElement { addEventListener( type: K, @@ -11040,7 +11125,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31905,7 +32191,7 @@ interface SVGPathElement extends SVGGeometryElement { +@@ -31363,7 +31649,7 @@ interface SVGPathElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -11049,7 +11134,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31915,7 +32201,7 @@ interface SVGPathElement extends SVGGeometryElement { +@@ -31373,7 +31659,7 @@ interface SVGPathElement extends SVGGeometryElement { ): void; } @@ -11058,7 +11143,7 @@ prototype: SVGPathElement; new (): SVGPathElement; }; -@@ -31938,7 +32224,7 @@ interface SVGPatternElement +@@ -31396,7 +31682,7 @@ interface SVGPatternElement readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -11067,7 +11152,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31948,7 +32234,7 @@ interface SVGPatternElement +@@ -31406,7 +31692,7 @@ interface SVGPatternElement ): void; removeEventListener( type: K, @@ -11076,7 +11161,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31958,7 +32244,7 @@ interface SVGPatternElement +@@ -31416,7 +31702,7 @@ interface SVGPatternElement ): void; } @@ -11085,7 +11170,7 @@ prototype: SVGPatternElement; new (): SVGPatternElement; }; -@@ -32013,7 +32299,7 @@ interface SVGPointList { +@@ -31471,7 +31757,7 @@ interface SVGPointList { [index: number]: DOMPoint; } @@ -11094,7 +11179,7 @@ prototype: SVGPointList; new (): SVGPointList; }; -@@ -32027,7 +32313,7 @@ declare var SVGPointList: { +@@ -31485,7 +31771,7 @@ declare var SVGPointList: { interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener( type: K, @@ -11103,7 +11188,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32037,7 +32323,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31495,7 +31781,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; removeEventListener( type: K, @@ -11112,7 +11197,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32047,7 +32333,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31505,7 +31791,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; } @@ -11121,7 +11206,7 @@ prototype: SVGPolygonElement; new (): SVGPolygonElement; }; -@@ -32062,7 +32348,7 @@ declare var SVGPolygonElement: { +@@ -31520,7 +31806,7 @@ declare var SVGPolygonElement: { interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener( type: K, @@ -11130,7 +11215,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32072,7 +32358,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31530,7 +31816,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; removeEventListener( type: K, @@ -11139,7 +11224,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32082,7 +32368,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31540,7 +31826,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; } @@ -11148,7 +11233,7 @@ prototype: SVGPolylineElement; new (): SVGPolylineElement; }; -@@ -32113,7 +32399,7 @@ interface SVGPreserveAspectRatio { +@@ -31571,7 +31857,7 @@ interface SVGPreserveAspectRatio { readonly SVG_MEETORSLICE_SLICE: 2; } @@ -11157,7 +11242,7 @@ prototype: SVGPreserveAspectRatio; new (): SVGPreserveAspectRatio; readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0; -@@ -32150,7 +32436,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31608,7 +31894,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { listener: ( this: SVGRadialGradientElement, ev: SVGElementEventMap[K], @@ -11166,7 +11251,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32163,7 +32449,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31621,7 +31907,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { listener: ( this: SVGRadialGradientElement, ev: SVGElementEventMap[K], @@ -11175,7 +11260,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32173,7 +32459,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31631,7 +31917,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { ): void; } @@ -11184,7 +11269,7 @@ prototype: SVGRadialGradientElement; new (): SVGRadialGradientElement; }; -@@ -32193,7 +32479,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31651,7 +31937,7 @@ interface SVGRectElement extends SVGGeometryElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -11193,7 +11278,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32203,7 +32489,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31661,7 +31947,7 @@ interface SVGRectElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -11202,7 +11287,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32213,7 +32499,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31671,7 +31957,7 @@ interface SVGRectElement extends SVGGeometryElement { ): void; } @@ -11211,7 +11296,7 @@ prototype: SVGRectElement; new (): SVGRectElement; }; -@@ -32297,7 +32583,7 @@ interface SVGSVGElement +@@ -31755,7 +32041,7 @@ interface SVGSVGElement unsuspendRedrawAll(): void; addEventListener( type: K, @@ -11220,7 +11305,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32307,7 +32593,7 @@ interface SVGSVGElement +@@ -31765,7 +32051,7 @@ interface SVGSVGElement ): void; removeEventListener( type: K, @@ -11229,7 +11314,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32317,7 +32603,7 @@ interface SVGSVGElement +@@ -31775,7 +32061,7 @@ interface SVGSVGElement ): void; } @@ -11238,7 +11323,7 @@ prototype: SVGSVGElement; new (): SVGSVGElement; }; -@@ -32331,7 +32617,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31789,7 +32075,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { type: string; addEventListener( type: K, @@ -11247,7 +11332,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32341,7 +32627,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31799,7 +32085,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11256,7 +11341,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32351,7 +32637,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31809,7 +32095,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { ): void; } @@ -11265,7 +11350,7 @@ prototype: SVGScriptElement; new (): SVGScriptElement; }; -@@ -32360,7 +32646,7 @@ declare var SVGScriptElement: { +@@ -31818,7 +32104,7 @@ declare var SVGScriptElement: { interface SVGSetElement extends SVGAnimationElement { addEventListener( type: K, @@ -11274,7 +11359,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32370,7 +32656,7 @@ interface SVGSetElement extends SVGAnimationElement { +@@ -31828,7 +32114,7 @@ interface SVGSetElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -11283,7 +11368,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32380,7 +32666,7 @@ interface SVGSetElement extends SVGAnimationElement { +@@ -31838,7 +32124,7 @@ interface SVGSetElement extends SVGAnimationElement { ): void; } @@ -11292,7 +11377,7 @@ prototype: SVGSetElement; new (): SVGSetElement; }; -@@ -32394,7 +32680,7 @@ interface SVGStopElement extends SVGElement { +@@ -31852,7 +32138,7 @@ interface SVGStopElement extends SVGElement { readonly offset: SVGAnimatedNumber; addEventListener( type: K, @@ -11301,7 +11386,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32404,7 +32690,7 @@ interface SVGStopElement extends SVGElement { +@@ -31862,7 +32148,7 @@ interface SVGStopElement extends SVGElement { ): void; removeEventListener( type: K, @@ -11310,7 +11395,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32414,7 +32700,7 @@ interface SVGStopElement extends SVGElement { +@@ -31872,7 +32158,7 @@ interface SVGStopElement extends SVGElement { ): void; } @@ -11319,7 +11404,7 @@ prototype: SVGStopElement; new (): SVGStopElement; }; -@@ -32437,7 +32723,7 @@ interface SVGStringList { +@@ -31895,7 +32181,7 @@ interface SVGStringList { [index: number]: string; } @@ -11328,7 +11413,7 @@ prototype: SVGStringList; new (): SVGStringList; }; -@@ -32468,7 +32754,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31926,7 +32212,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { type: string; addEventListener( type: K, @@ -11337,7 +11422,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32478,7 +32764,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31936,7 +32222,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { ): void; removeEventListener( type: K, @@ -11346,7 +11431,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32488,7 +32774,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31946,7 +32232,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { ): void; } @@ -11355,7 +11440,7 @@ prototype: SVGStyleElement; new (): SVGStyleElement; }; -@@ -32501,7 +32787,7 @@ declare var SVGStyleElement: { +@@ -31959,7 +32245,7 @@ declare var SVGStyleElement: { interface SVGSwitchElement extends SVGGraphicsElement { addEventListener( type: K, @@ -11364,7 +11449,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32511,7 +32797,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { +@@ -31969,7 +32255,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -11373,7 +11458,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32521,7 +32807,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { +@@ -31979,7 +32265,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { ): void; } @@ -11382,7 +11467,7 @@ prototype: SVGSwitchElement; new (): SVGSwitchElement; }; -@@ -32534,7 +32820,7 @@ declare var SVGSwitchElement: { +@@ -31992,7 +32278,7 @@ declare var SVGSwitchElement: { interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { addEventListener( type: K, @@ -11391,7 +11476,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32544,7 +32830,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { +@@ -32002,7 +32288,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -11400,7 +11485,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32554,7 +32840,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { +@@ -32012,7 +32298,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -11409,7 +11494,7 @@ prototype: SVGSymbolElement; new (): SVGSymbolElement; }; -@@ -32567,7 +32853,7 @@ declare var SVGSymbolElement: { +@@ -32025,7 +32311,7 @@ declare var SVGSymbolElement: { interface SVGTSpanElement extends SVGTextPositioningElement { addEventListener( type: K, @@ -11418,7 +11503,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32577,7 +32863,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { +@@ -32035,7 +32321,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { ): void; removeEventListener( type: K, @@ -11427,7 +11512,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32587,7 +32873,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { +@@ -32045,7 +32331,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { ): void; } @@ -11436,7 +11521,7 @@ prototype: SVGTSpanElement; new (): SVGTSpanElement; }; -@@ -32623,7 +32909,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32081,7 +32367,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { readonly LENGTHADJUST_SPACINGANDGLYPHS: 2; addEventListener( type: K, @@ -11448,7 +11533,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32633,7 +32922,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32091,7 +32380,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -11460,7 +11545,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32643,7 +32935,7 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32101,7 +32393,7 @@ interface SVGTextContentElement extends SVGGraphicsElement { ): void; } @@ -11469,7 +11554,7 @@ prototype: SVGTextContentElement; new (): SVGTextContentElement; readonly LENGTHADJUST_UNKNOWN: 0; -@@ -32659,7 +32951,7 @@ declare var SVGTextContentElement: { +@@ -32117,7 +32409,7 @@ declare var SVGTextContentElement: { interface SVGTextElement extends SVGTextPositioningElement { addEventListener( type: K, @@ -11478,7 +11563,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32669,7 +32961,7 @@ interface SVGTextElement extends SVGTextPositioningElement { +@@ -32127,7 +32419,7 @@ interface SVGTextElement extends SVGTextPositioningElement { ): void; removeEventListener( type: K, @@ -11487,7 +11572,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32679,7 +32971,7 @@ interface SVGTextElement extends SVGTextPositioningElement { +@@ -32137,7 +32429,7 @@ interface SVGTextElement extends SVGTextPositioningElement { ): void; } @@ -11496,7 +11581,7 @@ prototype: SVGTextElement; new (): SVGTextElement; }; -@@ -32702,7 +32994,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32160,7 +32452,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { readonly TEXTPATH_SPACINGTYPE_EXACT: 2; addEventListener( type: K, @@ -11505,7 +11590,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32712,7 +33004,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32170,7 +32462,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11514,7 +11599,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32722,7 +33014,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32180,7 +32472,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { ): void; } @@ -11523,7 +11608,7 @@ prototype: SVGTextPathElement; new (): SVGTextPathElement; readonly TEXTPATH_METHODTYPE_UNKNOWN: 0; -@@ -32752,7 +33044,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32210,7 +32502,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { listener: ( this: SVGTextPositioningElement, ev: SVGElementEventMap[K], @@ -11532,7 +11617,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32765,7 +33057,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32223,7 +32515,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { listener: ( this: SVGTextPositioningElement, ev: SVGElementEventMap[K], @@ -11541,7 +11626,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32775,7 +33067,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32233,7 +32525,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { ): void; } @@ -11550,7 +11635,7 @@ prototype: SVGTextPositioningElement; new (): SVGTextPositioningElement; }; -@@ -32788,7 +33080,7 @@ declare var SVGTextPositioningElement: { +@@ -32246,7 +32538,7 @@ declare var SVGTextPositioningElement: { interface SVGTitleElement extends SVGElement { addEventListener( type: K, @@ -11559,7 +11644,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32798,7 +33090,7 @@ interface SVGTitleElement extends SVGElement { +@@ -32256,7 +32548,7 @@ interface SVGTitleElement extends SVGElement { ): void; removeEventListener( type: K, @@ -11568,7 +11653,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32808,7 +33100,7 @@ interface SVGTitleElement extends SVGElement { +@@ -32266,7 +32558,7 @@ interface SVGTitleElement extends SVGElement { ): void; } @@ -11577,7 +11662,7 @@ prototype: SVGTitleElement; new (): SVGTitleElement; }; -@@ -32839,7 +33131,7 @@ interface SVGTransform { +@@ -32297,7 +32589,7 @@ interface SVGTransform { readonly SVG_TRANSFORM_SKEWY: 6; } @@ -11586,7 +11671,7 @@ prototype: SVGTransform; new (): SVGTransform; readonly SVG_TRANSFORM_UNKNOWN: 0; -@@ -32871,7 +33163,7 @@ interface SVGTransformList { +@@ -32329,7 +32621,7 @@ interface SVGTransformList { [index: number]: SVGTransform; } @@ -11595,7 +11680,7 @@ prototype: SVGTransformList; new (): SVGTransformList; }; -@@ -32892,7 +33184,7 @@ interface SVGUnitTypes { +@@ -32350,7 +32642,7 @@ interface SVGUnitTypes { readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2; } @@ -11604,7 +11689,7 @@ prototype: SVGUnitTypes; new (): SVGUnitTypes; readonly SVG_UNIT_TYPE_UNKNOWN: 0; -@@ -32912,7 +33204,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32370,7 +32662,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -11613,7 +11698,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32922,7 +33214,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32380,7 +32672,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11622,7 +11707,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32932,7 +33224,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32390,7 +32682,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -11631,7 +11716,7 @@ prototype: SVGUseElement; new (): SVGUseElement; }; -@@ -32946,7 +33238,7 @@ declare var SVGUseElement: { +@@ -32404,7 +32696,7 @@ declare var SVGUseElement: { interface SVGViewElement extends SVGElement, SVGFitToViewBox { addEventListener( type: K, @@ -11640,7 +11725,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32956,7 +33248,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { +@@ -32414,7 +32706,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -11649,7 +11734,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32966,7 +33258,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { +@@ -32424,7 +32716,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -11658,7 +11743,7 @@ prototype: SVGViewElement; new (): SVGViewElement; }; -@@ -33009,7 +33301,7 @@ interface Screen { +@@ -32467,7 +32759,7 @@ interface Screen { readonly width: number; } @@ -11667,16 +11752,16 @@ prototype: Screen; new (): Screen; }; -@@ -33025,7 +33317,7 @@ interface ScreenOrientation extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) +@@ -32487,7 +32779,7 @@ interface ScreenOrientation extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */ - readonly angle: number; - onchange: ((this: ScreenOrientation, ev: Event) => any) | null; + onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) -@@ -33041,7 +33333,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32503,7 +32795,7 @@ interface ScreenOrientation extends EventTarget { listener: ( this: ScreenOrientation, ev: ScreenOrientationEventMap[K], @@ -11685,7 +11770,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33054,7 +33346,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32516,7 +32808,7 @@ interface ScreenOrientation extends EventTarget { listener: ( this: ScreenOrientation, ev: ScreenOrientationEventMap[K], @@ -11694,7 +11779,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33064,7 +33356,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32526,7 +32818,7 @@ interface ScreenOrientation extends EventTarget { ): void; } @@ -11703,7 +11788,7 @@ prototype: ScreenOrientation; new (): ScreenOrientation; }; -@@ -33098,14 +33390,14 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32560,14 +32852,14 @@ interface ScriptProcessorNode extends AudioNode { * Reference](https://developer.mozilla.org/docs/Web/API/ScriptProcessorNode/audioprocess_event) */ onaudioprocess: @@ -11720,7 +11805,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33118,7 +33410,7 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32580,7 +32872,7 @@ interface ScriptProcessorNode extends AudioNode { listener: ( this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K], @@ -11729,7 +11814,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33129,7 +33421,7 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32591,7 +32883,7 @@ interface ScriptProcessorNode extends AudioNode { } /** @deprecated */ @@ -11738,7 +11823,7 @@ prototype: ScriptProcessorNode; new (): ScriptProcessorNode; }; -@@ -33204,7 +33496,7 @@ interface SecurityPolicyViolationEvent extends Event { +@@ -32666,7 +32958,7 @@ interface SecurityPolicyViolationEvent extends Event { readonly violatedDirective: string; } @@ -11747,7 +11832,7 @@ prototype: SecurityPolicyViolationEvent; new ( type: string, -@@ -33335,7 +33627,7 @@ interface Selection { +@@ -32802,7 +33094,7 @@ interface Selection { toString(): string; } @@ -11756,7 +11841,7 @@ prototype: Selection; new (): Selection; }; -@@ -33357,7 +33649,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32824,7 +33116,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */ @@ -11765,7 +11850,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL) -@@ -33372,11 +33664,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32839,11 +33131,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage) */ @@ -11780,7 +11865,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33386,7 +33678,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32853,7 +33145,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -11789,7 +11874,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33396,7 +33688,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32863,7 +33155,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; } @@ -11798,7 +11883,7 @@ prototype: ServiceWorker; new (): ServiceWorker; }; -@@ -33427,18 +33719,22 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32894,18 +33186,22 @@ interface ServiceWorkerContainer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */ @@ -11824,7 +11909,7 @@ | null; /** * [MDN -@@ -33475,7 +33771,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32942,7 +33238,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -11833,7 +11918,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33488,7 +33784,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32955,7 +33251,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -11842,7 +11927,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33498,7 +33794,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32965,7 +33261,7 @@ interface ServiceWorkerContainer extends EventTarget { ): void; } @@ -11851,7 +11936,7 @@ prototype: ServiceWorkerContainer; new (): ServiceWorkerContainer; }; -@@ -33535,7 +33831,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33002,7 +33298,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */ @@ -11862,7 +11947,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager) -@@ -33560,7 +33858,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33027,7 +33325,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/getNotifications) */ @@ -11873,7 +11958,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification) -@@ -33581,7 +33881,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33048,7 +33348,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -11882,7 +11967,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33594,7 +33894,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33061,7 +33361,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -11891,7 +11976,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33604,7 +33904,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33071,7 +33371,7 @@ interface ServiceWorkerRegistration extends EventTarget { ): void; } @@ -11900,16 +11985,16 @@ prototype: ServiceWorkerRegistration; new (): ServiceWorkerRegistration; }; -@@ -33624,7 +33924,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { - readonly host: Element; +@@ -33101,7 +33401,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; - onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; + onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) -@@ -33636,7 +33936,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) +@@ -33128,7 +33428,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ addEventListener( type: K, @@ -11918,7 +12003,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33646,7 +33946,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +@@ -33138,7 +33438,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { ): void; removeEventListener( type: K, @@ -11927,7 +12012,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33656,7 +33956,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +@@ -33148,7 +33448,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { ): void; } @@ -11936,7 +12021,7 @@ prototype: ShadowRoot; new (): ShadowRoot; }; -@@ -33673,7 +33973,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33165,7 +33465,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { readonly port: MessagePort; addEventListener( type: K, @@ -11945,7 +12030,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33683,7 +33983,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33175,7 +33475,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -11954,7 +12039,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33693,7 +33993,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33185,7 +33485,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { ): void; } @@ -11963,40 +12048,24 @@ prototype: SharedWorker; new (scriptURL: string | URL, options?: string | WorkerOptions): SharedWorker; }; -@@ -33745,27 +34045,27 @@ interface SourceBuffer extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) +@@ -33233,11 +33533,11 @@ interface SourceBuffer extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ + mode: AppendMode; - onabort: ((this: SourceBuffer, ev: Event) => any) | null; -+ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ - onerror: ((this: SourceBuffer, ev: Event) => any) | null; -+ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ - onupdate: ((this: SourceBuffer, ev: Event) => any) | null; -+ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ - onupdateend: ((this: SourceBuffer, ev: Event) => any) | null; -+ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ - onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null; ++ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; + onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset) -@@ -33798,7 +34098,7 @@ interface SourceBuffer extends EventTarget { +@@ -33270,7 +33570,7 @@ interface SourceBuffer extends EventTarget { remove(start: number, end: number): void; addEventListener( type: K, @@ -12005,7 +12074,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33808,7 +34108,7 @@ interface SourceBuffer extends EventTarget { +@@ -33280,7 +33580,7 @@ interface SourceBuffer extends EventTarget { ): void; removeEventListener( type: K, @@ -12014,7 +12083,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33818,7 +34118,7 @@ interface SourceBuffer extends EventTarget { +@@ -33290,7 +33590,7 @@ interface SourceBuffer extends EventTarget { ): void; } @@ -12023,17 +12092,13 @@ prototype: SourceBuffer; new (): SourceBuffer; }; -@@ -33843,15 +34143,18 @@ interface SourceBufferList extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) +@@ -33311,11 +33611,14 @@ interface SourceBufferList extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ + readonly length: number; - onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; -+ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ - onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; ++ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; + onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -12045,7 +12110,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33861,7 +34164,10 @@ interface SourceBufferList extends EventTarget { +@@ -33325,7 +33628,10 @@ interface SourceBufferList extends EventTarget { ): void; removeEventListener( type: K, @@ -12057,7 +12122,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33872,7 +34178,7 @@ interface SourceBufferList extends EventTarget { +@@ -33336,7 +33642,7 @@ interface SourceBufferList extends EventTarget { [index: number]: SourceBuffer; } @@ -12066,7 +12131,7 @@ prototype: SourceBufferList; new (): SourceBufferList; }; -@@ -33894,7 +34200,7 @@ interface SpeechRecognitionAlternative { +@@ -33358,7 +33664,7 @@ interface SpeechRecognitionAlternative { readonly transcript: string; } @@ -12075,7 +12140,7 @@ prototype: SpeechRecognitionAlternative; new (): SpeechRecognitionAlternative; }; -@@ -33922,7 +34228,7 @@ interface SpeechRecognitionResult { +@@ -33386,7 +33692,7 @@ interface SpeechRecognitionResult { [index: number]: SpeechRecognitionAlternative; } @@ -12084,7 +12149,7 @@ prototype: SpeechRecognitionResult; new (): SpeechRecognitionResult; }; -@@ -33945,7 +34251,7 @@ interface SpeechRecognitionResultList { +@@ -33409,7 +33715,7 @@ interface SpeechRecognitionResultList { [index: number]: SpeechRecognitionResult; } @@ -12093,7 +12158,7 @@ prototype: SpeechRecognitionResultList; new (): SpeechRecognitionResultList; }; -@@ -33966,7 +34272,7 @@ interface SpeechSynthesis extends EventTarget { +@@ -33430,7 +33736,7 @@ interface SpeechSynthesis extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/voiceschanged_event) */ @@ -12102,7 +12167,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/paused) -@@ -33991,7 +34297,7 @@ interface SpeechSynthesis extends EventTarget { +@@ -33455,7 +33761,7 @@ interface SpeechSynthesis extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/getVoices) */ @@ -12111,7 +12176,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/pause) -@@ -34009,7 +34315,10 @@ interface SpeechSynthesis extends EventTarget { +@@ -33473,7 +33779,10 @@ interface SpeechSynthesis extends EventTarget { speak(utterance: SpeechSynthesisUtterance): void; addEventListener( type: K, @@ -12123,7 +12188,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -34019,7 +34328,10 @@ interface SpeechSynthesis extends EventTarget { +@@ -33483,7 +33792,10 @@ interface SpeechSynthesis extends EventTarget { ): void; removeEventListener( type: K, @@ -12135,7 +12200,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -34029,7 +34341,7 @@ interface SpeechSynthesis extends EventTarget { +@@ -33493,7 +33805,7 @@ interface SpeechSynthesis extends EventTarget { ): void; } @@ -12144,7 +12209,7 @@ prototype: SpeechSynthesis; new (): SpeechSynthesis; }; -@@ -34046,7 +34358,7 @@ interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { +@@ -33510,7 +33822,7 @@ interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { readonly error: SpeechSynthesisErrorCode; } @@ -12153,7 +12218,7 @@ prototype: SpeechSynthesisErrorEvent; new ( type: string, -@@ -34090,7 +34402,7 @@ interface SpeechSynthesisEvent extends Event { +@@ -33554,7 +33866,7 @@ interface SpeechSynthesisEvent extends Event { readonly utterance: SpeechSynthesisUtterance; } @@ -12162,7 +12227,7 @@ prototype: SpeechSynthesisEvent; new ( type: string, -@@ -34127,49 +34439,52 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33591,49 +33903,52 @@ interface SpeechSynthesisUtterance extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/boundary_event) */ onboundary: @@ -12222,7 +12287,7 @@ | null; /** * [MDN -@@ -34201,7 +34516,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33665,7 +33980,7 @@ interface SpeechSynthesisUtterance extends EventTarget { listener: ( this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K], @@ -12231,7 +12296,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -34214,7 +34529,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33678,7 +33993,7 @@ interface SpeechSynthesisUtterance extends EventTarget { listener: ( this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K], @@ -12240,7 +12305,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -34224,7 +34539,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33688,7 +34003,7 @@ interface SpeechSynthesisUtterance extends EventTarget { ): void; } @@ -12249,7 +12314,7 @@ prototype: SpeechSynthesisUtterance; new (text?: string): SpeechSynthesisUtterance; }; -@@ -34265,7 +34580,7 @@ interface SpeechSynthesisVoice { +@@ -33729,7 +34044,7 @@ interface SpeechSynthesisVoice { readonly voiceURI: string; } @@ -12258,7 +12323,7 @@ prototype: SpeechSynthesisVoice; new (): SpeechSynthesisVoice; }; -@@ -34273,7 +34588,7 @@ declare var SpeechSynthesisVoice: { +@@ -33737,7 +34052,7 @@ declare var SpeechSynthesisVoice: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StaticRange) */ interface StaticRange extends AbstractRange {} @@ -12267,7 +12332,7 @@ prototype: StaticRange; new (init: StaticRangeInit): StaticRange; }; -@@ -34293,7 +34608,7 @@ interface StereoPannerNode extends AudioNode { +@@ -33757,7 +34072,7 @@ interface StereoPannerNode extends AudioNode { readonly pan: AudioParam; } @@ -12276,7 +12341,7 @@ prototype: StereoPannerNode; new ( context: BaseAudioContext, -@@ -34363,10 +34678,10 @@ interface Storage { +@@ -33827,10 +34142,10 @@ interface Storage { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/setItem) */ setItem(key: string, value: string): void; @@ -12289,7 +12354,7 @@ prototype: Storage; new (): Storage; }; -@@ -34433,7 +34748,7 @@ interface StorageEvent extends Event { +@@ -33897,7 +34212,7 @@ interface StorageEvent extends Event { ): void; } @@ -12298,7 +12363,7 @@ prototype: StorageEvent; new (type: string, eventInitDict?: StorageEventInit): StorageEvent; }; -@@ -34466,7 +34781,7 @@ interface StorageManager { +@@ -33930,7 +34245,7 @@ interface StorageManager { persisted(): Promise; } @@ -12307,7 +12372,7 @@ prototype: StorageManager; new (): StorageManager; }; -@@ -34501,7 +34816,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly { +@@ -33965,7 +34280,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly { set(property: string, ...values: (CSSStyleValue | string)[]): void; } @@ -12316,7 +12381,7 @@ prototype: StylePropertyMap; new (): StylePropertyMap; }; -@@ -34525,7 +34840,7 @@ interface StylePropertyMapReadOnly { +@@ -33989,7 +34304,7 @@ interface StylePropertyMapReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll) */ @@ -12325,7 +12390,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has) -@@ -34533,15 +34848,15 @@ interface StylePropertyMapReadOnly { +@@ -33997,15 +34312,15 @@ interface StylePropertyMapReadOnly { has(property: string): boolean; forEach( callbackfn: ( @@ -12344,7 +12409,7 @@ prototype: StylePropertyMapReadOnly; new (): StylePropertyMapReadOnly; }; -@@ -34584,7 +34899,7 @@ interface StyleSheet { +@@ -34048,7 +34363,7 @@ interface StyleSheet { readonly type: string; } @@ -12353,7 +12418,7 @@ prototype: StyleSheet; new (): StyleSheet; }; -@@ -34608,7 +34923,7 @@ interface StyleSheetList { +@@ -34072,7 +34387,7 @@ interface StyleSheetList { [index: number]: CSSStyleSheet; } @@ -12362,7 +12427,7 @@ prototype: StyleSheetList; new (): StyleSheetList; }; -@@ -34625,7 +34940,7 @@ interface SubmitEvent extends Event { +@@ -34089,7 +34404,7 @@ interface SubmitEvent extends Event { readonly submitter: HTMLElement | null; } @@ -12371,7 +12436,7 @@ prototype: SubmitEvent; new (type: string, eventInitDict?: SubmitEventInit): SubmitEvent; }; -@@ -34683,7 +34998,7 @@ interface SubtleCrypto { +@@ -34147,7 +34462,7 @@ interface SubtleCrypto { | HkdfParams | Pbkdf2Params, extractable: boolean, @@ -12380,7 +12445,7 @@ ): Promise; /** * [MDN -@@ -34742,7 +35057,7 @@ interface SubtleCrypto { +@@ -34206,7 +34521,7 @@ interface SubtleCrypto { generateKey( algorithm: AlgorithmIdentifier, extractable: boolean, @@ -12389,7 +12454,7 @@ ): Promise; /** * [MDN -@@ -34770,7 +35085,7 @@ interface SubtleCrypto { +@@ -34234,7 +34549,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -12398,7 +12463,7 @@ ): Promise; /** * [MDN -@@ -34802,7 +35117,7 @@ interface SubtleCrypto { +@@ -34266,7 +34581,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -12407,7 +12472,7 @@ ): Promise; /** * [MDN -@@ -34831,7 +35146,7 @@ interface SubtleCrypto { +@@ -34295,7 +34610,7 @@ interface SubtleCrypto { ): Promise; } @@ -12416,7 +12481,7 @@ prototype: SubtleCrypto; new (): SubtleCrypto; }; -@@ -34859,7 +35174,7 @@ interface Text extends CharacterData, Slottable { +@@ -34323,7 +34638,7 @@ interface Text extends CharacterData, Slottable { splitText(offset: number): Text; } @@ -12425,7 +12490,7 @@ prototype: Text; new (data?: string): Text; }; -@@ -34881,7 +35196,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -34345,7 +34660,7 @@ interface TextDecoder extends TextDecoderCommon { * invocation without options's stream (or set to false) has no input, it's * clearest to omit both arguments. * @@ -12434,7 +12499,7 @@ * decoder = new TextDecoder(encoding), * buffer; * while ((buffer = next_chunk())) { -@@ -34898,7 +35213,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -34362,7 +34677,7 @@ interface TextDecoder extends TextDecoderCommon { decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string; } @@ -12443,7 +12508,7 @@ prototype: TextDecoder; new (label?: string, options?: TextDecoderOptions): TextDecoder; }; -@@ -34933,7 +35248,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { +@@ -34397,7 +34712,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { readonly writable: WritableStream; } @@ -12452,7 +12517,7 @@ prototype: TextDecoderStream; new (label?: string, options?: TextDecoderOptions): TextDecoderStream; }; -@@ -34968,7 +35283,7 @@ interface TextEncoder extends TextEncoderCommon { +@@ -34432,7 +34747,7 @@ interface TextEncoder extends TextEncoderCommon { ): TextEncoderEncodeIntoResult; } @@ -12461,7 +12526,7 @@ prototype: TextEncoder; new (): TextEncoder; }; -@@ -34989,7 +35304,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { +@@ -34453,7 +34768,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { readonly writable: WritableStream; } @@ -12470,7 +12535,16 @@ prototype: TextEncoderStream; new (): TextEncoderStream; }; -@@ -35087,7 +35402,7 @@ interface TextMetrics { +@@ -34469,7 +34784,7 @@ interface TextEvent extends UIEvent { + ): void; + } + +-declare var TextEvent: { ++declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; + }; +@@ -34567,7 +34882,7 @@ interface TextMetrics { readonly width: number; } @@ -12479,7 +12553,7 @@ prototype: TextMetrics; new (): TextMetrics; }; -@@ -35172,7 +35487,7 @@ interface TextTrack extends EventTarget { +@@ -34652,7 +34967,7 @@ interface TextTrack extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/cuechange_event) */ @@ -12488,7 +12562,7 @@ /** * Adds the given cue to textTrack's text track list of cues. * -@@ -35189,7 +35504,7 @@ interface TextTrack extends EventTarget { +@@ -34669,7 +34984,7 @@ interface TextTrack extends EventTarget { removeCue(cue: TextTrackCue): void; addEventListener( type: K, @@ -12497,7 +12571,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35199,7 +35514,7 @@ interface TextTrack extends EventTarget { +@@ -34679,7 +34994,7 @@ interface TextTrack extends EventTarget { ): void; removeEventListener( type: K, @@ -12506,7 +12580,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35209,7 +35524,7 @@ interface TextTrack extends EventTarget { +@@ -34689,7 +35004,7 @@ interface TextTrack extends EventTarget { ): void; } @@ -12515,7 +12589,7 @@ prototype: TextTrack; new (): TextTrack; }; -@@ -35249,12 +35564,12 @@ interface TextTrackCue extends EventTarget { +@@ -34729,12 +35044,12 @@ interface TextTrackCue extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/enter_event) */ @@ -12530,7 +12604,7 @@ /** * Returns true if the text track cue pause-on-exit flag is set, false * otherwise. -@@ -35284,7 +35599,7 @@ interface TextTrackCue extends EventTarget { +@@ -34764,7 +35079,7 @@ interface TextTrackCue extends EventTarget { readonly track: TextTrack | null; addEventListener( type: K, @@ -12539,7 +12613,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35294,7 +35609,7 @@ interface TextTrackCue extends EventTarget { +@@ -34774,7 +35089,7 @@ interface TextTrackCue extends EventTarget { ): void; removeEventListener( type: K, @@ -12548,7 +12622,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35304,7 +35619,7 @@ interface TextTrackCue extends EventTarget { +@@ -34784,7 +35099,7 @@ interface TextTrackCue extends EventTarget { ): void; } @@ -12557,7 +12631,7 @@ prototype: TextTrackCue; new (): TextTrackCue; }; -@@ -35332,7 +35647,7 @@ interface TextTrackCueList { +@@ -34812,7 +35127,7 @@ interface TextTrackCueList { [index: number]: TextTrackCue; } @@ -12566,7 +12640,7 @@ prototype: TextTrackCueList; new (): TextTrackCueList; }; -@@ -35354,17 +35669,17 @@ interface TextTrackList extends EventTarget { +@@ -34834,17 +35149,17 @@ interface TextTrackList extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/addtrack_event) */ @@ -12580,14 +12654,14 @@ + onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ - onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; + onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) -@@ -35372,7 +35687,7 @@ interface TextTrackList extends EventTarget { +@@ -34852,7 +35167,7 @@ interface TextTrackList extends EventTarget { getTrackById(id: string): TextTrack | null; addEventListener( type: K, @@ -12596,7 +12670,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35382,7 +35697,7 @@ interface TextTrackList extends EventTarget { +@@ -34862,7 +35177,7 @@ interface TextTrackList extends EventTarget { ): void; removeEventListener( type: K, @@ -12605,7 +12679,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35393,7 +35708,7 @@ interface TextTrackList extends EventTarget { +@@ -34873,7 +35188,7 @@ interface TextTrackList extends EventTarget { [index: number]: TextTrack; } @@ -12614,7 +12688,7 @@ prototype: TextTrackList; new (): TextTrackList; }; -@@ -35432,7 +35747,7 @@ interface TimeRanges { +@@ -34912,7 +35227,7 @@ interface TimeRanges { start(index: number): number; } @@ -12623,7 +12697,7 @@ prototype: TimeRanges; new (): TimeRanges; }; -@@ -35451,7 +35766,7 @@ interface ToggleEvent extends Event { +@@ -34931,7 +35246,7 @@ interface ToggleEvent extends Event { readonly oldState: string; } @@ -12632,7 +12706,7 @@ prototype: ToggleEvent; new (type: string, eventInitDict?: ToggleEventInit): ToggleEvent; }; -@@ -35495,7 +35810,7 @@ interface Touch { +@@ -34975,7 +35290,7 @@ interface Touch { readonly target: EventTarget; } @@ -12641,7 +12715,7 @@ prototype: Touch; new (touchInitDict: TouchInit): Touch; }; -@@ -35547,7 +35862,7 @@ interface TouchEvent extends UIEvent { +@@ -35027,7 +35342,7 @@ interface TouchEvent extends UIEvent { readonly touches: TouchList; } @@ -12650,7 +12724,7 @@ prototype: TouchEvent; new (type: string, eventInitDict?: TouchEventInit): TouchEvent; }; -@@ -35571,7 +35886,7 @@ interface TouchList { +@@ -35051,7 +35366,7 @@ interface TouchList { [index: number]: Touch; } @@ -12659,7 +12733,7 @@ prototype: TouchList; new (): TouchList; }; -@@ -35594,13 +35909,13 @@ interface TrackEvent extends Event { +@@ -35074,13 +35389,13 @@ interface TrackEvent extends Event { readonly track: TextTrack | null; } @@ -12675,7 +12749,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) -@@ -35613,9 +35928,9 @@ interface TransformStream { +@@ -35093,9 +35408,9 @@ interface TransformStream { readonly writable: WritableStream; } @@ -12687,7 +12761,7 @@ transformer?: Transformer, writableStrategy?: QueuingStrategy, readableStrategy?: QueuingStrategy, -@@ -35626,7 +35941,7 @@ declare var TransformStream: { +@@ -35106,7 +35421,7 @@ declare var TransformStream: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */ @@ -12696,7 +12770,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) -@@ -35641,7 +35956,7 @@ interface TransformStreamDefaultController { +@@ -35121,7 +35436,7 @@ interface TransformStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */ @@ -12705,7 +12779,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) -@@ -35649,7 +35964,7 @@ interface TransformStreamDefaultController { +@@ -35129,7 +35444,7 @@ interface TransformStreamDefaultController { terminate(): void; } @@ -12714,7 +12788,7 @@ prototype: TransformStreamDefaultController; new (): TransformStreamDefaultController; }; -@@ -35677,7 +35992,7 @@ interface TransitionEvent extends Event { +@@ -35157,7 +35472,7 @@ interface TransitionEvent extends Event { readonly pseudoElement: string; } @@ -12723,7 +12797,7 @@ prototype: TransitionEvent; new ( type: string, -@@ -35745,7 +36060,7 @@ interface TreeWalker { +@@ -35225,7 +35540,7 @@ interface TreeWalker { previousSibling(): Node | null; } @@ -12732,7 +12806,7 @@ prototype: TreeWalker; new (): TreeWalker; }; -@@ -35781,7 +36096,7 @@ interface UIEvent extends Event { +@@ -35261,7 +35576,7 @@ interface UIEvent extends Event { ): void; } @@ -12741,7 +12815,7 @@ prototype: UIEvent; new (type: string, eventInitDict?: UIEventInit): UIEvent; }; -@@ -35825,7 +36140,7 @@ interface URL { +@@ -35305,7 +35620,7 @@ interface URL { toJSON(): string; } @@ -12750,7 +12824,7 @@ prototype: URL; new (url: string | URL, base?: string | URL): URL; /** -@@ -35846,7 +36161,7 @@ declare var URL: { +@@ -35331,7 +35646,7 @@ declare var URL: { }; type webkitURL = URL; @@ -12759,7 +12833,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */ interface URLSearchParams { -@@ -35883,7 +36198,7 @@ interface URLSearchParams { +@@ -35368,7 +35683,7 @@ interface URLSearchParams { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll) */ @@ -12768,7 +12842,7 @@ /** * Returns a Boolean indicating if such a search parameter exists. * -@@ -35911,14 +36226,18 @@ interface URLSearchParams { +@@ -35396,14 +35711,18 @@ interface URLSearchParams { toString(): string; forEach( callbackfn: (value: string, key: string, parent: URLSearchParams) => void, @@ -12790,7 +12864,7 @@ ): URLSearchParams; }; -@@ -35936,7 +36255,7 @@ interface UserActivation { +@@ -35421,7 +35740,7 @@ interface UserActivation { readonly isActive: boolean; } @@ -12799,7 +12873,7 @@ prototype: UserActivation; new (): UserActivation; }; -@@ -35979,7 +36298,7 @@ interface VTTCue extends TextTrackCue { +@@ -35464,7 +35783,7 @@ interface VTTCue extends TextTrackCue { getCueAsHTML(): DocumentFragment; addEventListener( type: K, @@ -12808,7 +12882,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35989,7 +36308,7 @@ interface VTTCue extends TextTrackCue { +@@ -35474,7 +35793,7 @@ interface VTTCue extends TextTrackCue { ): void; removeEventListener( type: K, @@ -12817,7 +12891,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35999,7 +36318,7 @@ interface VTTCue extends TextTrackCue { +@@ -35484,7 +35803,7 @@ interface VTTCue extends TextTrackCue { ): void; } @@ -12826,7 +12900,7 @@ prototype: VTTCue; new (startTime: number, endTime: number, text: string): VTTCue; }; -@@ -36039,7 +36358,7 @@ interface VTTRegion { +@@ -35501,7 +35820,7 @@ interface VTTRegion { width: number; } @@ -12835,7 +12909,7 @@ prototype: VTTRegion; new (): VTTRegion; }; -@@ -36109,7 +36428,7 @@ interface ValidityState { +@@ -35563,7 +35882,7 @@ interface ValidityState { readonly valueMissing: boolean; } @@ -12844,7 +12918,7 @@ prototype: ValidityState; new (): ValidityState; }; -@@ -36143,7 +36462,7 @@ interface VideoColorSpace { +@@ -35597,7 +35916,7 @@ interface VideoColorSpace { toJSON(): VideoColorSpaceInit; } @@ -12853,16 +12927,16 @@ prototype: VideoColorSpace; new (init?: VideoColorSpaceInit): VideoColorSpace; }; -@@ -36163,7 +36482,7 @@ interface VideoDecoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) +@@ -35621,7 +35940,7 @@ interface VideoDecoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ - readonly decodeQueueSize: number; - ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; + ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) -@@ -36196,7 +36515,7 @@ interface VideoDecoder extends EventTarget { +@@ -35654,7 +35973,7 @@ interface VideoDecoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -12871,7 +12945,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36206,7 +36525,7 @@ interface VideoDecoder extends EventTarget { +@@ -35664,7 +35983,7 @@ interface VideoDecoder extends EventTarget { ): void; removeEventListener( type: K, @@ -12880,7 +12954,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36216,7 +36535,7 @@ interface VideoDecoder extends EventTarget { +@@ -35674,7 +35993,7 @@ interface VideoDecoder extends EventTarget { ): void; } @@ -12888,17 +12962,17 @@ +declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; - isConfigSupported(config: VideoDecoderConfig): Promise; -@@ -36237,7 +36556,7 @@ interface VideoEncoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) + /** +@@ -35703,7 +36022,7 @@ interface VideoEncoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ - readonly encodeQueueSize: number; - ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; + ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) -@@ -36266,7 +36585,7 @@ interface VideoEncoder extends EventTarget { +@@ -35736,7 +36055,7 @@ interface VideoEncoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -12907,7 +12981,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36276,7 +36595,7 @@ interface VideoEncoder extends EventTarget { +@@ -35746,7 +36065,7 @@ interface VideoEncoder extends EventTarget { ): void; removeEventListener( type: K, @@ -12916,7 +12990,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36286,7 +36605,7 @@ interface VideoEncoder extends EventTarget { +@@ -35756,7 +36075,7 @@ interface VideoEncoder extends EventTarget { ): void; } @@ -12924,8 +12998,8 @@ +declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; - isConfigSupported(config: VideoEncoderConfig): Promise; -@@ -36362,10 +36681,10 @@ interface VideoFrame { + /** +@@ -35840,10 +36159,10 @@ interface VideoFrame { copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -12938,7 +13012,7 @@ prototype: VideoFrame; new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame; new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame; -@@ -36404,7 +36723,7 @@ interface VideoPlaybackQuality { +@@ -35882,7 +36201,7 @@ interface VideoPlaybackQuality { readonly totalVideoFrames: number; } @@ -12947,7 +13021,16 @@ prototype: VideoPlaybackQuality; new (): VideoPlaybackQuality; }; -@@ -36435,12 +36754,12 @@ interface VisualViewport extends EventTarget { +@@ -35911,7 +36230,7 @@ interface ViewTransition { + skipTransition(): void; + } + +-declare var ViewTransition: { ++declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; + }; +@@ -35942,12 +36261,12 @@ interface VisualViewport extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/resize_event) */ @@ -12962,7 +13045,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/pageLeft) -@@ -36463,7 +36782,7 @@ interface VisualViewport extends EventTarget { +@@ -35970,7 +36289,7 @@ interface VisualViewport extends EventTarget { readonly width: number; addEventListener( type: K, @@ -12971,7 +13054,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36473,7 +36792,7 @@ interface VisualViewport extends EventTarget { +@@ -35980,7 +36299,7 @@ interface VisualViewport extends EventTarget { ): void; removeEventListener( type: K, @@ -12980,7 +13063,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36483,7 +36802,7 @@ interface VisualViewport extends EventTarget { +@@ -35990,7 +36309,7 @@ interface VisualViewport extends EventTarget { ): void; } @@ -12989,7 +13072,7 @@ prototype: VisualViewport; new (): VisualViewport; }; -@@ -36507,7 +36826,7 @@ interface WEBGL_compressed_texture_astc { +@@ -36014,7 +36333,7 @@ interface WEBGL_compressed_texture_astc { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */ @@ -12998,7 +13081,7 @@ readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93b0; readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93b1; readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93b2; -@@ -36644,7 +36963,7 @@ interface WEBGL_draw_buffers { +@@ -36151,7 +36470,7 @@ interface WEBGL_draw_buffers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ @@ -13007,7 +13090,7 @@ readonly COLOR_ATTACHMENT0_WEBGL: 0x8ce0; readonly COLOR_ATTACHMENT1_WEBGL: 0x8ce1; readonly COLOR_ATTACHMENT2_WEBGL: 0x8ce2; -@@ -36706,11 +37025,11 @@ interface WEBGL_multi_draw { +@@ -36213,11 +36532,11 @@ interface WEBGL_multi_draw { */ multiDrawArraysInstancedWEBGL( mode: GLenum, @@ -13022,7 +13105,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -36720,9 +37039,9 @@ interface WEBGL_multi_draw { +@@ -36227,9 +36546,9 @@ interface WEBGL_multi_draw { */ multiDrawArraysWEBGL( mode: GLenum, @@ -13034,7 +13117,7 @@ countsOffset: number, drawcount: GLsizei, ): void; -@@ -36732,12 +37051,12 @@ interface WEBGL_multi_draw { +@@ -36239,12 +36558,12 @@ interface WEBGL_multi_draw { */ multiDrawElementsInstancedWEBGL( mode: GLenum, @@ -13050,7 +13133,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -36747,10 +37066,10 @@ interface WEBGL_multi_draw { +@@ -36254,10 +36573,10 @@ interface WEBGL_multi_draw { */ multiDrawElementsWEBGL( mode: GLenum, @@ -13063,7 +13146,7 @@ offsetsOffset: number, drawcount: GLsizei, ): void; -@@ -36769,7 +37088,7 @@ interface WakeLock { +@@ -36276,7 +36595,7 @@ interface WakeLock { request(type?: WakeLockType): Promise; } @@ -13072,7 +13155,7 @@ prototype: WakeLock; new (): WakeLock; }; -@@ -36788,7 +37107,7 @@ interface WakeLockSentinel extends EventTarget { +@@ -36295,7 +36614,7 @@ interface WakeLockSentinel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/release_event) */ @@ -13081,7 +13164,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/released) -@@ -36806,7 +37125,10 @@ interface WakeLockSentinel extends EventTarget { +@@ -36313,7 +36632,10 @@ interface WakeLockSentinel extends EventTarget { release(): Promise; addEventListener( type: K, @@ -13093,7 +13176,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36816,7 +37138,10 @@ interface WakeLockSentinel extends EventTarget { +@@ -36323,7 +36645,10 @@ interface WakeLockSentinel extends EventTarget { ): void; removeEventListener( type: K, @@ -13105,7 +13188,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36826,7 +37151,7 @@ interface WakeLockSentinel extends EventTarget { +@@ -36333,7 +36658,7 @@ interface WakeLockSentinel extends EventTarget { ): void; } @@ -13114,7 +13197,7 @@ prototype: WakeLockSentinel; new (): WakeLockSentinel; }; -@@ -36849,7 +37174,7 @@ interface WaveShaperNode extends AudioNode { +@@ -36356,7 +36681,7 @@ interface WaveShaperNode extends AudioNode { oversample: OverSampleType; } @@ -13123,7 +13206,7 @@ prototype: WaveShaperNode; new (context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode; }; -@@ -36863,7 +37188,7 @@ interface WebGL2RenderingContext +@@ -36370,7 +36695,7 @@ interface WebGL2RenderingContext WebGL2RenderingContextOverloads, WebGLRenderingContextBase {} @@ -13132,7 +13215,7 @@ prototype: WebGL2RenderingContext; new (): WebGL2RenderingContext; readonly READ_BUFFER: 0x0c02; -@@ -37680,7 +38005,7 @@ interface WebGL2RenderingContextBase { +@@ -37187,7 +37512,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */ @@ -13141,7 +13224,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) -@@ -37746,16 +38071,16 @@ interface WebGL2RenderingContextBase { +@@ -37253,16 +37578,16 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum, @@ -13161,7 +13244,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) -@@ -37776,7 +38101,7 @@ interface WebGL2RenderingContextBase { +@@ -37283,7 +37608,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */ @@ -13170,7 +13253,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) -@@ -37785,7 +38110,7 @@ interface WebGL2RenderingContextBase { +@@ -37292,7 +37617,7 @@ interface WebGL2RenderingContextBase { target: GLenum, internalformat: GLenum, pname: GLenum, @@ -13179,7 +13262,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) -@@ -37795,17 +38120,17 @@ interface WebGL2RenderingContextBase { +@@ -37302,17 +37627,17 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */ @@ -13200,7 +13283,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) -@@ -37825,20 +38150,20 @@ interface WebGL2RenderingContextBase { +@@ -37332,20 +37657,20 @@ interface WebGL2RenderingContextBase { */ getUniformIndices( program: WebGLProgram, @@ -13225,7 +13308,7 @@ x: GLint, y: GLint, width: GLsizei, -@@ -38031,7 +38356,7 @@ interface WebGL2RenderingContextBase { +@@ -37538,7 +37863,7 @@ interface WebGL2RenderingContextBase { */ transformFeedbackVaryings( program: WebGLProgram, @@ -13234,7 +13317,7 @@ bufferMode: GLenum, ): void; /** -@@ -38868,7 +39193,7 @@ interface WebGLActiveInfo { +@@ -38375,7 +38700,7 @@ interface WebGLActiveInfo { readonly type: GLenum; } @@ -13243,7 +13326,7 @@ prototype: WebGLActiveInfo; new (): WebGLActiveInfo; }; -@@ -38881,7 +39206,7 @@ declare var WebGLActiveInfo: { +@@ -38388,7 +38713,7 @@ declare var WebGLActiveInfo: { */ interface WebGLBuffer {} @@ -13252,7 +13335,7 @@ prototype: WebGLBuffer; new (): WebGLBuffer; }; -@@ -38901,7 +39226,7 @@ interface WebGLContextEvent extends Event { +@@ -38408,7 +38733,7 @@ interface WebGLContextEvent extends Event { readonly statusMessage: string; } @@ -13261,7 +13344,7 @@ prototype: WebGLContextEvent; new (type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent; }; -@@ -38914,7 +39239,7 @@ declare var WebGLContextEvent: { +@@ -38421,7 +38746,7 @@ declare var WebGLContextEvent: { */ interface WebGLFramebuffer {} @@ -13270,7 +13353,7 @@ prototype: WebGLFramebuffer; new (): WebGLFramebuffer; }; -@@ -38928,7 +39253,7 @@ declare var WebGLFramebuffer: { +@@ -38435,7 +38760,7 @@ declare var WebGLFramebuffer: { */ interface WebGLProgram {} @@ -13279,7 +13362,7 @@ prototype: WebGLProgram; new (): WebGLProgram; }; -@@ -38936,7 +39261,7 @@ declare var WebGLProgram: { +@@ -38443,7 +38768,7 @@ declare var WebGLProgram: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery) */ interface WebGLQuery {} @@ -13288,7 +13371,7 @@ prototype: WebGLQuery; new (): WebGLQuery; }; -@@ -38949,7 +39274,7 @@ declare var WebGLQuery: { +@@ -38456,7 +38781,7 @@ declare var WebGLQuery: { */ interface WebGLRenderbuffer {} @@ -13297,7 +13380,7 @@ prototype: WebGLRenderbuffer; new (): WebGLRenderbuffer; }; -@@ -38965,7 +39290,7 @@ interface WebGLRenderingContext +@@ -38472,7 +38797,7 @@ interface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {} @@ -13306,7 +13389,7 @@ prototype: WebGLRenderingContext; new (): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; -@@ -39608,7 +39933,7 @@ interface WebGLRenderingContextBase { +@@ -39119,7 +39444,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttachedShaders) */ @@ -13315,7 +13398,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttribLocation) -@@ -39618,7 +39943,7 @@ interface WebGLRenderingContextBase { +@@ -39129,7 +39454,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */ @@ -13324,7 +13407,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) -@@ -39717,7 +40042,7 @@ interface WebGLRenderingContextBase { +@@ -39228,7 +39553,7 @@ interface WebGLRenderingContextBase { getExtension(extensionName: 'WEBGL_draw_buffers'): WEBGL_draw_buffers | null; getExtension(extensionName: 'WEBGL_lose_context'): WEBGL_lose_context | null; getExtension(extensionName: 'WEBGL_multi_draw'): WEBGL_multi_draw | null; @@ -13333,7 +13416,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) -@@ -39726,12 +40051,12 @@ interface WebGLRenderingContextBase { +@@ -39237,12 +39562,12 @@ interface WebGLRenderingContextBase { target: GLenum, attachment: GLenum, pname: GLenum, @@ -13348,7 +13431,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) -@@ -39741,12 +40066,12 @@ interface WebGLRenderingContextBase { +@@ -39252,12 +39577,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */ @@ -13363,7 +13446,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) -@@ -39756,7 +40081,7 @@ interface WebGLRenderingContextBase { +@@ -39267,7 +39592,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */ @@ -13372,7 +13455,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) -@@ -39774,17 +40099,17 @@ interface WebGLRenderingContextBase { +@@ -39285,17 +39610,17 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getSupportedExtensions) */ @@ -13393,7 +13476,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) -@@ -39797,7 +40122,7 @@ interface WebGLRenderingContextBase { +@@ -39308,7 +39633,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */ @@ -13402,7 +13485,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) -@@ -40556,7 +40881,7 @@ interface WebGLRenderingContextOverloads { +@@ -40067,7 +40392,7 @@ interface WebGLRenderingContextOverloads { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler) */ interface WebGLSampler {} @@ -13411,7 +13494,7 @@ prototype: WebGLSampler; new (): WebGLSampler; }; -@@ -40569,7 +40894,7 @@ declare var WebGLSampler: { +@@ -40080,7 +40405,7 @@ declare var WebGLSampler: { */ interface WebGLShader {} @@ -13420,7 +13503,7 @@ prototype: WebGLShader; new (): WebGLShader; }; -@@ -40599,7 +40924,7 @@ interface WebGLShaderPrecisionFormat { +@@ -40110,7 +40435,7 @@ interface WebGLShaderPrecisionFormat { readonly rangeMin: GLint; } @@ -13429,7 +13512,7 @@ prototype: WebGLShaderPrecisionFormat; new (): WebGLShaderPrecisionFormat; }; -@@ -40607,7 +40932,7 @@ declare var WebGLShaderPrecisionFormat: { +@@ -40118,7 +40443,7 @@ declare var WebGLShaderPrecisionFormat: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync) */ interface WebGLSync {} @@ -13438,7 +13521,7 @@ prototype: WebGLSync; new (): WebGLSync; }; -@@ -40620,7 +40945,7 @@ declare var WebGLSync: { +@@ -40131,7 +40456,7 @@ declare var WebGLSync: { */ interface WebGLTexture {} @@ -13447,7 +13530,7 @@ prototype: WebGLTexture; new (): WebGLTexture; }; -@@ -40631,7 +40956,7 @@ declare var WebGLTexture: { +@@ -40142,7 +40467,7 @@ declare var WebGLTexture: { */ interface WebGLTransformFeedback {} @@ -13456,7 +13539,7 @@ prototype: WebGLTransformFeedback; new (): WebGLTransformFeedback; }; -@@ -40645,7 +40970,7 @@ declare var WebGLTransformFeedback: { +@@ -40156,7 +40481,7 @@ declare var WebGLTransformFeedback: { */ interface WebGLUniformLocation {} @@ -13465,7 +13548,7 @@ prototype: WebGLUniformLocation; new (): WebGLUniformLocation; }; -@@ -40656,7 +40981,7 @@ declare var WebGLUniformLocation: { +@@ -40167,7 +40492,7 @@ declare var WebGLUniformLocation: { */ interface WebGLVertexArrayObject {} @@ -13474,7 +13557,7 @@ prototype: WebGLVertexArrayObject; new (): WebGLVertexArrayObject; }; -@@ -40715,22 +41040,22 @@ interface WebSocket extends EventTarget { +@@ -40226,22 +40551,22 @@ interface WebSocket extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */ @@ -13501,7 +13584,7 @@ /** * Returns the subprotocol selected by the server, if any. It can be used in * conjunction with the array form of the constructor's second argument to -@@ -40775,7 +41100,7 @@ interface WebSocket extends EventTarget { +@@ -40286,7 +40611,7 @@ interface WebSocket extends EventTarget { readonly CLOSED: 3; addEventListener( type: K, @@ -13510,7 +13593,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -40785,7 +41110,7 @@ interface WebSocket extends EventTarget { +@@ -40296,7 +40621,7 @@ interface WebSocket extends EventTarget { ): void; removeEventListener( type: K, @@ -13519,7 +13602,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -40795,9 +41120,9 @@ interface WebSocket extends EventTarget { +@@ -40306,9 +40631,9 @@ interface WebSocket extends EventTarget { ): void; } @@ -13531,7 +13614,7 @@ readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; -@@ -40856,7 +41181,7 @@ interface WebTransport { +@@ -40367,7 +40692,7 @@ interface WebTransport { ): Promise; } @@ -13540,7 +13623,7 @@ prototype: WebTransport; new (url: string | URL, options?: WebTransportOptions): WebTransport; }; -@@ -40880,7 +41205,7 @@ interface WebTransportBidirectionalStream { +@@ -40391,7 +40716,7 @@ interface WebTransportBidirectionalStream { readonly writable: WritableStream; } @@ -13549,7 +13632,7 @@ prototype: WebTransportBidirectionalStream; new (): WebTransportBidirectionalStream; }; -@@ -40929,7 +41254,7 @@ interface WebTransportDatagramDuplexStream { +@@ -40440,7 +40765,7 @@ interface WebTransportDatagramDuplexStream { readonly writable: WritableStream; } @@ -13558,7 +13641,7 @@ prototype: WebTransportDatagramDuplexStream; new (): WebTransportDatagramDuplexStream; }; -@@ -40952,7 +41277,7 @@ interface WebTransportError extends DOMException { +@@ -40463,7 +40788,7 @@ interface WebTransportError extends DOMException { readonly streamErrorCode: number | null; } @@ -13567,7 +13650,7 @@ prototype: WebTransportError; new (message?: string, options?: WebTransportErrorOptions): WebTransportError; }; -@@ -40989,7 +41314,7 @@ interface WheelEvent extends MouseEvent { +@@ -40500,7 +40825,7 @@ interface WheelEvent extends MouseEvent { readonly DOM_DELTA_PAGE: 0x02; } @@ -13576,7 +13659,7 @@ prototype: WheelEvent; new (type: string, eventInitDict?: WheelEventInit): WheelEvent; readonly DOM_DELTA_PIXEL: 0x00; -@@ -41113,7 +41438,7 @@ interface Window +@@ -40624,7 +40949,7 @@ interface Window * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event) */ @@ -13585,7 +13668,7 @@ /** * Available only in secure contexts. * -@@ -41121,7 +41446,7 @@ interface Window +@@ -40632,7 +40957,7 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event) */ ondeviceorientation: @@ -13594,7 +13677,7 @@ | null; /** * Available only in secure contexts. -@@ -41130,7 +41455,7 @@ interface Window +@@ -40641,7 +40966,7 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event) */ ondeviceorientationabsolute: @@ -13603,7 +13686,7 @@ | null; /** * @deprecated -@@ -41138,9 +41463,9 @@ interface Window +@@ -40649,9 +40974,9 @@ interface Window * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event) */ @@ -13615,16 +13698,16 @@ /** * @deprecated * -@@ -41249,7 +41574,7 @@ interface Window +@@ -40760,7 +41085,7 @@ interface Window /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window) */ readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ - alert(message?: any): void; + alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ - blur(): void; /** -@@ -41330,11 +41655,11 @@ interface Window + * @deprecated + * +@@ -40845,11 +41170,11 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage) */ postMessage( @@ -13639,7 +13722,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print) */ print(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt) */ -@@ -41375,7 +41700,7 @@ interface Window +@@ -40890,7 +41215,7 @@ interface Window stop(): void; addEventListener( type: K, @@ -13648,7 +13731,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41385,7 +41710,7 @@ interface Window +@@ -40900,7 +41225,7 @@ interface Window ): void; removeEventListener( type: K, @@ -13657,7 +13740,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41396,7 +41721,7 @@ interface Window +@@ -40911,7 +41236,7 @@ interface Window [index: number]: Window; } @@ -13666,7 +13749,7 @@ prototype: Window; new (): Window; }; -@@ -41427,102 +41752,106 @@ interface WindowEventHandlers { +@@ -40942,102 +41267,106 @@ interface WindowEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event) */ @@ -13790,7 +13873,7 @@ | null; /** * @deprecated -@@ -41530,13 +41859,13 @@ interface WindowEventHandlers { +@@ -41045,13 +41374,13 @@ interface WindowEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */ @@ -13806,7 +13889,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41549,7 +41878,7 @@ interface WindowEventHandlers { +@@ -41064,7 +41393,7 @@ interface WindowEventHandlers { listener: ( this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K], @@ -13815,7 +13898,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41621,21 +41950,24 @@ interface WindowOrWorkerGlobalScope { +@@ -41142,21 +41471,24 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -13844,7 +13927,7 @@ } interface WindowSessionStorage { -@@ -41664,12 +41996,12 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41185,12 +41517,12 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/message_event) */ @@ -13859,7 +13942,7 @@ /** * Clones message and transmits it to worker's global environment. transfer * can be passed as a list of objects that are to be transferred rather than -@@ -41678,8 +42010,8 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41199,8 +41531,8 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage) */ @@ -13870,7 +13953,7 @@ /** * Aborts worker's associated global environment. * -@@ -41689,7 +42021,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41210,7 +41542,7 @@ interface Worker extends EventTarget, AbstractWorker { terminate(): void; addEventListener( type: K, @@ -13879,7 +13962,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41699,7 +42031,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41220,7 +41552,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -13888,7 +13971,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41709,7 +42041,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41230,7 +41562,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; } @@ -13897,7 +13980,7 @@ prototype: Worker; new (scriptURL: string | URL, options?: WorkerOptions): Worker; }; -@@ -41741,7 +42073,7 @@ interface Worklet { +@@ -41262,7 +41594,7 @@ interface Worklet { addModule(moduleURL: string | URL, options?: WorkletOptions): Promise; } @@ -13906,7 +13989,7 @@ prototype: Worklet; new (): Worklet; }; -@@ -41753,7 +42085,7 @@ declare var Worklet: { +@@ -41274,7 +41606,7 @@ declare var Worklet: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream) */ @@ -13915,7 +13998,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) -@@ -41763,7 +42095,7 @@ interface WritableStream { +@@ -41284,7 +41616,7 @@ interface WritableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */ @@ -13924,7 +14007,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) -@@ -41776,9 +42108,9 @@ interface WritableStream { +@@ -41297,9 +41629,9 @@ interface WritableStream { getWriter(): WritableStreamDefaultWriter; } @@ -13936,7 +14019,7 @@ underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy, ): WritableStream; -@@ -41803,10 +42135,10 @@ interface WritableStreamDefaultController { +@@ -41324,10 +41656,10 @@ interface WritableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */ @@ -13949,7 +14032,7 @@ prototype: WritableStreamDefaultController; new (): WritableStreamDefaultController; }; -@@ -41820,7 +42152,7 @@ declare var WritableStreamDefaultController: { +@@ -41341,7 +41673,7 @@ declare var WritableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter) */ @@ -13958,7 +14041,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) -@@ -41840,7 +42172,7 @@ interface WritableStreamDefaultWriter { +@@ -41361,7 +41693,7 @@ interface WritableStreamDefaultWriter { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */ @@ -13967,7 +14050,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) -@@ -41858,9 +42190,9 @@ interface WritableStreamDefaultWriter { +@@ -41379,9 +41711,9 @@ interface WritableStreamDefaultWriter { write(chunk?: W): Promise; } @@ -13979,7 +14062,7 @@ }; /** -@@ -41873,7 +42205,7 @@ declare var WritableStreamDefaultWriter: { +@@ -41394,7 +41726,7 @@ declare var WritableStreamDefaultWriter: { interface XMLDocument extends Document { addEventListener( type: K, @@ -13988,7 +14071,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41883,7 +42215,7 @@ interface XMLDocument extends Document { +@@ -41404,7 +41736,7 @@ interface XMLDocument extends Document { ): void; removeEventListener( type: K, @@ -13997,7 +14080,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41893,7 +42225,7 @@ interface XMLDocument extends Document { +@@ -41414,7 +41746,7 @@ interface XMLDocument extends Document { ): void; } @@ -14006,7 +14089,7 @@ prototype: XMLDocument; new (): XMLDocument; }; -@@ -41915,7 +42247,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41436,7 +41768,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */ @@ -14015,7 +14098,7 @@ /** * Returns client's state. * -@@ -41929,7 +42261,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41450,7 +41782,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response) */ @@ -14024,7 +14107,7 @@ /** * Returns response as text. * -@@ -42051,9 +42383,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41572,9 +41904,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open) */ @@ -14036,7 +14119,7 @@ url: string | URL, async: boolean, username?: string | null, -@@ -42100,7 +42432,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41621,7 +41953,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { readonly DONE: 4; addEventListener( type: K, @@ -14045,7 +14128,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42110,7 +42442,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41631,7 +41963,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; removeEventListener( type: K, @@ -14054,7 +14137,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42120,7 +42452,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41641,7 +41973,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; } @@ -14063,7 +14146,7 @@ prototype: XMLHttpRequest; new (): XMLHttpRequest; readonly UNSENT: 0; -@@ -42145,19 +42477,19 @@ interface XMLHttpRequestEventTargetEventMap { +@@ -41666,19 +41998,19 @@ interface XMLHttpRequestEventTargetEventMap { * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget) */ interface XMLHttpRequestEventTarget extends EventTarget { @@ -14091,7 +14174,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42170,7 +42502,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -41691,7 +42023,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { listener: ( this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K], @@ -14100,7 +14183,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42180,7 +42512,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -41701,7 +42033,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { ): void; } @@ -14109,7 +14192,7 @@ prototype: XMLHttpRequestEventTarget; new (): XMLHttpRequestEventTarget; }; -@@ -42195,7 +42527,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41716,7 +42048,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -14118,7 +14201,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42208,7 +42540,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41729,7 +42061,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -14127,7 +14210,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42218,7 +42550,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41739,7 +42071,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { ): void; } @@ -14136,7 +14219,7 @@ prototype: XMLHttpRequestUpload; new (): XMLHttpRequestUpload; }; -@@ -42237,7 +42569,7 @@ interface XMLSerializer { +@@ -41758,7 +42090,7 @@ interface XMLSerializer { serializeToString(root: Node): string; } @@ -14145,7 +14228,7 @@ prototype: XMLSerializer; new (): XMLSerializer; }; -@@ -42250,7 +42582,7 @@ declare var XMLSerializer: { +@@ -41771,7 +42103,7 @@ declare var XMLSerializer: { */ interface XPathEvaluator extends XPathEvaluatorBase {} @@ -14154,7 +14237,7 @@ prototype: XPathEvaluator; new (): XPathEvaluator; }; -@@ -42300,7 +42632,7 @@ interface XPathExpression { +@@ -41821,7 +42153,7 @@ interface XPathExpression { ): XPathResult; } @@ -14163,7 +14246,7 @@ prototype: XPathExpression; new (): XPathExpression; }; -@@ -42369,7 +42701,7 @@ interface XPathResult { +@@ -41890,7 +42222,7 @@ interface XPathResult { readonly FIRST_ORDERED_NODE_TYPE: 9; } @@ -14172,7 +14255,7 @@ prototype: XPathResult; new (): XPathResult; readonly ANY_TYPE: 0; -@@ -42402,7 +42734,7 @@ interface XSLTProcessor { +@@ -41923,7 +42255,7 @@ interface XSLTProcessor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/getParameter) */ @@ -14181,7 +14264,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/importStylesheet) -@@ -42425,7 +42757,7 @@ interface XSLTProcessor { +@@ -41946,7 +42278,7 @@ interface XSLTProcessor { setParameter( namespaceURI: string | null, localName: string, @@ -14190,7 +14273,7 @@ ): void; /** * [MDN -@@ -42439,7 +42771,7 @@ interface XSLTProcessor { +@@ -41960,7 +42292,7 @@ interface XSLTProcessor { transformToFragment(source: Node, output: Document): DocumentFragment; } @@ -14199,7 +14282,7 @@ prototype: XSLTProcessor; new (): XSLTProcessor; }; -@@ -42450,7 +42782,7 @@ interface Console { +@@ -41971,7 +42303,7 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */ @@ -14208,7 +14291,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) -@@ -42470,32 +42802,32 @@ interface Console { +@@ -41991,32 +42323,32 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ @@ -14240,14 +14323,14 @@ + group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ - groupCollapsed(...data: any[]): void; + groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) -@@ -42505,17 +42837,17 @@ interface Console { + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) +@@ -42026,17 +42358,17 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ @@ -14268,9 +14351,9 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) -@@ -42530,21 +42862,21 @@ interface Console { +@@ -42051,21 +42383,21 @@ interface Console { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ - timeLog(label?: string, ...data: any[]): void; + timeLog(label?: string, ...data: readonly unknown[]): void; @@ -14294,7 +14377,7 @@ /** * Holds useful CSS-related methods. No object with this interface are -@@ -42556,7 +42888,7 @@ declare namespace CSS { +@@ -42077,7 +42409,7 @@ declare namespace CSS { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */ @@ -14303,7 +14386,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) -@@ -42856,7 +43188,7 @@ declare namespace CSS { +@@ -42377,7 +42709,7 @@ declare namespace CSS { declare namespace WebAssembly { interface CompileError extends Error {} @@ -14312,7 +14395,7 @@ prototype: CompileError; new (message?: string): CompileError; (message?: string): CompileError; -@@ -42879,7 +43211,7 @@ declare namespace WebAssembly { +@@ -42392,7 +42724,7 @@ declare namespace WebAssembly { valueOf(): ValueTypeMap[T]; } @@ -14321,7 +14404,7 @@ prototype: Global; new ( descriptor: GlobalDescriptor, -@@ -42899,14 +43231,14 @@ declare namespace WebAssembly { +@@ -42412,14 +42744,14 @@ declare namespace WebAssembly { readonly exports: Exports; } @@ -14338,7 +14421,7 @@ prototype: LinkError; new (message?: string): LinkError; (message?: string): LinkError; -@@ -42929,7 +43261,7 @@ declare namespace WebAssembly { +@@ -42442,7 +42774,7 @@ declare namespace WebAssembly { grow(delta: number): number; } @@ -14347,7 +14430,7 @@ prototype: Memory; new (descriptor: MemoryDescriptor): Memory; }; -@@ -42940,29 +43272,32 @@ declare namespace WebAssembly { +@@ -42453,29 +42785,32 @@ declare namespace WebAssembly { */ interface Module {} @@ -14385,7 +14468,7 @@ prototype: RuntimeError; new (message?: string): RuntimeError; (message?: string): RuntimeError; -@@ -42982,22 +43317,22 @@ declare namespace WebAssembly { +@@ -42495,22 +42830,22 @@ declare namespace WebAssembly { * [MDN * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */ @@ -14413,7 +14496,7 @@ }; interface GlobalDescriptor { -@@ -43030,7 +43365,7 @@ declare namespace WebAssembly { +@@ -42543,7 +42878,7 @@ declare namespace WebAssembly { interface ValueTypeMap { anyfunc: Function; @@ -14422,7 +14505,7 @@ f32: number; f64: number; i32: number; -@@ -43095,7 +43430,7 @@ interface BlobCallback { +@@ -42608,7 +42943,7 @@ interface BlobCallback { } interface CustomElementConstructor { @@ -14431,7 +14514,7 @@ } interface DecodeErrorCallback { -@@ -43119,7 +43454,7 @@ interface FileCallback { +@@ -42632,7 +42967,7 @@ interface FileCallback { } interface FileSystemEntriesCallback { @@ -14440,7 +14523,7 @@ } interface FileSystemEntryCallback { -@@ -43139,11 +43474,14 @@ interface IdleRequestCallback { +@@ -42652,11 +42987,14 @@ interface IdleRequestCallback { } interface IntersectionObserverCallback { @@ -14457,7 +14540,7 @@ } interface MediaSessionActionHandler { -@@ -43151,7 +43489,7 @@ interface MediaSessionActionHandler { +@@ -42664,7 +43002,7 @@ interface MediaSessionActionHandler { } interface MutationCallback { @@ -14466,7 +14549,7 @@ } interface NotificationPermissionCallback { -@@ -43169,7 +43507,7 @@ interface OnErrorEventHandlerNonNull { +@@ -42682,7 +43020,7 @@ interface OnErrorEventHandlerNonNull { lineno?: number, colno?: number, error?: Error, @@ -14475,7 +14558,7 @@ } interface PerformanceObserverCallback { -@@ -43184,7 +43522,7 @@ interface PositionErrorCallback { +@@ -42697,7 +43035,7 @@ interface PositionErrorCallback { (positionError: GeolocationPositionError): void; } @@ -14484,7 +14567,7 @@ (chunk: T): number; } -@@ -43201,11 +43539,11 @@ interface RemotePlaybackAvailabilityCallback { +@@ -42714,11 +43052,11 @@ interface RemotePlaybackAvailabilityCallback { } interface ReportingObserverCallback { @@ -14498,7 +14581,7 @@ } interface TransformerFlushCallback { -@@ -43213,7 +43551,7 @@ interface TransformerFlushCallback { +@@ -42726,7 +43064,7 @@ interface TransformerFlushCallback { } interface TransformerStartCallback { @@ -14507,7 +14590,7 @@ } interface TransformerTransformCallback { -@@ -43224,7 +43562,7 @@ interface TransformerTransformCallback { +@@ -42737,7 +43075,7 @@ interface TransformerTransformCallback { } interface UnderlyingSinkAbortCallback { @@ -14516,7 +14599,7 @@ } interface UnderlyingSinkCloseCallback { -@@ -43232,7 +43570,7 @@ interface UnderlyingSinkCloseCallback { +@@ -42745,7 +43083,7 @@ interface UnderlyingSinkCloseCallback { } interface UnderlyingSinkStartCallback { @@ -14525,7 +14608,7 @@ } interface UnderlyingSinkWriteCallback { -@@ -43243,7 +43581,7 @@ interface UnderlyingSinkWriteCallback { +@@ -42756,7 +43094,7 @@ interface UnderlyingSinkWriteCallback { } interface UnderlyingSourceCancelCallback { @@ -14534,7 +14617,7 @@ } interface UnderlyingSourcePullCallback { -@@ -43251,7 +43589,7 @@ interface UnderlyingSourcePullCallback { +@@ -42764,11 +43102,11 @@ interface UnderlyingSourcePullCallback { } interface UnderlyingSourceStartCallback { @@ -14542,8 +14625,13 @@ + (controller: ReadableStreamController): unknown; } + interface UpdateCallback { +- (): any; ++ (): unknown; + } + interface VideoFrameOutputCallback { -@@ -43523,16 +43861,16 @@ interface MathMLElementTagNameMap { +@@ -43040,16 +43378,16 @@ interface MathMLElementTagNameMap { type ElementTagNameMap = HTMLElementTagNameMap & Pick< SVGElementTagNameMap, @@ -14564,7 +14652,7 @@ new ( text?: string, value?: string, -@@ -43545,13 +43883,13 @@ declare var Option: { +@@ -43062,13 +43400,13 @@ declare var Option: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator) */ @@ -14580,7 +14668,7 @@ /** * Defines a new custom element, mapping the given name to the given constructor * as an autonomous custom element. -@@ -43559,72 +43897,72 @@ declare var closed: boolean; +@@ -43076,72 +43414,72 @@ declare var closed: boolean; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements) */ @@ -14670,7 +14758,7 @@ | null; /** * Available only in secure contexts. -@@ -43632,8 +43970,8 @@ declare var ondevicemotion: +@@ -43149,8 +43487,8 @@ declare var ondevicemotion: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event) */ @@ -14681,7 +14769,7 @@ | null; /** * Available only in secure contexts. -@@ -43641,8 +43979,8 @@ declare var ondeviceorientation: +@@ -43158,8 +43496,8 @@ declare var ondeviceorientation: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event) */ @@ -14692,7 +14780,7 @@ | null; /** * @deprecated -@@ -43650,35 +43988,37 @@ declare var ondeviceorientationabsolute: +@@ -43167,35 +43505,37 @@ declare var ondeviceorientationabsolute: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event) */ @@ -14737,7 +14825,7 @@ /** * Refers to either the parent WindowProxy, or itself. * -@@ -43687,70 +44027,70 @@ declare var pageYOffset: number; +@@ -43204,70 +43544,70 @@ declare var pageYOffset: number; * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent) */ @@ -14824,10 +14912,10 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ -declare function alert(message?: any): void; +declare function alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ - declare function blur(): void; /** -@@ -43828,12 +44168,12 @@ declare function open( + * @deprecated + * +@@ -43349,12 +43689,12 @@ declare function open( * Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage) */ declare function postMessage( @@ -14843,7 +14931,7 @@ options?: WindowPostMessageOptions, ): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print) */ -@@ -43902,48 +44242,50 @@ declare function requestAnimationFrame(callback: FrameRequestCallback): number; +@@ -43423,48 +43763,50 @@ declare function requestAnimationFrame(callback: FrameRequestCallback): number; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ @@ -14905,7 +14993,7 @@ /** * Fires when the object loses the input focus. * -@@ -43952,12 +44294,12 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; +@@ -43473,12 +43815,12 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ @@ -14913,14 +15001,14 @@ +declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ -declare var oncancel: ((this: Window, ev: Event) => any) | null; +declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. * -@@ -43966,12 +44308,12 @@ declare var oncancel: ((this: Window, ev: Event) => any) | null; +@@ -43487,12 +43829,12 @@ declare var oncancel: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */ @@ -14935,7 +15023,7 @@ /** * Fires when the contents of the object or selection have changed. * -@@ -43980,7 +44322,7 @@ declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; +@@ -43501,7 +43843,7 @@ declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */ @@ -14944,7 +15032,7 @@ /** * Fires when the user clicks the left mouse button on the object * -@@ -43989,12 +44331,12 @@ declare var onchange: ((this: Window, ev: Event) => any) | null; +@@ -43510,17 +43852,17 @@ declare var onchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */ @@ -14956,15 +15044,27 @@ */ -declare var onclose: ((this: Window, ev: Event) => any) | null; +declare const onclose: ((this: Window, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +-declare var oncontextlost: ((this: Window, ev: Event) => any) | null; ++declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. -@@ -44004,19 +44346,19 @@ declare var onclose: ((this: Window, ev: Event) => any) | null; +@@ -43530,24 +43872,24 @@ declare var oncontextlost: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ -declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null; +declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +-declare var oncontextrestored: ((this: Window, ev: Event) => any) | null; ++declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -14983,7 +15083,7 @@ /** * Fires when the user double-clicks the object. * -@@ -44025,7 +44367,7 @@ declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null; +@@ -43556,7 +43898,7 @@ declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */ @@ -14992,7 +15092,7 @@ /** * Fires on the source object continuously during a drag operation. * -@@ -44034,7 +44376,7 @@ declare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43565,7 +43907,7 @@ declare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */ @@ -15001,7 +15101,7 @@ /** * Fires on the source object when the user releases the mouse at the close of a * drag operation. -@@ -44044,7 +44386,7 @@ declare var ondrag: ((this: Window, ev: DragEvent) => any) | null; +@@ -43575,7 +43917,7 @@ declare var ondrag: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */ @@ -15010,7 +15110,7 @@ /** * Fires on the target element when the user drags the object to a valid drop * target. -@@ -44054,7 +44396,7 @@ declare var ondragend: ((this: Window, ev: DragEvent) => any) | null; +@@ -43585,7 +43927,7 @@ declare var ondragend: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */ @@ -15019,7 +15119,7 @@ /** * Fires on the target object when the user moves the mouse out of a valid drop * target during a drag operation. -@@ -44064,7 +44406,7 @@ declare var ondragenter: ((this: Window, ev: DragEvent) => any) | null; +@@ -43595,7 +43937,7 @@ declare var ondragenter: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */ @@ -15028,7 +15128,7 @@ /** * Fires on the target element continuously while the user drags the object over * a valid drop target. -@@ -44074,7 +44416,7 @@ declare var ondragleave: ((this: Window, ev: DragEvent) => any) | null; +@@ -43605,7 +43947,7 @@ declare var ondragleave: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */ @@ -15037,7 +15137,7 @@ /** * Fires on the source object when the user starts to drag a text selection or * selected object. -@@ -44084,12 +44426,12 @@ declare var ondragover: ((this: Window, ev: DragEvent) => any) | null; +@@ -43615,12 +43957,12 @@ declare var ondragover: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */ @@ -15052,7 +15152,7 @@ /** * Occurs when the duration attribute is updated. * -@@ -44098,7 +44440,7 @@ declare var ondrop: ((this: Window, ev: DragEvent) => any) | null; +@@ -43629,7 +43971,7 @@ declare var ondrop: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */ @@ -15061,7 +15161,7 @@ /** * Occurs when the media element is reset to its initial state. * -@@ -44107,7 +44449,7 @@ declare var ondurationchange: ((this: Window, ev: Event) => any) | null; +@@ -43638,7 +43980,7 @@ declare var ondurationchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */ @@ -15070,7 +15170,7 @@ /** * Occurs when the end of playback is reached. * -@@ -44116,7 +44458,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null; +@@ -43647,7 +43989,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */ @@ -15079,7 +15179,7 @@ /** * Fires when an error occurs during object loading. * -@@ -44125,7 +44467,7 @@ declare var onended: ((this: Window, ev: Event) => any) | null; +@@ -43656,7 +43998,7 @@ declare var onended: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */ @@ -15088,7 +15188,7 @@ /** * Fires when the object receives focus. * -@@ -44134,29 +44476,29 @@ declare var onerror: OnErrorEventHandler; +@@ -43665,29 +44007,29 @@ declare var onerror: OnErrorEventHandler; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */ @@ -15124,7 +15224,7 @@ /** * Fires when the user presses a key. * -@@ -44165,7 +44507,7 @@ declare var oninvalid: ((this: Window, ev: Event) => any) | null; +@@ -43696,7 +44038,7 @@ declare var oninvalid: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */ @@ -15133,7 +15233,7 @@ /** * Fires when the user presses an alphanumeric key. * -@@ -44175,7 +44517,7 @@ declare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43706,7 +44048,7 @@ declare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event) * @param ev The event. */ @@ -15142,7 +15242,7 @@ /** * Fires when the user releases a key. * -@@ -44184,7 +44526,7 @@ declare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43715,7 +44057,7 @@ declare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */ @@ -15151,7 +15251,7 @@ /** * Fires immediately after the browser loads the object. * -@@ -44193,7 +44535,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43724,7 +44066,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event) */ @@ -15160,7 +15260,7 @@ /** * Occurs when media data is loaded at the current playback position. * -@@ -44202,7 +44544,7 @@ declare var onload: ((this: Window, ev: Event) => any) | null; +@@ -43733,7 +44075,7 @@ declare var onload: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */ @@ -15169,7 +15269,7 @@ /** * Occurs when the duration and dimensions of the media have been determined. * -@@ -44211,7 +44553,7 @@ declare var onloadeddata: ((this: Window, ev: Event) => any) | null; +@@ -43742,7 +44084,7 @@ declare var onloadeddata: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */ @@ -15178,7 +15278,7 @@ /** * Occurs when Internet Explorer begins looking for media data. * -@@ -44220,13 +44562,13 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; +@@ -43751,13 +44093,13 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ @@ -15186,7 +15286,7 @@ +declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ -declare var onlostpointercapture: - | ((this: Window, ev: PointerEvent) => any) @@ -15195,7 +15295,7 @@ | null; /** * Fires when the user clicks the object with either mouse button. -@@ -44236,17 +44578,17 @@ declare var onlostpointercapture: +@@ -43767,17 +44109,17 @@ declare var onlostpointercapture: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */ @@ -15216,7 +15316,7 @@ /** * Fires when the user moves the mouse over the object. * -@@ -44255,7 +44597,7 @@ declare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43786,7 +44128,7 @@ declare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */ @@ -15225,7 +15325,7 @@ /** * Fires when the user moves the mouse pointer outside the boundaries of the * object. -@@ -44265,7 +44607,7 @@ declare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43796,7 +44138,7 @@ declare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */ @@ -15234,7 +15334,7 @@ /** * Fires when the user moves the mouse pointer into the object. * -@@ -44274,7 +44616,7 @@ declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43805,7 +44147,7 @@ declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */ @@ -15243,7 +15343,7 @@ /** * Fires when the user releases a mouse button while the mouse is over the * object. -@@ -44284,12 +44626,12 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43815,12 +44157,12 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */ @@ -15258,7 +15358,7 @@ /** * Occurs when playback is paused. * -@@ -44298,7 +44640,7 @@ declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null; +@@ -43829,7 +44171,7 @@ declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */ @@ -15267,7 +15367,7 @@ /** * Occurs when the play method is requested. * -@@ -44307,7 +44649,7 @@ declare var onpause: ((this: Window, ev: Event) => any) | null; +@@ -43838,7 +44180,7 @@ declare var onpause: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */ @@ -15276,7 +15376,7 @@ /** * Occurs when the audio or video has started playing. * -@@ -44316,47 +44658,61 @@ declare var onplay: ((this: Window, ev: Event) => any) | null; +@@ -43847,47 +44189,61 @@ declare var onplay: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */ @@ -15347,7 +15447,7 @@ /** * Occurs to indicate progress while downloading media data. * -@@ -44365,7 +44721,7 @@ declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null; +@@ -43896,7 +44252,7 @@ declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */ @@ -15356,7 +15456,7 @@ /** * Occurs when the playback rate is increased or decreased. * -@@ -44374,7 +44730,7 @@ declare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null; +@@ -43905,7 +44261,7 @@ declare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */ @@ -15365,7 +15465,7 @@ /** * Fires when the user resets a form. * -@@ -44383,12 +44739,12 @@ declare var onratechange: ((this: Window, ev: Event) => any) | null; +@@ -43914,12 +44270,12 @@ declare var onratechange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */ @@ -15380,7 +15480,7 @@ /** * Fires when the user repositions the scroll box in the scroll bar on the * object. -@@ -44398,18 +44754,18 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null; +@@ -43929,18 +44285,18 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */ @@ -15403,7 +15503,7 @@ | null; /** * Occurs when the seek operation ends. -@@ -44419,7 +44775,7 @@ declare var onsecuritypolicyviolation: +@@ -43950,7 +44306,7 @@ declare var onsecuritypolicyviolation: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */ @@ -15412,7 +15512,7 @@ /** * Occurs when the current playback position is moved. * -@@ -44428,7 +44784,7 @@ declare var onseeked: ((this: Window, ev: Event) => any) | null; +@@ -43959,7 +44315,7 @@ declare var onseeked: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */ @@ -15421,7 +15521,7 @@ /** * Fires when the current selection changes. * -@@ -44437,22 +44793,22 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null; +@@ -43968,22 +44324,22 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */ @@ -15448,7 +15548,7 @@ /** * Occurs when the download has stopped. * -@@ -44461,12 +44817,12 @@ declare var onslotchange: ((this: Window, ev: Event) => any) | null; +@@ -43992,12 +44348,12 @@ declare var onslotchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */ @@ -15463,7 +15563,7 @@ /** * Occurs if the load operation has been intentionally halted. * -@@ -44475,7 +44831,7 @@ declare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null; +@@ -44006,7 +44362,7 @@ declare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */ @@ -15472,7 +15572,7 @@ /** * Occurs to indicate the current playback position. * -@@ -44484,71 +44840,71 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null; +@@ -44015,71 +44371,71 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */ @@ -15562,7 +15662,7 @@ | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. -@@ -44558,7 +44914,7 @@ declare var ontransitionstart: +@@ -44089,7 +44445,7 @@ declare var ontransitionstart: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */ @@ -15571,7 +15671,7 @@ /** * Occurs when playback stops because the next frame of a video resource is not * available. -@@ -44568,22 +44924,24 @@ declare var onvolumechange: ((this: Window, ev: Event) => any) | null; +@@ -44099,22 +44455,24 @@ declare var onvolumechange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */ @@ -15600,7 +15700,7 @@ | null; /** * @deprecated This is a legacy alias of `onanimationstart`. -@@ -44591,113 +44949,125 @@ declare var onwebkitanimationiteration: +@@ -44122,113 +44480,125 @@ declare var onwebkitanimationiteration: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */ @@ -15751,7 +15851,7 @@ | null; /** * @deprecated -@@ -44705,36 +45075,36 @@ declare var onunhandledrejection: +@@ -44236,39 +44606,39 @@ declare var onunhandledrejection: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */ @@ -15766,38 +15866,41 @@ /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ -declare var caches: CacheStorage; +declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ -declare var crossOriginIsolated: boolean; +declare const crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ -declare var crypto: Crypto; +declare const crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ -declare var indexedDB: IDBFactory; +declare const indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ -declare var isSecureContext: boolean; +declare const isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ -declare var origin: string; +declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ -declare var performance: Performance; +declare const performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ -@@ -44764,21 +45134,21 @@ declare function fetch( + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ +@@ -44298,21 +44668,21 @@ declare function fetch( /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -15823,7 +15926,7 @@ value: T, options?: StructuredSerializeOptions, ): T; -@@ -44786,10 +45156,10 @@ declare function structuredClone( +@@ -44320,10 +44690,10 @@ declare function structuredClone( * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */ @@ -15836,7 +15939,7 @@ options?: boolean | AddEventListenerOptions, ): void; declare function addEventListener( -@@ -44799,7 +45169,7 @@ declare function addEventListener( +@@ -44333,7 +44703,7 @@ declare function addEventListener( ): void; declare function removeEventListener( type: K, @@ -15845,7 +15948,7 @@ options?: boolean | EventListenerOptions, ): void; declare function removeEventListener( -@@ -44834,16 +45204,19 @@ type CanvasImageSource = +@@ -44368,16 +44738,19 @@ type CanvasImageSource = | OffscreenCanvas | VideoFrame; type ClipboardItemData = Promise; @@ -15868,7 +15971,7 @@ type FormDataEntryValue = File | string; type GLbitfield = number; type GLboolean = boolean; -@@ -44860,10 +45233,18 @@ type GLuint64 = number; +@@ -44394,10 +44767,18 @@ type GLuint64 = number; type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement; type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement; type HashAlgorithmIdentifier = AlgorithmIdentifier; @@ -15890,7 +15993,7 @@ type LineAndPositionSetting = number | AutoKeyword; type MediaProvider = MediaStream | MediaSource | Blob; type MessageEventSource = WindowProxy | MessagePort | ServiceWorker; -@@ -44878,7 +45259,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null; +@@ -44412,7 +44793,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null; type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; type OptionalPostfixToken = ` ${T}` | ''; type OptionalPrefixToken = `${T} ` | ''; @@ -15899,7 +16002,7 @@ type RTCRtpTransform = RTCRtpScriptTransform; type ReadableStreamController = | ReadableStreamDefaultController -@@ -44894,7 +45275,7 @@ type RenderingContext = +@@ -44428,7 +44809,7 @@ type RenderingContext = | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext; @@ -15908,7 +16011,7 @@ type RequestInfo = Request | string; type TexImageSource = | ImageBitmap -@@ -44914,8 +45295,8 @@ type Transferable = +@@ -44449,8 +44830,8 @@ type Transferable = | TransformStream | VideoFrame | ArrayBuffer; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.dom.iterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.dom.iterable.diff index e4c60c36e5..ddcdbc7a14 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.dom.iterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.dom.iterable.diff @@ -19,102 +19,97 @@ ///////////////////////////// /// Window Iterable APIs -@@ -59,8 +45,8 @@ interface CSSKeyframesRule { +@@ -67,8 +53,8 @@ interface CSSKeyframesRule { interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSNumericValue]>; -- keys(): IterableIterator; -+ entries(): IterableIterator; -+ keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSNumericValue]>; +- keys(): ArrayIterator; ++ entries(): ArrayIterator; ++ keys(): ArrayIterator; + values(): ArrayIterator; } -@@ -74,15 +60,19 @@ interface CSSStyleDeclaration { +@@ -82,15 +68,17 @@ interface CSSStyleDeclaration { interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSTransformComponent]>; -- keys(): IterableIterator; -+ entries(): IterableIterator< + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSTransformComponent]>; +- keys(): ArrayIterator; ++ entries(): ArrayIterator< + readonly [NumberType.ArraySize, CSSTransformComponent] + >; -+ keys(): IterableIterator; - values(): IterableIterator; ++ keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSUnparsedSegment]>; -- keys(): IterableIterator; -+ entries(): IterableIterator< -+ readonly [NumberType.ArraySize, CSSUnparsedSegment] -+ >; -+ keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSUnparsedSegment]>; +- keys(): ArrayIterator; ++ entries(): ArrayIterator; ++ keys(): ArrayIterator; + values(): ArrayIterator; } -@@ -123,8 +113,8 @@ interface DOMStringList { +@@ -133,8 +121,8 @@ interface DOMStringList { interface DOMTokenList { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, string]>; -- keys(): IterableIterator; -+ entries(): IterableIterator; -+ keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, string]>; +- keys(): ArrayIterator; ++ entries(): ArrayIterator; ++ keys(): ArrayIterator; + values(): ArrayIterator; } -@@ -141,9 +131,9 @@ interface FileList { - interface FontFaceSet extends Set {} +@@ -156,9 +144,9 @@ interface FormDataIterator + } interface FormData { -- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; ++ [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[string, FormDataEntryValue]>; -+ entries(): IterableIterator; +- entries(): FormDataIterator<[string, FormDataEntryValue]>; ++ entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ -@@ -171,12 +161,12 @@ interface HTMLSelectElement { +@@ -191,12 +179,12 @@ interface HeadersIterator } interface Headers { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): HeadersIterator<[string, string]>; ++ [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): HeadersIterator<[string, string]>; ++ entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. -@@ -238,8 +228,10 @@ interface MIDIOutput { - interface MIDIOutputMap extends ReadonlyMap {} +@@ -264,9 +252,9 @@ interface MediaKeyStatusMapIterator interface MediaKeyStatusMap { -- [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>; -- entries(): IterableIterator<[BufferSource, MediaKeyStatus]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< +- [BufferSource, MediaKeyStatus] + readonly [BufferSource, MediaKeyStatus] -+ >; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + >; +- entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; ++ entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } -@@ -248,7 +240,7 @@ interface MediaList { - [Symbol.iterator](): IterableIterator; +@@ -275,13 +263,13 @@ interface MediaList { + [Symbol.iterator](): ArrayIterator; } -interface MessageEvent { +interface MessageEvent { - /** - * @deprecated - * -@@ -259,7 +251,7 @@ interface MessageEvent { + /** @deprecated */ + initMessageEvent( type: string, bubbles?: boolean, cancelable?: boolean, @@ -123,65 +118,65 @@ origin?: string, lastEventId?: string, source?: MessageEventSource | null, -@@ -296,9 +288,9 @@ interface Navigator { +@@ -318,9 +306,9 @@ interface Navigator { interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[number, Node]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, Node]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the list. */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } -@@ -306,9 +298,9 @@ interface NodeList { +@@ -328,9 +316,9 @@ interface NodeList { interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[number, TNode]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, TNode]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the list. */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } -@@ -329,7 +321,7 @@ interface RTCRtpTransceiver { - setCodecPreferences(codecs: Iterable): void; +@@ -351,7 +339,7 @@ interface RTCRtpTransceiver { + setCodecPreferences(codecs: Iterable): void; } -interface RTCStatsReport extends ReadonlyMap {} +interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; -@@ -364,8 +356,10 @@ interface SpeechRecognitionResultList { - } + [Symbol.iterator](): ArrayIterator; +@@ -392,10 +380,10 @@ interface StylePropertyMapReadOnlyIterator interface StylePropertyMapReadOnly { -- [Symbol.iterator](): IterableIterator<[string, Iterable]>; -- entries(): IterableIterator<[string, Iterable]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< +- [string, Iterable] + readonly [string, Iterable] -+ >; -+ entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; - } -@@ -485,9 +479,9 @@ interface TouchList { + >; + entries(): StylePropertyMapReadOnlyIterator< +- [string, Iterable] ++ readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; +@@ -521,9 +509,9 @@ interface URLSearchParamsIterator } interface URLSearchParams { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; ++ [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): URLSearchParamsIterator<[string, string]>; ++ entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ -@@ -603,7 +597,7 @@ interface WebGL2RenderingContextBase { +@@ -639,7 +627,7 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformIndices: Iterable, pname: GLenum, diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2015.core.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2015.core.diff index 9cc617ca24..1a055d8883 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2015.core.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2015.core.diff @@ -74,7 +74,7 @@ /** * Returns the this object after copying a section of the array identified by -@@ -77,7 +79,11 @@ interface Array { +@@ -77,10 +79,14 @@ interface Array { * @param end If not specified, length of the this object is used as its * default value. */ @@ -84,10 +84,14 @@ + start: NumberType.ArraySizeArg, + end?: NumberType.ArraySizeArg, + ): this; - } - interface ArrayConstructor { -@@ -86,7 +92,7 @@ interface ArrayConstructor { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; + } +@@ -91,7 +97,7 @@ interface ArrayConstructor { * * @param arrayLike An array-like object to convert to an array. */ @@ -96,7 +100,7 @@ /** * Creates an array from an iterable object. -@@ -97,16 +103,16 @@ interface ArrayConstructor { +@@ -102,16 +108,16 @@ interface ArrayConstructor { */ from( arrayLike: ArrayLike, @@ -117,7 +121,7 @@ } interface DateConstructor { -@@ -128,7 +134,7 @@ interface Math { +@@ -133,7 +139,7 @@ interface Math { * * @param x A numeric expression. */ @@ -126,7 +130,7 @@ /** * Returns the result of 32-bit multiplication of two numbers. -@@ -136,7 +142,7 @@ interface Math { +@@ -141,7 +147,7 @@ interface Math { * @param x First number * @param y Second number */ @@ -135,7 +139,7 @@ /** * Returns the sign of the x, indicating whether x is positive, negative or -@@ -144,7 +150,7 @@ interface Math { +@@ -149,7 +155,7 @@ interface Math { * * @param x The numeric expression to test */ @@ -144,7 +148,7 @@ /** * Returns the base 10 logarithm of a number. -@@ -181,7 +187,7 @@ interface Math { +@@ -186,7 +192,7 @@ interface Math { * * @param x A numeric expression that contains an angle measured in radians. */ @@ -153,7 +157,7 @@ /** * Returns the hyperbolic sine of a number. -@@ -202,7 +208,7 @@ interface Math { +@@ -207,7 +213,7 @@ interface Math { * * @param x A numeric expression that contains an angle measured in radians. */ @@ -162,7 +166,7 @@ /** * Returns the inverse hyperbolic sine of a number. -@@ -227,7 +233,7 @@ interface Math { +@@ -232,7 +238,7 @@ interface Math { * is +Infinity. If any argument is NaN, the result is NaN. If all arguments * are either +0 or −0, the result is +0. */ @@ -171,7 +175,7 @@ /** * Returns the integral part of the a numeric expression, x, removing any -@@ -235,14 +241,14 @@ interface Math { +@@ -240,14 +246,14 @@ interface Math { * * @param x A numeric expression. */ @@ -188,7 +192,7 @@ /** * Returns an implementation-dependent approximation to the cube root of -@@ -259,7 +265,7 @@ interface NumberConstructor { +@@ -264,7 +270,7 @@ interface NumberConstructor { * value greater than 1 that is representable as a Number value, which is * approximately: 2.2204460492503130808472633361816 x 10‍−‍16. */ @@ -197,7 +201,7 @@ /** * Returns true if passed value is finite. Unlike the global isFinite, -@@ -268,14 +274,14 @@ interface NumberConstructor { +@@ -273,14 +279,14 @@ interface NumberConstructor { * * @param number A numeric value. */ @@ -214,7 +218,7 @@ /** * Returns a Boolean value that indicates whether a value is the reserved -@@ -285,35 +291,35 @@ interface NumberConstructor { +@@ -290,35 +296,35 @@ interface NumberConstructor { * * @param number A numeric value. */ @@ -255,7 +259,7 @@ /** * Converts A string to an integer. -@@ -324,7 +330,7 @@ interface NumberConstructor { +@@ -329,7 +335,7 @@ interface NumberConstructor { * '0x' are considered hexadecimal. All other strings are considered * decimal. */ @@ -264,7 +268,7 @@ } interface ObjectConstructor { -@@ -370,14 +376,14 @@ interface ObjectConstructor { +@@ -375,14 +381,14 @@ interface ObjectConstructor { * @param target The target object to copy to. * @param sources One or more source objects from which to copy properties */ @@ -281,7 +285,7 @@ /** * Returns the names of the enumerable string properties and methods of an -@@ -387,7 +393,7 @@ interface ObjectConstructor { +@@ -392,7 +398,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. */ @@ -290,7 +294,7 @@ /** * Returns true if the values are the same value, false otherwise. -@@ -395,7 +401,7 @@ interface ObjectConstructor { +@@ -400,7 +406,7 @@ interface ObjectConstructor { * @param value1 The first value. * @param value2 The second value. */ @@ -299,7 +303,7 @@ /** * Sets the prototype of a specified object o to object proto or null. Returns -@@ -404,7 +410,7 @@ interface ObjectConstructor { +@@ -409,7 +415,7 @@ interface ObjectConstructor { * @param o The object to change its prototype. * @param proto The value of the new prototype or null. */ @@ -308,7 +312,7 @@ } interface ReadonlyArray { -@@ -421,12 +427,20 @@ interface ReadonlyArray { +@@ -426,12 +432,20 @@ interface ReadonlyArray { * instead. */ find( @@ -333,7 +337,7 @@ ): T | undefined; /** -@@ -442,9 +456,13 @@ interface ReadonlyArray { +@@ -447,12 +461,16 @@ interface ReadonlyArray { * instead. */ findIndex( @@ -347,10 +351,14 @@ + ) => boolean, + thisArg?: unknown, + ): NumberType.ArraySearchResult; - } - interface RegExp { -@@ -490,7 +508,7 @@ interface String { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; + } +@@ -500,7 +518,7 @@ interface String { * undefined. If a valid UTF-16 surrogate pair does not begin at pos, the * result is the code unit at pos. */ @@ -359,7 +367,7 @@ /** * Returns true if searchString appears as a substring of the result of -@@ -501,7 +519,10 @@ interface String { +@@ -511,7 +529,10 @@ interface String { * @param position If position is undefined, 0 is assumed, so as to search all * of the String. */ @@ -371,7 +379,7 @@ /** * Returns true if the sequence of elements of searchString converted to a -@@ -509,7 +530,10 @@ interface String { +@@ -519,7 +540,10 @@ interface String { * to a String) starting at endPosition – length(this). Otherwise returns * false. */ @@ -383,7 +391,7 @@ /** * Returns the String value result of normalizing the string into the -@@ -537,14 +561,17 @@ interface String { +@@ -547,14 +571,17 @@ interface String { * * @param count Number of copies to append */ @@ -403,7 +411,7 @@ /** * Returns an `` HTML anchor element and sets the name attribute to the -@@ -652,7 +679,7 @@ interface StringConstructor { +@@ -662,7 +689,7 @@ interface StringConstructor { * Return the String value whose elements are, in order, the elements in the * List elements. If length is 0, the empty string is returned. */ @@ -412,7 +420,7 @@ /** * String.raw is usually used as a tag function of a Tagged Template String. -@@ -666,7 +693,7 @@ interface StringConstructor { +@@ -676,70 +703,70 @@ interface StringConstructor { * @param substitutions A set of substitution values. */ raw( @@ -422,3 +430,75 @@ + ...substitutions: readonly unknown[] ): string; } + + interface Int8Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint8Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint8ClampedArray { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Int16Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint16Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Int32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Float32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Float64Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2015.generator.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2015.generator.diff index 5f9611b60c..20abc4da29 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2015.generator.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2015.generator.diff @@ -20,11 +20,12 @@ -/// +/// - interface Generator - extends Iterator { +-interface Generator ++interface Generator + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): IteratorResult; -+ next(...args: readonly [] | readonly [TNext]): IteratorResult; +- next(...[value]: [] | [TNext]): IteratorResult; ++ next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; - throw(e: any): IteratorResult; + throw(e: unknown): IteratorResult; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2015.iterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2015.iterable.diff index 1a75f9a2cf..7145839c50 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2015.iterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2015.iterable.diff @@ -22,7 +22,7 @@ interface SymbolConstructor { /** -@@ -26,13 +12,13 @@ interface SymbolConstructor { +@@ -26,32 +12,32 @@ interface SymbolConstructor { } interface IteratorYieldResult { @@ -40,32 +40,52 @@ } type IteratorResult = -@@ -41,9 +27,9 @@ type IteratorResult = + | IteratorYieldResult + | IteratorReturnResult; - interface Iterator { +-interface Iterator { ++interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): IteratorResult; -+ next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; - throw?(e?: any): IteratorResult; + throw?(e?: unknown): IteratorResult; } - interface Iterable { -@@ -59,10 +45,10 @@ interface Array { - [Symbol.iterator](): IterableIterator; +-interface Iterable { ++interface Iterable { + [Symbol.iterator](): Iterator; + } + + /** Describes a user-defined {@link Iterator} that is also iterable. */ +-interface IterableIterator ++interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; + } +@@ -60,7 +46,7 @@ interface IterableIterator + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +-interface IteratorObject ++interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; + } +@@ -82,10 +68,10 @@ interface Array { + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, T]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, T]>; ++ entries(): ArrayIterator; /** Returns an iterable of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; -@@ -74,7 +60,7 @@ interface ArrayConstructor { + values(): ArrayIterator; +@@ -97,7 +83,7 @@ interface ArrayConstructor { * * @param iterable An iterable object to convert to an array. */ @@ -74,7 +94,7 @@ /** * Creates an array from an iterable object. -@@ -85,9 +71,9 @@ interface ArrayConstructor { +@@ -108,9 +94,9 @@ interface ArrayConstructor { */ from( iterable: Iterable | ArrayLike, @@ -87,52 +107,55 @@ } interface ReadonlyArray { -@@ -95,10 +81,10 @@ interface ReadonlyArray { - [Symbol.iterator](): IterableIterator; +@@ -118,10 +104,10 @@ interface ReadonlyArray { + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, T]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, T]>; ++ entries(): ArrayIterator; /** Returns an iterable of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; -@@ -106,15 +92,15 @@ interface ReadonlyArray { + values(): ArrayIterator; +@@ -129,7 +115,7 @@ interface ReadonlyArray { interface IArguments { /** Iterator */ -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; } + interface MapIterator +@@ -139,10 +125,10 @@ interface MapIterator + interface Map { /** Returns an iterable of entries in the map. */ -- [Symbol.iterator](): IterableIterator<[K, V]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): MapIterator<[K, V]>; ++ [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ -- entries(): IterableIterator<[K, V]>; -+ entries(): IterableIterator; +- entries(): MapIterator<[K, V]>; ++ entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; -@@ -125,10 +111,10 @@ interface Map { + keys(): MapIterator; +@@ -153,10 +139,10 @@ interface Map { interface ReadonlyMap { /** Returns an iterable of entries in the map. */ -- [Symbol.iterator](): IterableIterator<[K, V]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): MapIterator<[K, V]>; ++ [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ -- entries(): IterableIterator<[K, V]>; -+ entries(): IterableIterator; +- entries(): MapIterator<[K, V]>; ++ entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; -@@ -138,7 +124,7 @@ interface ReadonlyMap { + keys(): MapIterator; +@@ -166,7 +152,7 @@ interface ReadonlyMap { } interface MapConstructor { @@ -141,28 +164,25 @@ new (iterable?: Iterable | null): Map; } -@@ -153,8 +139,10 @@ interface WeakMapConstructor { - interface Set { +@@ -187,7 +173,7 @@ interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; -+ + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ -- entries(): IterableIterator<[T, T]>; -+ entries(): IterableIterator; -+ +- entries(): SetIterator<[T, T]>; ++ entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; -@@ -167,7 +155,7 @@ interface ReadonlySet { - [Symbol.iterator](): IterableIterator; +@@ -200,7 +186,7 @@ interface ReadonlySet { + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ -- entries(): IterableIterator<[T, T]>; -+ entries(): IterableIterator; +- entries(): SetIterator<[T, T]>; ++ entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; -@@ -177,6 +165,7 @@ interface ReadonlySet { + keys(): SetIterator; +@@ -210,6 +196,7 @@ interface ReadonlySet { } interface SetConstructor { @@ -170,7 +190,7 @@ new (iterable?: Iterable | null): Set; } -@@ -196,7 +185,7 @@ interface PromiseConstructor { +@@ -229,7 +216,7 @@ interface PromiseConstructor { * @param values An iterable of Promises. * @returns A new Promise. */ @@ -179,27 +199,25 @@ /** * Creates a Promise that is resolved or rejected when any of the provided -@@ -214,13 +203,15 @@ interface String { +@@ -252,13 +239,13 @@ interface String { } interface Int8Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Int8ArrayConstructor { -@@ -233,21 +224,23 @@ interface Int8ArrayConstructor { +@@ -271,21 +258,21 @@ interface Int8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -215,23 +233,21 @@ } interface Uint8Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint8ArrayConstructor { -@@ -260,23 +253,23 @@ interface Uint8ArrayConstructor { +@@ -298,23 +285,23 @@ interface Uint8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -247,23 +263,23 @@ } interface Uint8ClampedArray { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { -@@ -289,23 +282,23 @@ interface Uint8ClampedArrayConstructor { +@@ -327,23 +314,23 @@ interface Uint8ClampedArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -279,23 +295,23 @@ } interface Int16Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Int16ArrayConstructor { -@@ -318,21 +311,23 @@ interface Int16ArrayConstructor { +@@ -356,21 +343,21 @@ interface Int16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -311,23 +327,21 @@ } interface Uint16Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint16ArrayConstructor { -@@ -345,21 +340,23 @@ interface Uint16ArrayConstructor { +@@ -383,21 +370,21 @@ interface Uint16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -343,23 +357,21 @@ } interface Int32Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Int32ArrayConstructor { -@@ -372,21 +369,23 @@ interface Int32ArrayConstructor { +@@ -410,21 +397,21 @@ interface Int32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -375,23 +387,21 @@ } interface Uint32Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint32ArrayConstructor { -@@ -399,21 +398,23 @@ interface Uint32ArrayConstructor { +@@ -437,21 +424,21 @@ interface Uint32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -407,23 +417,21 @@ } interface Float32Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Float32ArrayConstructor { -@@ -426,21 +427,23 @@ interface Float32ArrayConstructor { +@@ -464,21 +451,21 @@ interface Float32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -439,23 +447,21 @@ } interface Float64Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ -- keys(): IterableIterator; -+ keys(): IterableIterator; -+ +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Float64ArrayConstructor { -@@ -453,9 +456,9 @@ interface Float64ArrayConstructor { +@@ -491,9 +478,9 @@ interface Float64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2017.object.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2017.object.diff index 5539cdfc17..031bae4c5d 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2017.object.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2017.object.diff @@ -53,7 +53,7 @@ + values(o: { readonly [s: string]: T } | ArrayLike): readonly T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object @@ -32,7 +46,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. @@ -62,8 +62,8 @@ + values(o: {}): readonly unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object -@@ -40,8 +54,21 @@ interface ObjectConstructor { + * Returns an array of key/values of the enumerable own properties of an +@@ -41,8 +55,21 @@ interface ObjectConstructor { * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) * object. @@ -85,8 +85,8 @@ + ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object -@@ -50,7 +77,7 @@ interface ObjectConstructor { + * Returns an array of key/values of the enumerable own properties of an +@@ -52,7 +79,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. */ @@ -95,7 +95,7 @@ /** * Returns an object containing all own property descriptors of an object -@@ -60,8 +87,8 @@ interface ObjectConstructor { +@@ -62,8 +89,8 @@ interface ObjectConstructor { * object. */ getOwnPropertyDescriptors(o: T): { diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2018.asyncgenerator.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2018.asyncgenerator.diff index cfa6c04f18..c05d757d08 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2018.asyncgenerator.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2018.asyncgenerator.diff @@ -20,12 +20,13 @@ -/// +/// - interface AsyncGenerator - extends AsyncIterator { +-interface AsyncGenerator ++interface AsyncGenerator + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): Promise>; +- next(...[value]: [] | [TNext]): Promise>; + next( -+ ...args: readonly [] | readonly [TNext] ++ ...[value]: readonly [] | readonly [TNext] + ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2018.asynciterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2018.asynciterable.diff index 7ce9828f01..9e4d726f42 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2018.asynciterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2018.asynciterable.diff @@ -24,13 +24,16 @@ interface SymbolConstructor { /** -@@ -28,11 +14,13 @@ interface SymbolConstructor { +@@ -26,21 +12,23 @@ interface SymbolConstructor { + readonly asyncIterator: unique symbol; + } - interface AsyncIterator { +-interface AsyncIterator { ++interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): Promise>; +- next(...[value]: [] | [TNext]): Promise>; + next( -+ ...args: readonly [] | readonly [TNext] ++ ...[value]: readonly [] | readonly [TNext] + ): Promise>; return?( value?: TReturn | PromiseLike, @@ -39,4 +42,23 @@ + throw?(e?: unknown): Promise>; } - interface AsyncIterable { +-interface AsyncIterable { ++interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; + } + + /** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +-interface AsyncIterableIterator ++interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; + } +@@ -49,7 +37,7 @@ interface AsyncIterableIterator + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +-interface AsyncIteratorObject ++interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; + } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2018.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2018.intl.diff index a66bf5c9a5..a5d2d2615f 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2018.intl.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2018.intl.diff @@ -59,7 +59,7 @@ } interface PluralRules { -@@ -57,8 +43,8 @@ declare namespace Intl { +@@ -57,35 +43,35 @@ declare namespace Intl { ): PluralRules; supportedLocalesOf( locales: string | readonly string[], @@ -70,8 +70,35 @@ } const PluralRules: PluralRulesConstructor; -@@ -92,11 +78,11 @@ declare namespace Intl { - | ES2020NumberFormatPartType; + + interface NumberFormatPartTypeRegistry { +- literal: never; +- nan: never; +- infinity: never; +- percent: never; +- integer: never; +- group: never; +- decimal: never; +- fraction: never; +- plusSign: never; +- minusSign: never; +- percentSign: never; +- currency: never; ++ readonly literal: never; ++ readonly nan: never; ++ readonly infinity: never; ++ readonly percent: never; ++ readonly integer: never; ++ readonly group: never; ++ readonly decimal: never; ++ readonly fraction: never; ++ readonly plusSign: never; ++ readonly minusSign: never; ++ readonly percentSign: never; ++ readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { - type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2019.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2019.intl.diff index 4947c2455d..26ce38c8e4 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2019.intl.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2019.intl.diff @@ -19,7 +19,7 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { -- unknown: any; -+ readonly unknown: unknown; +- unknown: never; ++ readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2020.bigint.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2020.bigint.diff index 3e344e7193..fbffaa12da 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2020.bigint.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2020.bigint.diff @@ -298,8 +298,8 @@ + ): this; /** Yields index, value pairs for every entry in the array. */ -- entries(): IterableIterator<[number, bigint]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, bigint]>; ++ entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -423,8 +423,8 @@ join(separator?: string): string; /** Yields each index in the array. */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -561,7 +561,7 @@ /** * Gets a new BigInt64Array view of the ArrayBuffer store for this array, -@@ -604,7 +536,10 @@ interface BigInt64Array { +@@ -604,11 +536,14 @@ interface BigInt64Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ @@ -572,16 +572,21 @@ + ): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; -@@ -616,34 +551,34 @@ interface BigInt64Array { + toLocaleString( +- locales?: string | string[], ++ locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + +@@ -619,34 +554,34 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -617,7 +622,7 @@ /** * Creates an array from an array-like or iterable object. -@@ -652,15 +587,15 @@ interface BigInt64ArrayConstructor { +@@ -655,15 +590,15 @@ interface BigInt64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -637,7 +642,7 @@ /** * A typed array of 64-bit unsigned integer values. The contents are initialized -@@ -669,16 +604,16 @@ declare var BigInt64Array: BigInt64ArrayConstructor; +@@ -672,16 +607,16 @@ declare var BigInt64Array: BigInt64ArrayConstructor; */ interface BigUint64Array { /** The size in bytes of each element in the array. */ @@ -657,7 +662,7 @@ /** * Returns the this object after copying a section of the array identified by -@@ -691,10 +626,14 @@ interface BigUint64Array { +@@ -694,10 +629,14 @@ interface BigUint64Array { * @param end If not specified, length of the this object is used as its * default value. */ @@ -669,12 +674,12 @@ + ): this; /** Yields index, value pairs for every entry in the array. */ -- entries(): IterableIterator<[number, bigint]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, bigint]>; ++ entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. -@@ -707,8 +646,12 @@ interface BigUint64Array { +@@ -710,8 +649,12 @@ interface BigUint64Array { * value. */ every( @@ -689,7 +694,7 @@ ): boolean; /** -@@ -721,7 +664,11 @@ interface BigUint64Array { +@@ -724,7 +667,11 @@ interface BigUint64Array { * @param end Index to stop filling the array at. If end is negative, it is * treated as length+end. */ @@ -702,7 +707,7 @@ /** * Returns the elements of an array that meet the condition specified in a -@@ -735,8 +682,12 @@ interface BigUint64Array { +@@ -738,8 +685,12 @@ interface BigUint64Array { * value. */ filter( @@ -717,7 +722,7 @@ ): BigUint64Array; /** -@@ -752,9 +703,13 @@ interface BigUint64Array { +@@ -755,9 +706,13 @@ interface BigUint64Array { * instead. */ find( @@ -734,7 +739,7 @@ /** * Returns the index of the first element in the array where predicate is -@@ -769,9 +724,13 @@ interface BigUint64Array { +@@ -772,9 +727,13 @@ interface BigUint64Array { * instead. */ findIndex( @@ -751,7 +756,7 @@ /** * Performs the specified action for each element in an array. -@@ -783,8 +742,12 @@ interface BigUint64Array { +@@ -786,8 +745,12 @@ interface BigUint64Array { * value. */ forEach( @@ -766,7 +771,7 @@ ): void; /** -@@ -795,7 +758,10 @@ interface BigUint64Array { +@@ -798,7 +761,10 @@ interface BigUint64Array { * @param fromIndex The position in this array at which to begin searching for * searchElement. */ @@ -778,7 +783,7 @@ /** * Returns the index of the first occurrence of a value in an array. -@@ -804,7 +770,10 @@ interface BigUint64Array { +@@ -807,7 +773,10 @@ interface BigUint64Array { * @param fromIndex The array index at which to begin the search. If fromIndex * is omitted, the search starts at index 0. */ @@ -790,16 +795,16 @@ /** * Adds all the elements of an array separated by the specified separator -@@ -817,7 +786,7 @@ interface BigUint64Array { +@@ -820,7 +789,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ -- keys(): IterableIterator; -+ keys(): IterableIterator; +- keys(): ArrayIterator; ++ keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. -@@ -826,7 +795,10 @@ interface BigUint64Array { +@@ -829,7 +798,10 @@ interface BigUint64Array { * @param fromIndex The array index at which to begin the search. If fromIndex * is omitted, the search starts at index 0. */ @@ -811,7 +816,7 @@ /** The length of the array. */ readonly length: number; -@@ -843,8 +815,12 @@ interface BigUint64Array { +@@ -846,8 +818,12 @@ interface BigUint64Array { * value. */ map( @@ -826,7 +831,7 @@ ): BigUint64Array; /** -@@ -861,12 +837,12 @@ interface BigUint64Array { +@@ -864,12 +840,12 @@ interface BigUint64Array { */ reduce( callbackfn: ( @@ -844,7 +849,7 @@ /** * Calls the specified callback function for all the elements in an array. The -@@ -883,8 +859,8 @@ interface BigUint64Array { +@@ -886,8 +862,8 @@ interface BigUint64Array { reduce( callbackfn: ( previousValue: U, @@ -855,7 +860,7 @@ array: BigUint64Array, ) => U, initialValue: U, -@@ -905,12 +881,12 @@ interface BigUint64Array { +@@ -908,12 +884,12 @@ interface BigUint64Array { */ reduceRight( callbackfn: ( @@ -873,7 +878,7 @@ /** * Calls the specified callback function for all the elements in an array, in -@@ -928,8 +904,8 @@ interface BigUint64Array { +@@ -931,8 +907,8 @@ interface BigUint64Array { reduceRight( callbackfn: ( previousValue: U, @@ -884,7 +889,7 @@ array: BigUint64Array, ) => U, initialValue: U, -@@ -945,7 +921,10 @@ interface BigUint64Array { +@@ -948,7 +924,10 @@ interface BigUint64Array { * @param offset The index in the current array at which the values are to be * written. */ @@ -896,7 +901,7 @@ /** * Returns a section of an array. -@@ -953,7 +932,10 @@ interface BigUint64Array { +@@ -956,7 +935,10 @@ interface BigUint64Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. */ @@ -908,7 +913,7 @@ /** * Determines whether the specified callback function returns true for any -@@ -967,8 +949,12 @@ interface BigUint64Array { +@@ -970,8 +952,12 @@ interface BigUint64Array { * value. */ some( @@ -923,7 +928,7 @@ ): boolean; /** -@@ -977,7 +963,7 @@ interface BigUint64Array { +@@ -980,7 +966,7 @@ interface BigUint64Array { * @param compareFn The function used to determine the order of the elements. * If omitted, the elements are sorted in ascending order. */ @@ -932,7 +937,7 @@ /** * Gets a new BigUint64Array view of the ArrayBuffer store for this array, -@@ -986,7 +972,10 @@ interface BigUint64Array { +@@ -989,11 +975,14 @@ interface BigUint64Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ @@ -943,16 +948,21 @@ + ): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; -@@ -998,34 +987,34 @@ interface BigUint64Array { + toLocaleString( +- locales?: string | string[], ++ locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + +@@ -1004,34 +993,34 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -988,7 +998,7 @@ /** * Creates an array from an array-like or iterable object. -@@ -1034,15 +1023,15 @@ interface BigUint64ArrayConstructor { +@@ -1040,15 +1029,15 @@ interface BigUint64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -1008,7 +1018,7 @@ interface DataView { /** -@@ -1055,7 +1044,10 @@ interface DataView { +@@ -1061,7 +1050,10 @@ interface DataView { * @param littleEndian If false or undefined, a big-endian value should be * read. */ @@ -1020,7 +1030,7 @@ /** * Gets the BigUint64 value at the specified byte offset from the start of the -@@ -1067,7 +1059,10 @@ interface DataView { +@@ -1073,7 +1065,10 @@ interface DataView { * @param littleEndian If false or undefined, a big-endian value should be * read. */ @@ -1032,7 +1042,7 @@ /** * Stores a BigInt64 value at the specified byte offset from the start of the -@@ -1078,7 +1073,11 @@ interface DataView { +@@ -1084,7 +1079,11 @@ interface DataView { * @param littleEndian If false or undefined, a big-endian value should be * written. */ @@ -1045,7 +1055,7 @@ /** * Stores a BigUint64 value at the specified byte offset from the start of the -@@ -1089,7 +1088,11 @@ interface DataView { +@@ -1095,7 +1094,11 @@ interface DataView { * @param littleEndian If false or undefined, a big-endian value should be * written. */ diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2020.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2020.intl.diff index e4325ebfbf..914bb44489 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2020.intl.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2020.intl.diff @@ -80,7 +80,7 @@ /** * Provides access to the locale and options computed during initialization -@@ -263,42 +249,47 @@ declare namespace Intl { +@@ -263,68 +249,68 @@ declare namespace Intl { supportedLocalesOf( locales?: LocalesArgument, options?: RelativeTimeFormatOptions, @@ -88,9 +88,35 @@ + ): readonly UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { +- unit: never; ++ readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { +- narrowSymbol: never; ++ readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { +- auto: never; +- never: never; +- always: never; +- exceptZero: never; ++ readonly auto: never; ++ readonly never: never; ++ readonly always: never; ++ readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { +- numberingSystem?: string | undefined; - compactDisplay?: 'short' | 'long' | undefined; - notation?: ++ readonly numberingSystem?: string | undefined; + readonly compactDisplay?: 'short' | 'long' | undefined; + readonly notation?: | 'standard' @@ -98,38 +124,44 @@ | 'engineering' | 'compact' | undefined; -- signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' | undefined; +- signDisplay?: NumberFormatOptionsSignDisplay | undefined; - unit?: string | undefined; - unitDisplay?: 'short' | 'long' | 'narrow' | undefined; -- currencyDisplay?: string | undefined; -- currencySign?: string | undefined; -+ readonly signDisplay?: -+ | 'auto' -+ | 'never' -+ | 'always' -+ | 'exceptZero' -+ | undefined; +- currencySign?: 'standard' | 'accounting' | undefined; ++ readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; + readonly unit?: string | undefined; + readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; -+ readonly currencyDisplay?: string | undefined; -+ readonly currencySign?: string | undefined; ++ readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { - compactDisplay?: 'short' | 'long'; -- notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; -- signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; +- notation: 'standard' | 'scientific' | 'engineering' | 'compact'; +- signDisplay: NumberFormatOptionsSignDisplay; - unit?: string; - unitDisplay?: 'short' | 'long' | 'narrow'; -- currencyDisplay?: string; -- currencySign?: string; +- currencySign?: 'standard' | 'accounting'; + readonly compactDisplay?: 'short' | 'long'; -+ readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; -+ readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; ++ readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; ++ readonly signDisplay: NumberFormatOptionsSignDisplay; + readonly unit?: string; + readonly unitDisplay?: 'short' | 'long' | 'narrow'; -+ readonly currencyDisplay?: string; -+ readonly currencySign?: string; ++ readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { +- compact: never; +- exponentInteger: never; +- exponentMinusSign: never; +- exponentSeparator: never; +- unit: never; +- unknown: never; ++ readonly compact: never; ++ readonly exponentInteger: never; ++ readonly exponentMinusSign: never; ++ readonly exponentSeparator: never; ++ readonly unit: never; ++ readonly unknown: never; } interface DateTimeFormatOptions { @@ -149,7 +181,7 @@ } type LocaleHourCycleKey = 'h12' | 'h23' | 'h11' | 'h24'; -@@ -306,44 +297,44 @@ declare namespace Intl { +@@ -332,44 +318,44 @@ declare namespace Intl { interface LocaleOptions { /** A string containing the language, and the script and region if available. */ @@ -206,7 +238,7 @@ /** * Gets the most likely values for the language, script, and region of the * locale based on existing values. -@@ -396,19 +387,19 @@ declare namespace Intl { +@@ -422,19 +408,19 @@ declare namespace Intl { type DisplayNamesLanguageDisplay = 'dialect' | 'standard'; interface DisplayNamesOptions { @@ -236,7 +268,7 @@ } interface DisplayNames { -@@ -459,7 +450,7 @@ declare namespace Intl { +@@ -485,7 +471,7 @@ declare namespace Intl { * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). */ const DisplayNames: { @@ -245,7 +277,7 @@ /** * @param locales A string with a BCP 47 language tag, or an array of such -@@ -492,8 +483,8 @@ declare namespace Intl { +@@ -518,8 +504,8 @@ declare namespace Intl { */ supportedLocalesOf( locales?: LocalesArgument, @@ -256,7 +288,7 @@ }; interface CollatorConstructor { -@@ -502,7 +493,7 @@ declare namespace Intl { +@@ -528,7 +514,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, options?: CollatorOptions, @@ -265,7 +297,7 @@ } interface DateTimeFormatConstructor { -@@ -517,7 +508,7 @@ declare namespace Intl { +@@ -543,7 +529,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, options?: DateTimeFormatOptions, @@ -274,7 +306,7 @@ } interface NumberFormatConstructor { -@@ -529,7 +520,7 @@ declare namespace Intl { +@@ -555,7 +541,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, options?: NumberFormatOptions, @@ -283,7 +315,7 @@ } interface PluralRulesConstructor { -@@ -538,7 +529,7 @@ declare namespace Intl { +@@ -564,7 +550,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2020.string.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2020.string.diff index 368f2fc9f8..17d50ac0e4 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2020.string.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2020.string.diff @@ -17,8 +17,8 @@ /// +/// --/// -+/// +-/// ++/// interface String { /** diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2022.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2022.intl.diff index 0a84321a52..4ac848c6ab 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2022.intl.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2022.intl.diff @@ -41,8 +41,8 @@ + readonly granularity: 'grapheme' | 'word' | 'sentence'; } - interface Segments { -@@ -68,25 +54,25 @@ declare namespace Intl { + interface SegmentIterator +@@ -73,25 +59,25 @@ declare namespace Intl { interface SegmentData { /** A string containing the segment extracted from the original input string. */ @@ -73,7 +73,7 @@ /** * Creates a new `Intl.Segmenter` object. -@@ -125,7 +111,7 @@ declare namespace Intl { +@@ -130,7 +116,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, options?: Pick, @@ -82,7 +82,7 @@ }; /** -@@ -144,5 +130,5 @@ declare namespace Intl { +@@ -149,5 +135,5 @@ declare namespace Intl { | 'numberingSystem' | 'timeZone' | 'unit', diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2023.array.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2023.array.diff index d61fe1e944..02ec8b9a50 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2023.array.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2023.array.diff @@ -263,9 +263,8 @@ + ): NumberType.TypedArraySearchResult; - /** Copies the array and returns the copy with the elements in reverse order. */ -- toReversed(): Uint8Array; + /** Returns a copy of an array with its elements reversed. */ -+ toReversed(): Int8Array; + toReversed(): Int8Array; /** - * Copies and sorts the array. @@ -273,17 +272,11 @@ * * @param compareFn Function used to determine the order of the elements. It * is expected to return a negative value if the first argument is less than -@@ -257,21 +290,23 @@ interface Int8Array { - * otherwise. If omitted, the elements are sorted in ascending order. - * - * ```ts -- * const myNums = Uint8Array.from([11, 2, 22, 1]); -- * myNums.toSorted((a, b) => a - b); // Uint8Array(4) [1, 2, 11, 22] -+ * const myNums = Int8Array.from([11, 2, 22, 1]); -+ * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] +@@ -261,17 +294,19 @@ interface Int8Array { + * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] * ``` */ -- toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; +- toSorted(compareFn?: (a: number, b: number) => number): Int8Array; + toSorted(compareFn?: (a: Int8, b: Int8) => number): Int8Array; /** @@ -299,7 +292,7 @@ + * @param value The value to write into the copied array. + * @returns The copied array with the updated value. */ -- with(index: number, value: number): Uint8Array; +- with(index: number, value: number): Int8Array; + with(index: NumberType.TypedArraySizeArg, value: Int8): Int8Array; } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2023.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2023.diff index c0b6e6429b..5dc71e1ba7 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es2023.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2023.diff @@ -1,4 +1,4 @@ -@@ -1,20 +1,6 @@ +@@ -1,21 +1,7 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -20,6 +20,8 @@ -/// -/// -/// +-/// +/// +/// +/// ++/// diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es2023.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.es2023.intl.diff new file mode 100644 index 0000000000..3ad21d962a --- /dev/null +++ b/packages/strict-ts-lib/output-branded/diff/lib.es2023.intl.diff @@ -0,0 +1,111 @@ +@@ -1,34 +1,24 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { +- min2: never; +- auto: never; +- always: never; ++ readonly min2: never; ++ readonly auto: never; ++ readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { +- negative: never; ++ readonly negative: never; + } + + interface NumberFormatOptions { +- roundingPriority?: 'auto' | 'morePrecision' | 'lessPrecision' | undefined; +- roundingIncrement?: ++ readonly roundingPriority?: ++ | 'auto' ++ | 'morePrecision' ++ | 'lessPrecision' ++ | undefined; ++ readonly roundingIncrement?: + | 1 + | 2 + | 5 +@@ -45,7 +35,7 @@ declare namespace Intl { + | 2500 + | 5000 + | undefined; +- roundingMode?: ++ readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' +@@ -56,12 +46,12 @@ declare namespace Intl { + | 'halfTrunc' + | 'halfEven' + | undefined; +- trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; ++ readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { +- roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; +- roundingMode: ++ readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; ++ readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' +@@ -71,7 +61,7 @@ declare namespace Intl { + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; +- roundingIncrement: ++ readonly roundingIncrement: + | 1 + | 2 + | 5 +@@ -87,11 +77,11 @@ declare namespace Intl { + | 2000 + | 2500 + | 5000; +- trailingZeroDisplay: 'auto' | 'stripIfInteger'; ++ readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { +- source: 'startRange' | 'endRange' | 'shared'; ++ readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = +@@ -104,7 +94,7 @@ declare namespace Intl { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, +- ): NumberFormatPart[]; ++ ): readonly NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, +@@ -112,6 +102,6 @@ declare namespace Intl { + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, +- ): NumberRangeFormatPart[]; ++ ): readonly NumberRangeFormatPart[]; + } + } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.es5.diff b/packages/strict-ts-lib/output-branded/diff/lib.es5.diff index 185d06b3e2..4989578217 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.es5.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.es5.diff @@ -903,8 +903,8 @@ - getUTCMilliseconds(): number; + getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ - getTimezoneOffset(): number; + getTimezoneOffset(): SafeInt; @@ -5684,7 +5684,7 @@ } interface Collator { -@@ -6166,40 +6793,43 @@ declare namespace Intl { +@@ -6166,28 +6793,31 @@ declare namespace Intl { } interface CollatorConstructor { @@ -5706,22 +5706,46 @@ - var Collator: CollatorConstructor; + const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { +- decimal: never; +- percent: never; +- currency: never; ++ readonly decimal: never; ++ readonly percent: never; ++ readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { +- code: never; +- symbol: never; +- name: never; ++ readonly code: never; ++ readonly symbol: never; ++ readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = +@@ -6209,30 +6839,30 @@ declare namespace Intl { + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { -- localeMatcher?: string | undefined; -- style?: string | undefined; +- localeMatcher?: 'lookup' | 'best fit' | undefined; +- style?: NumberFormatOptionsStyle | undefined; - currency?: string | undefined; -- currencySign?: string | undefined; -- useGrouping?: boolean | undefined; +- currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; +- useGrouping?: NumberFormatOptionsUseGrouping | undefined; - minimumIntegerDigits?: number | undefined; - minimumFractionDigits?: number | undefined; - maximumFractionDigits?: number | undefined; - minimumSignificantDigits?: number | undefined; - maximumSignificantDigits?: number | undefined; -+ readonly localeMatcher?: string | undefined; -+ readonly style?: string | undefined; ++ readonly localeMatcher?: 'lookup' | 'best fit' | undefined; ++ readonly style?: NumberFormatOptionsStyle | undefined; + readonly currency?: string | undefined; -+ readonly currencySign?: string | undefined; -+ readonly useGrouping?: boolean | undefined; ++ readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; ++ readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; + readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; + readonly minimumFractionDigits?: UintRange<0, 21> | undefined; + readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -5732,28 +5756,30 @@ interface ResolvedNumberFormatOptions { - locale: string; - numberingSystem: string; -- style: string; +- style: NumberFormatOptionsStyle; - currency?: string; +- currencyDisplay?: NumberFormatOptionsCurrencyDisplay; - minimumIntegerDigits: number; -- minimumFractionDigits: number; -- maximumFractionDigits: number; +- minimumFractionDigits?: number; +- maximumFractionDigits?: number; - minimumSignificantDigits?: number; - maximumSignificantDigits?: number; -- useGrouping: boolean; +- useGrouping: ResolvedNumberFormatOptionsUseGrouping; + readonly locale: string; + readonly numberingSystem: string; -+ readonly style: string; ++ readonly style: NumberFormatOptionsStyle; + readonly currency?: string; ++ readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; + readonly minimumIntegerDigits: UintRange<1, 22>; -+ readonly minimumFractionDigits: UintRange<0, 21>; -+ readonly maximumFractionDigits: UintRange<0, 21>; ++ readonly minimumFractionDigits?: UintRange<0, 21>; ++ readonly maximumFractionDigits?: UintRange<0, 21>; + readonly minimumSignificantDigits?: UintRange<1, 22>; + readonly maximumSignificantDigits?: UintRange<1, 22>; -+ readonly useGrouping: boolean; ++ readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { -@@ -6209,30 +6839,39 @@ declare namespace Intl { +@@ -6242,30 +6872,39 @@ declare namespace Intl { interface NumberFormatConstructor { new ( @@ -5808,7 +5834,7 @@ | 'short' | 'long' | 'shortOffset' -@@ -6240,26 +6879,26 @@ declare namespace Intl { +@@ -6273,26 +6912,26 @@ declare namespace Intl { | 'shortGeneric' | 'longGeneric' | undefined; @@ -5852,7 +5878,7 @@ } interface DateTimeFormat { -@@ -6269,21 +6908,21 @@ declare namespace Intl { +@@ -6302,21 +6941,21 @@ declare namespace Intl { interface DateTimeFormatConstructor { new ( @@ -5879,7 +5905,7 @@ } interface String { -@@ -6303,7 +6942,7 @@ interface String { +@@ -6336,7 +6975,7 @@ interface String { */ localeCompare( that: string, @@ -5888,7 +5914,7 @@ options?: Intl.CollatorOptions, ): number; } -@@ -6321,7 +6960,7 @@ interface Number { +@@ -6354,7 +6993,7 @@ interface Number { * comparison options. */ toLocaleString( @@ -5897,7 +5923,7 @@ options?: Intl.NumberFormatOptions, ): string; } -@@ -6340,7 +6979,7 @@ interface Date { +@@ -6373,7 +7012,7 @@ interface Date { * comparison options. */ toLocaleString( @@ -5906,7 +5932,7 @@ options?: Intl.DateTimeFormatOptions, ): string; /** -@@ -6355,7 +6994,7 @@ interface Date { +@@ -6388,7 +7027,7 @@ interface Date { * comparison options. */ toLocaleDateString( @@ -5915,7 +5941,7 @@ options?: Intl.DateTimeFormatOptions, ): string; -@@ -6371,7 +7010,50 @@ interface Date { +@@ -6404,7 +7043,50 @@ interface Date { * comparison options. */ toLocaleTimeString( diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.array.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.array.diff new file mode 100644 index 0000000000..007d95dd88 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.array.diff @@ -0,0 +1,39 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface ArrayConstructor { + /** +@@ -27,7 +13,7 @@ interface ArrayConstructor { + | AsyncIterable + | Iterable> + | ArrayLike>, +- ): Promise; ++ ): Promise; + + /** + * Creates an array from an async iterator or iterable object. +@@ -42,6 +28,6 @@ interface ArrayConstructor { + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, +- thisArg?: any, +- ): Promise[]>; ++ thisArg?: unknown, ++ ): Promise[]>; + } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.collection.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.collection.diff index 85ab1766e2..ac72409ecb 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.esnext.collection.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.collection.diff @@ -19,7 +19,7 @@ interface MapConstructor { /** -@@ -25,6 +11,6 @@ interface MapConstructor { +@@ -25,8 +11,8 @@ interface MapConstructor { */ groupBy( items: Iterable, @@ -28,3 +28,59 @@ + keySelector: (item: T, index: NumberType.ArraySizeArgNonNegative) => K, + ): ReadonlyMap; } + + interface ReadonlySetLike { +@@ -46,22 +32,22 @@ interface Set { + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ +- union(other: ReadonlySetLike): Set; ++ union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ +- intersection(other: ReadonlySetLike): Set; ++ intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ +- difference(other: ReadonlySetLike): Set; ++ difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ +- symmetricDifference(other: ReadonlySetLike): Set; ++ symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. +@@ -84,22 +70,22 @@ interface ReadonlySet { + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ +- union(other: ReadonlySetLike): Set; ++ union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ +- intersection(other: ReadonlySetLike): Set; ++ intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ +- difference(other: ReadonlySetLike): Set; ++ difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ +- symmetricDifference(other: ReadonlySetLike): Set; ++ symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.diff index 8d174b6309..7ca71cad51 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.esnext.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.diff @@ -1,4 +1,4 @@ -@@ -1,24 +1,10 @@ +@@ -1,28 +1,14 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -23,6 +23,10 @@ -/// -/// -/// +-/// +-/// +-/// +-/// +/// + +/// @@ -32,3 +36,7 @@ +/// +/// +/// ++/// ++/// ++/// ++/// diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.disposable.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.disposable.diff index 53e254ad06..d82c4ab6ca 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.esnext.disposable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.disposable.diff @@ -1,4 +1,4 @@ -@@ -1,21 +1,7 @@ +@@ -1,23 +1,9 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -18,11 +18,15 @@ +/// -/// +-/// +-/// +/// ++/// ++/// interface SymbolConstructor { /** -@@ -40,16 +26,16 @@ interface AsyncDisposable { +@@ -42,16 +28,16 @@ interface AsyncDisposable { } interface SuppressedError extends Error { @@ -44,7 +48,7 @@ interface DisposableStack { /** Returns a value indicating whether this stack has been disposed. */ -@@ -118,7 +104,7 @@ interface DisposableStackConstructor { +@@ -120,7 +106,7 @@ interface DisposableStackConstructor { new (): DisposableStack; readonly prototype: DisposableStack; } @@ -53,9 +57,12 @@ interface AsyncDisposableStack { /** Returns a value indicating whether this stack has been disposed. */ -@@ -188,4 +174,4 @@ interface AsyncDisposableStackConstructor { +@@ -190,7 +176,7 @@ interface AsyncDisposableStackConstructor { new (): AsyncDisposableStack; readonly prototype: AsyncDisposableStack; } -declare var AsyncDisposableStack: AsyncDisposableStackConstructor; +declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + + interface IteratorObject extends Disposable {} + diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.intl.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.intl.diff index ffc9c7f8e9..83ca505124 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.esnext.intl.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.intl.diff @@ -1,4 +1,4 @@ -@@ -1,23 +1,9 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -18,17 +18,4 @@ +/// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { -- source: 'startRange' | 'endRange' | 'shared'; -+ readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { -@@ -25,6 +11,6 @@ declare namespace Intl { - formatRangeToParts( - start: number | bigint, - end: number | bigint, -- ): NumberRangeFormatPart[]; -+ ): readonly NumberRangeFormatPart[]; - } - } + // Empty diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.iterator.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.iterator.diff new file mode 100644 index 0000000000..0f8b4d26d9 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.iterator.diff @@ -0,0 +1,195 @@ +@@ -1,21 +1,7 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + +-/// ++/// + + // NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found + // in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +@@ -25,7 +11,6 @@ export {}; + + // Abstract type that allows us to mark `next` as `abstract` + declare abstract class Iterator { +- // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging + abstract next(value?: TNext): IteratorResult; + } + +@@ -50,7 +35,7 @@ declare global { + * to transform values from the underlying iterator. + */ + map( +- callbackfn: (value: T, index: number) => U, ++ callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => U, + ): IteratorObject; + + /** +@@ -61,7 +46,10 @@ declare global { + * to test values from the underlying iterator. + */ + filter( +- predicate: (value: T, index: number) => value is S, ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => value is S, + ): IteratorObject; + + /** +@@ -72,7 +60,10 @@ declare global { + * to test values from the underlying iterator. + */ + filter( +- predicate: (value: T, index: number) => unknown, ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => unknown, + ): IteratorObject; + + /** +@@ -81,7 +72,9 @@ declare global { + * + * @param limit The maximum number of values to yield. + */ +- take(limit: number): IteratorObject; ++ take( ++ limit: NumberType.ArraySizeArgNonNegative, ++ ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after +@@ -89,7 +82,9 @@ declare global { + * + * @param count The number of values to drop. + */ +- drop(count: number): IteratorObject; ++ drop( ++ limit: NumberType.ArraySizeArgNonNegative, ++ ): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback +@@ -103,7 +98,7 @@ declare global { + flatMap( + callback: ( + value: T, +- index: number, ++ index: NumberType.ArraySizeArgNonNegative, + ) => Iterator | Iterable, + ): IteratorObject; + +@@ -125,14 +120,14 @@ declare global { + callbackfn: ( + previousValue: T, + currentValue: T, +- currentIndex: number, ++ currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, +- currentIndex: number, ++ currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + initialValue: T, + ): T; +@@ -155,13 +150,13 @@ declare global { + callbackfn: ( + previousValue: U, + currentValue: T, +- currentIndex: number, ++ currentIndex: NumberType.ArraySizeArgNonNegative, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ +- toArray(): T[]; ++ toArray(): readonly T[]; + + /** + * Performs the specified action for each element in the iterator. +@@ -170,7 +165,9 @@ declare global { + * calls the callbackfn function one time for each element in the + * iterator. + */ +- forEach(callbackfn: (value: T, index: number) => void): void; ++ forEach( ++ callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => void, ++ ): void; + + /** + * Determines whether the specified callback function returns true for any +@@ -181,7 +178,12 @@ declare global { + * until the predicate returns a value true, or until the end of the + * iterator. + */ +- some(predicate: (value: T, index: number) => unknown): boolean; ++ some( ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => unknown, ++ ): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified +@@ -191,7 +193,12 @@ declare global { + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ +- every(predicate: (value: T, index: number) => unknown): boolean; ++ every( ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => unknown, ++ ): boolean; + + /** + * Returns the value of the first element in this iterator where predicate +@@ -203,9 +210,17 @@ declare global { + * Otherwise, find returns undefined. + */ + find( +- predicate: (value: T, index: number) => value is S, ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => value is S, + ): S | undefined; +- find(predicate: (value: T, index: number) => unknown): T | undefined; ++ find( ++ predicate: ( ++ value: T, ++ index: NumberType.ArraySizeArgNonNegative, ++ ) => unknown, ++ ): T | undefined; + + readonly [Symbol.toStringTag]: string; + } +@@ -224,5 +239,5 @@ declare global { + ): IteratorObject; + } + +- var Iterator: IteratorConstructor; ++ const Iterator: IteratorConstructor; + } diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.regexp.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.regexp.diff new file mode 100644 index 0000000000..29cec670d9 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.regexp.diff @@ -0,0 +1,21 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface RegExp { + /** diff --git a/packages/strict-ts-lib/output-branded/diff/lib.esnext.string.diff b/packages/strict-ts-lib/output-branded/diff/lib.esnext.string.diff new file mode 100644 index 0000000000..494b613b6c --- /dev/null +++ b/packages/strict-ts-lib/output-branded/diff/lib.esnext.string.diff @@ -0,0 +1,21 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface String { + /** diff --git a/packages/strict-ts-lib/output-branded/diff/lib.webworker.asynciterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.webworker.asynciterable.diff index 1ccad48709..2aacb5c7cd 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.webworker.asynciterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.webworker.asynciterable.diff @@ -1,4 +1,4 @@ -@@ -1,27 +1,15 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -19,15 +19,26 @@ ///////////////////////////// /// Worker Async Iterable APIs - ///////////////////////////// +@@ -26,9 +12,11 @@ interface FileSystemDirectoryHandleAsyncIterator interface FileSystemDirectoryHandle { -- [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; -- entries(): AsyncIterableIterator<[string, FileSystemHandle]>; -+ [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< +- [string, FileSystemHandle] + readonly [string, FileSystemHandle] + >; -+ entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; ++ entries(): FileSystemDirectoryHandleAsyncIterator< ++ readonly [string, FileSystemHandle] + >; +- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; } +@@ -38,7 +26,7 @@ interface ReadableStreamAsyncIterator + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; + } + +-interface ReadableStream { ++interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.webworker.diff b/packages/strict-ts-lib/output-branded/diff/lib.webworker.diff index 851d21a837..c9a39188f3 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.webworker.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.webworker.diff @@ -76,7 +76,7 @@ } interface IDBTransactionOptions { -@@ -351,10 +337,10 @@ interface JsonWebKey { +@@ -347,10 +333,10 @@ interface JsonWebKey { e?: string; ext?: boolean; k?: string; @@ -89,7 +89,7 @@ p?: string; q?: string; qi?: string; -@@ -374,8 +360,8 @@ interface LockInfo { +@@ -370,8 +356,8 @@ interface LockInfo { } interface LockManagerSnapshot { @@ -100,8 +100,8 @@ } interface LockOptions { -@@ -412,11 +398,11 @@ interface MediaEncodingConfiguration extends MediaConfiguration { - type: MediaEncodingType; +@@ -412,11 +398,11 @@ interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; } -interface MessageEventInit extends EventInit { @@ -186,7 +186,7 @@ frameId?: number; height?: number; payloadType?: number; -@@ -566,7 +552,7 @@ interface ReadableStreamReadValueResult { +@@ -581,7 +567,7 @@ interface ReadableStreamReadValueResult { value: T; } @@ -195,7 +195,7 @@ readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through -@@ -588,7 +574,7 @@ interface RegistrationOptions { +@@ -603,7 +589,7 @@ interface RegistrationOptions { interface ReportingObserverOptions { buffered?: boolean; @@ -204,7 +204,7 @@ } interface RequestInit { -@@ -743,7 +729,7 @@ interface StreamPipeOptions { +@@ -758,7 +744,7 @@ interface StreamPipeOptions { } interface StructuredSerializeOptions { @@ -213,7 +213,7 @@ } interface TextDecodeOptions { -@@ -760,7 +746,7 @@ interface TextEncoderEncodeIntoResult { +@@ -775,7 +761,7 @@ interface TextEncoderEncodeIntoResult { written: number; } @@ -222,7 +222,7 @@ flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; -@@ -772,20 +758,20 @@ interface UnderlyingByteSource { +@@ -787,20 +773,20 @@ interface UnderlyingByteSource { autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: (controller: ReadableByteStreamController) => void | PromiseLike; @@ -247,7 +247,7 @@ abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; -@@ -793,7 +779,7 @@ interface UnderlyingSink { +@@ -808,7 +794,7 @@ interface UnderlyingSink { write?: UnderlyingSinkWriteCallback; } @@ -256,7 +256,7 @@ autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; -@@ -880,13 +866,13 @@ interface VideoFrameBufferInit { +@@ -895,13 +881,13 @@ interface VideoFrameBufferInit { displayWidth?: number; duration?: number; format: VideoPixelFormat; @@ -272,7 +272,7 @@ rect?: DOMRectInit; } -@@ -934,7 +920,7 @@ interface WebTransportOptions { +@@ -949,7 +935,7 @@ interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; requireUnreliable?: boolean; @@ -281,7 +281,7 @@ } interface WebTransportSendStreamOptions { -@@ -1013,10 +999,10 @@ interface AbortController { +@@ -1028,10 +1014,10 @@ interface AbortController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort) */ @@ -294,7 +294,7 @@ prototype: AbortController; new (): AbortController; }; -@@ -1044,12 +1030,12 @@ interface AbortSignal extends EventTarget { +@@ -1059,12 +1045,12 @@ interface AbortSignal extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */ @@ -309,7 +309,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) -@@ -1057,7 +1043,7 @@ interface AbortSignal extends EventTarget { +@@ -1072,7 +1058,7 @@ interface AbortSignal extends EventTarget { throwIfAborted(): void; addEventListener( type: K, @@ -318,7 +318,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1067,7 +1053,7 @@ interface AbortSignal extends EventTarget { +@@ -1082,7 +1068,7 @@ interface AbortSignal extends EventTarget { ): void; removeEventListener( type: K, @@ -327,7 +327,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1077,14 +1063,14 @@ interface AbortSignal extends EventTarget { +@@ -1092,19 +1078,19 @@ interface AbortSignal extends EventTarget { ): void; } @@ -341,10 +341,16 @@ */ - abort(reason?: any): AbortSignal; + abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ +- any(signals: AbortSignal[]): AbortSignal; ++ any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) -@@ -1101,10 +1087,10 @@ interface AbstractWorker { +@@ -1121,10 +1107,10 @@ interface AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */ @@ -357,7 +363,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1114,7 +1100,7 @@ interface AbstractWorker { +@@ -1134,7 +1120,7 @@ interface AbstractWorker { ): void; removeEventListener( type: K, @@ -366,7 +372,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1163,9 +1149,9 @@ interface Blob { +@@ -1183,9 +1169,9 @@ interface Blob { text(): Promise; } @@ -378,7 +384,7 @@ }; interface Body { -@@ -1189,7 +1175,7 @@ interface Body { +@@ -1209,7 +1195,7 @@ interface Body { */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -387,7 +393,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */ text(): Promise; } -@@ -1212,12 +1198,14 @@ interface BroadcastChannel extends EventTarget { +@@ -1232,12 +1218,14 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */ @@ -404,7 +410,7 @@ /** * Closes the BroadcastChannel object, opening it up to garbage collection. * -@@ -1233,10 +1221,13 @@ interface BroadcastChannel extends EventTarget { +@@ -1253,10 +1241,13 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage) */ @@ -420,7 +426,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1246,7 +1237,10 @@ interface BroadcastChannel extends EventTarget { +@@ -1266,7 +1257,10 @@ interface BroadcastChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -432,7 +438,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1256,7 +1250,7 @@ interface BroadcastChannel extends EventTarget { +@@ -1276,7 +1270,7 @@ interface BroadcastChannel extends EventTarget { ): void; } @@ -441,7 +447,7 @@ prototype: BroadcastChannel; new (name: string): BroadcastChannel; }; -@@ -1281,7 +1275,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { +@@ -1301,7 +1295,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -450,7 +456,7 @@ prototype: ByteLengthQueuingStrategy; new (init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; -@@ -1289,7 +1283,7 @@ declare var ByteLengthQueuingStrategy: { +@@ -1309,7 +1303,7 @@ declare var ByteLengthQueuingStrategy: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue) */ interface CSSImageValue extends CSSStyleValue {} @@ -459,7 +465,7 @@ prototype: CSSImageValue; new (): CSSImageValue; }; -@@ -1303,7 +1297,7 @@ interface CSSKeywordValue extends CSSStyleValue { +@@ -1323,7 +1317,7 @@ interface CSSKeywordValue extends CSSStyleValue { value: string; } @@ -468,7 +474,7 @@ prototype: CSSKeywordValue; new (value: string): CSSKeywordValue; }; -@@ -1314,7 +1308,7 @@ interface CSSMathClamp extends CSSMathValue { +@@ -1334,7 +1328,7 @@ interface CSSMathClamp extends CSSMathValue { readonly value: CSSNumericValue; } @@ -477,7 +483,7 @@ prototype: CSSMathClamp; new ( lower: CSSNumberish, -@@ -1332,7 +1326,7 @@ interface CSSMathInvert extends CSSMathValue { +@@ -1352,7 +1346,7 @@ interface CSSMathInvert extends CSSMathValue { readonly value: CSSNumericValue; } @@ -486,7 +492,7 @@ prototype: CSSMathInvert; new (arg: CSSNumberish): CSSMathInvert; }; -@@ -1346,9 +1340,9 @@ interface CSSMathMax extends CSSMathValue { +@@ -1366,9 +1360,9 @@ interface CSSMathMax extends CSSMathValue { readonly values: CSSNumericArray; } @@ -498,7 +504,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin) */ -@@ -1360,9 +1354,9 @@ interface CSSMathMin extends CSSMathValue { +@@ -1380,9 +1374,9 @@ interface CSSMathMin extends CSSMathValue { readonly values: CSSNumericArray; } @@ -510,7 +516,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate) */ -@@ -1374,7 +1368,7 @@ interface CSSMathNegate extends CSSMathValue { +@@ -1394,7 +1388,7 @@ interface CSSMathNegate extends CSSMathValue { readonly value: CSSNumericValue; } @@ -519,7 +525,7 @@ prototype: CSSMathNegate; new (arg: CSSNumberish): CSSMathNegate; }; -@@ -1388,9 +1382,9 @@ interface CSSMathProduct extends CSSMathValue { +@@ -1408,9 +1402,9 @@ interface CSSMathProduct extends CSSMathValue { readonly values: CSSNumericArray; } @@ -531,7 +537,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum) */ -@@ -1402,9 +1396,9 @@ interface CSSMathSum extends CSSMathValue { +@@ -1422,9 +1416,9 @@ interface CSSMathSum extends CSSMathValue { readonly values: CSSNumericArray; } @@ -543,7 +549,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue) */ -@@ -1416,7 +1410,7 @@ interface CSSMathValue extends CSSNumericValue { +@@ -1436,7 +1430,7 @@ interface CSSMathValue extends CSSNumericValue { readonly operator: CSSMathOperator; } @@ -552,7 +558,7 @@ prototype: CSSMathValue; new (): CSSMathValue; }; -@@ -1433,7 +1427,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { +@@ -1453,7 +1447,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { matrix: DOMMatrix; } @@ -561,7 +567,7 @@ prototype: CSSMatrixComponent; new ( matrix: DOMMatrixReadOnly, -@@ -1454,12 +1448,12 @@ interface CSSNumericArray { +@@ -1474,12 +1468,12 @@ interface CSSNumericArray { key: number, parent: CSSNumericArray, ) => void, @@ -576,7 +582,7 @@ prototype: CSSNumericArray; new (): CSSNumericArray; }; -@@ -1470,37 +1464,37 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1490,37 +1484,37 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */ @@ -621,7 +627,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to) -@@ -1510,7 +1504,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1530,7 +1524,7 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum) */ @@ -630,7 +636,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type) -@@ -1518,7 +1512,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1538,7 +1532,7 @@ interface CSSNumericValue extends CSSStyleValue { type(): CSSNumericType; } @@ -639,7 +645,7 @@ prototype: CSSNumericValue; new (): CSSNumericValue; }; -@@ -1532,7 +1526,7 @@ interface CSSPerspective extends CSSTransformComponent { +@@ -1552,7 +1546,7 @@ interface CSSPerspective extends CSSTransformComponent { length: CSSPerspectiveValue; } @@ -648,7 +654,7 @@ prototype: CSSPerspective; new (length: CSSPerspectiveValue): CSSPerspective; }; -@@ -1549,7 +1543,7 @@ interface CSSRotate extends CSSTransformComponent { +@@ -1569,7 +1563,7 @@ interface CSSRotate extends CSSTransformComponent { z: CSSNumberish; } @@ -657,7 +663,7 @@ prototype: CSSRotate; new (angle: CSSNumericValue): CSSRotate; new ( -@@ -1570,7 +1564,7 @@ interface CSSScale extends CSSTransformComponent { +@@ -1590,7 +1584,7 @@ interface CSSScale extends CSSTransformComponent { z: CSSNumberish; } @@ -666,7 +672,7 @@ prototype: CSSScale; new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; -@@ -1583,7 +1577,7 @@ interface CSSSkew extends CSSTransformComponent { +@@ -1603,7 +1597,7 @@ interface CSSSkew extends CSSTransformComponent { ay: CSSNumericValue; } @@ -675,7 +681,7 @@ prototype: CSSSkew; new (ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew; }; -@@ -1594,7 +1588,7 @@ interface CSSSkewX extends CSSTransformComponent { +@@ -1614,7 +1608,7 @@ interface CSSSkewX extends CSSTransformComponent { ax: CSSNumericValue; } @@ -684,7 +690,7 @@ prototype: CSSSkewX; new (ax: CSSNumericValue): CSSSkewX; }; -@@ -1605,7 +1599,7 @@ interface CSSSkewY extends CSSTransformComponent { +@@ -1625,7 +1619,7 @@ interface CSSSkewY extends CSSTransformComponent { ay: CSSNumericValue; } @@ -693,7 +699,7 @@ prototype: CSSSkewY; new (ay: CSSNumericValue): CSSSkewY; }; -@@ -1615,7 +1609,7 @@ interface CSSStyleValue { +@@ -1635,7 +1629,7 @@ interface CSSStyleValue { toString(): string; } @@ -702,7 +708,7 @@ prototype: CSSStyleValue; new (): CSSStyleValue; }; -@@ -1638,7 +1632,7 @@ interface CSSTransformComponent { +@@ -1658,7 +1652,7 @@ interface CSSTransformComponent { toString(): string; } @@ -711,7 +717,7 @@ prototype: CSSTransformComponent; new (): CSSTransformComponent; }; -@@ -1666,14 +1660,14 @@ interface CSSTransformValue extends CSSStyleValue { +@@ -1686,14 +1680,14 @@ interface CSSTransformValue extends CSSStyleValue { key: number, parent: CSSTransformValue, ) => void, @@ -729,7 +735,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate) */ -@@ -1686,7 +1680,7 @@ interface CSSTranslate extends CSSTransformComponent { +@@ -1706,7 +1700,7 @@ interface CSSTranslate extends CSSTransformComponent { z: CSSNumericValue; } @@ -738,7 +744,7 @@ prototype: CSSTranslate; new ( x: CSSNumericValue, -@@ -1709,7 +1703,7 @@ interface CSSUnitValue extends CSSNumericValue { +@@ -1729,7 +1723,7 @@ interface CSSUnitValue extends CSSNumericValue { value: number; } @@ -747,7 +753,7 @@ prototype: CSSUnitValue; new (value: number, unit: string): CSSUnitValue; }; -@@ -1727,14 +1721,14 @@ interface CSSUnparsedValue extends CSSStyleValue { +@@ -1747,14 +1741,14 @@ interface CSSUnparsedValue extends CSSStyleValue { key: number, parent: CSSUnparsedValue, ) => void, @@ -765,7 +771,7 @@ }; /** -@@ -1754,7 +1748,7 @@ interface CSSVariableReferenceValue { +@@ -1774,7 +1768,7 @@ interface CSSVariableReferenceValue { variable: string; } @@ -774,7 +780,7 @@ prototype: CSSVariableReferenceValue; new ( variable: string, -@@ -1775,7 +1769,7 @@ interface Cache { +@@ -1795,7 +1789,7 @@ interface Cache { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add) */ add(request: RequestInfo | URL): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ @@ -783,7 +789,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete) */ delete( request: RequestInfo | URL, -@@ -1800,7 +1794,7 @@ interface Cache { +@@ -1820,7 +1814,7 @@ interface Cache { put(request: RequestInfo | URL, response: Response): Promise; } @@ -792,7 +798,7 @@ prototype: Cache; new (): Cache; }; -@@ -1825,7 +1819,7 @@ interface CacheStorage { +@@ -1845,7 +1839,7 @@ interface CacheStorage { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/keys) */ @@ -801,7 +807,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/match) -@@ -1841,7 +1835,7 @@ interface CacheStorage { +@@ -1861,7 +1855,7 @@ interface CacheStorage { open(cacheName: string): Promise; } @@ -810,7 +816,7 @@ prototype: CacheStorage; new (): CacheStorage; }; -@@ -2006,7 +2000,7 @@ interface CanvasGradient { +@@ -2026,7 +2020,7 @@ interface CanvasGradient { addColorStop(offset: number, color: string): void; } @@ -819,7 +825,7 @@ prototype: CanvasGradient; new (): CanvasGradient; }; -@@ -2174,12 +2168,12 @@ interface CanvasPathDrawingStyles { +@@ -2194,12 +2188,12 @@ interface CanvasPathDrawingStyles { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getLineDash) */ @@ -834,7 +840,7 @@ } /** -@@ -2199,7 +2193,7 @@ interface CanvasPattern { +@@ -2219,7 +2213,7 @@ interface CanvasPattern { setTransform(transform?: DOMMatrix2DInit): void; } @@ -843,7 +849,7 @@ prototype: CanvasPattern; new (): CanvasPattern; }; -@@ -2411,11 +2405,11 @@ interface Client { +@@ -2436,11 +2430,11 @@ interface Client { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage) */ @@ -858,7 +864,7 @@ prototype: Client; new (): Client; }; -@@ -2445,7 +2439,7 @@ interface Clients { +@@ -2470,7 +2464,7 @@ interface Clients { openWindow(url: string | URL): Promise; } @@ -867,7 +873,7 @@ prototype: Clients; new (): Clients; }; -@@ -2480,7 +2474,7 @@ interface CloseEvent extends Event { +@@ -2505,7 +2499,7 @@ interface CloseEvent extends Event { readonly wasClean: boolean; } @@ -876,7 +882,7 @@ prototype: CloseEvent; new (type: string, eventInitDict?: CloseEventInit): CloseEvent; }; -@@ -2488,7 +2482,7 @@ declare var CloseEvent: { +@@ -2513,7 +2507,7 @@ declare var CloseEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream {} @@ -885,7 +891,7 @@ prototype: CompressionStream; new (format: CompressionFormat): CompressionStream; }; -@@ -2513,7 +2507,7 @@ interface CountQueuingStrategy extends QueuingStrategy { +@@ -2538,7 +2532,7 @@ interface CountQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -894,7 +900,7 @@ prototype: CountQueuingStrategy; new (init: QueuingStrategyInit): CountQueuingStrategy; }; -@@ -2546,7 +2540,7 @@ interface Crypto { +@@ -2571,7 +2565,7 @@ interface Crypto { randomUUID(): `${string}-${string}-${string}-${string}-${string}`; } @@ -903,7 +909,7 @@ prototype: Crypto; new (): Crypto; }; -@@ -2574,16 +2568,16 @@ interface CryptoKey { +@@ -2599,16 +2593,16 @@ interface CryptoKey { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */ @@ -923,7 +929,7 @@ /** * Returns any custom data event was created with. Typically used for * synthetic events. -@@ -2606,7 +2600,7 @@ interface CustomEvent extends Event { +@@ -2631,7 +2625,7 @@ interface CustomEvent extends Event { ): void; } @@ -932,7 +938,7 @@ prototype: CustomEvent; new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; -@@ -2662,7 +2656,7 @@ interface DOMException extends Error { +@@ -2687,7 +2681,7 @@ interface DOMException extends Error { readonly DATA_CLONE_ERR: 25; } @@ -941,7 +947,7 @@ prototype: DOMException; new (message?: string, name?: string): DOMException; readonly INDEX_SIZE_ERR: 1; -@@ -2754,9 +2748,9 @@ interface DOMMatrix extends DOMMatrixReadOnly { +@@ -2771,9 +2765,9 @@ interface DOMMatrix extends DOMMatrixReadOnly { translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -953,16 +959,16 @@ fromFloat32Array(array32: Float32Array): DOMMatrix; fromFloat64Array(array64: Float64Array): DOMMatrix; fromMatrix(other?: DOMMatrixInit): DOMMatrix; -@@ -2973,7 +2967,7 @@ interface DOMMatrixReadOnly { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ +@@ -2845,7 +2839,7 @@ interface DOMMatrixReadOnly { + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; - toJSON(): any; + toJSON(): unknown; + transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) -@@ -2986,9 +2980,9 @@ interface DOMMatrixReadOnly { +@@ -2854,9 +2848,9 @@ interface DOMMatrixReadOnly { translate(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -974,7 +980,7 @@ fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; -@@ -3006,7 +3000,7 @@ interface DOMPoint extends DOMPointReadOnly { +@@ -2874,7 +2868,7 @@ interface DOMPoint extends DOMPointReadOnly { z: number; } @@ -983,7 +989,7 @@ prototype: DOMPoint; new (x?: number, y?: number, z?: number, w?: number): DOMPoint; /** -@@ -3047,10 +3041,10 @@ interface DOMPointReadOnly { +@@ -2911,10 +2905,10 @@ interface DOMPointReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ @@ -996,9 +1002,9 @@ prototype: DOMPointReadOnly; new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; /** -@@ -3075,10 +3069,10 @@ interface DOMQuad { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ +@@ -2931,10 +2925,10 @@ interface DOMQuad { + readonly p3: DOMPoint; + readonly p4: DOMPoint; getBounds(): DOMRect; - toJSON(): any; + toJSON(): unknown; @@ -1009,7 +1015,7 @@ prototype: DOMQuad; new ( p1?: DOMPointInit, -@@ -3098,7 +3092,7 @@ interface DOMRect extends DOMRectReadOnly { +@@ -2954,7 +2948,7 @@ interface DOMRect extends DOMRectReadOnly { y: number; } @@ -1017,8 +1023,8 @@ +declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; -@@ -3146,10 +3140,10 @@ interface DOMRectReadOnly { + /** +@@ -3006,10 +3000,10 @@ interface DOMRectReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */ readonly y: number; @@ -1031,7 +1037,7 @@ prototype: DOMRectReadOnly; new ( x?: number, -@@ -3194,7 +3188,7 @@ interface DOMStringList { +@@ -3054,7 +3048,7 @@ interface DOMStringList { [index: number]: string; } @@ -1040,7 +1046,7 @@ prototype: DOMStringList; new (): DOMStringList; }; -@@ -3205,7 +3199,7 @@ declare var DOMStringList: { +@@ -3065,7 +3059,7 @@ declare var DOMStringList: { */ interface DecompressionStream extends GenericTransformStream {} @@ -1049,7 +1055,7 @@ prototype: DecompressionStream; new (format: CompressionFormat): DecompressionStream; }; -@@ -3242,20 +3236,22 @@ interface DedicatedWorkerGlobalScope +@@ -3102,20 +3096,22 @@ interface DedicatedWorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */ onmessage: @@ -1075,7 +1081,7 @@ /** * Aborts dedicatedWorkerGlobal. * -@@ -3271,14 +3267,14 @@ interface DedicatedWorkerGlobalScope +@@ -3131,14 +3127,14 @@ interface DedicatedWorkerGlobalScope * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage) */ @@ -1093,7 +1099,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3291,7 +3287,7 @@ interface DedicatedWorkerGlobalScope +@@ -3151,7 +3147,7 @@ interface DedicatedWorkerGlobalScope listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -1102,7 +1108,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3301,7 +3297,7 @@ interface DedicatedWorkerGlobalScope +@@ -3161,7 +3157,7 @@ interface DedicatedWorkerGlobalScope ): void; } @@ -1111,7 +1117,7 @@ prototype: DedicatedWorkerGlobalScope; new (): DedicatedWorkerGlobalScope; }; -@@ -3432,7 +3428,7 @@ interface EncodedVideoChunk { +@@ -3292,7 +3288,7 @@ interface EncodedVideoChunk { copyTo(destination: AllowSharedBufferSource): void; } @@ -1120,16 +1126,14 @@ prototype: EncodedVideoChunk; new (init: EncodedVideoChunkInit): EncodedVideoChunk; }; -@@ -3452,7 +3448,7 @@ interface ErrorEvent extends Event { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ +@@ -3304,13 +3300,13 @@ declare var EncodedVideoChunk: { + */ + interface ErrorEvent extends Event { + readonly colno: number; - readonly error: any; + readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) -@@ -3470,7 +3466,7 @@ interface ErrorEvent extends Event { + readonly filename: string; + readonly lineno: number; readonly message: string; } @@ -1138,7 +1142,7 @@ prototype: ErrorEvent; new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; -@@ -3587,7 +3583,7 @@ interface Event { +@@ -3427,7 +3423,7 @@ interface Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath) */ @@ -1147,7 +1151,7 @@ /** * @deprecated * -@@ -3626,7 +3622,7 @@ interface Event { +@@ -3466,7 +3462,7 @@ interface Event { readonly BUBBLING_PHASE: 3; } @@ -1156,7 +1160,7 @@ prototype: Event; new (type: string, eventInitDict?: EventInit): Event; readonly NONE: 0; -@@ -3655,17 +3651,17 @@ interface EventSource extends EventTarget { +@@ -3495,17 +3491,17 @@ interface EventSource extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */ @@ -1177,7 +1181,7 @@ /** * Returns the state of this EventSource object's connection. It can have the * values described below. -@@ -3701,12 +3697,12 @@ interface EventSource extends EventTarget { +@@ -3541,12 +3537,12 @@ interface EventSource extends EventTarget { readonly CLOSED: 2; addEventListener( type: K, @@ -1192,7 +1196,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3716,12 +3712,12 @@ interface EventSource extends EventTarget { +@@ -3556,12 +3552,12 @@ interface EventSource extends EventTarget { ): void; removeEventListener( type: K, @@ -1207,7 +1211,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3731,7 +3727,7 @@ interface EventSource extends EventTarget { +@@ -3571,7 +3567,7 @@ interface EventSource extends EventTarget { ): void; } @@ -1216,7 +1220,7 @@ prototype: EventSource; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CONNECTING: 0; -@@ -3805,7 +3801,7 @@ interface EventTarget { +@@ -3645,7 +3641,7 @@ interface EventTarget { ): void; } @@ -1225,7 +1229,7 @@ prototype: EventTarget; new (): EventTarget; }; -@@ -3823,10 +3819,10 @@ interface ExtendableEvent extends Event { +@@ -3663,10 +3659,10 @@ interface ExtendableEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil) */ @@ -1238,7 +1242,7 @@ prototype: ExtendableEvent; new (type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent; }; -@@ -3845,7 +3841,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { +@@ -3685,7 +3681,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data) */ @@ -1247,7 +1251,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId) -@@ -3868,7 +3864,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { +@@ -3708,7 +3704,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { readonly source: Client | ServiceWorker | MessagePort | null; } @@ -1256,7 +1260,7 @@ prototype: ExtendableMessageEvent; new ( type: string, -@@ -3900,7 +3896,7 @@ interface FetchEvent extends ExtendableEvent { +@@ -3740,7 +3736,7 @@ interface FetchEvent extends ExtendableEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/preloadResponse) */ @@ -1265,7 +1269,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request) -@@ -3918,7 +3914,7 @@ interface FetchEvent extends ExtendableEvent { +@@ -3758,7 +3754,7 @@ interface FetchEvent extends ExtendableEvent { respondWith(r: Response | PromiseLike): void; } @@ -1274,7 +1278,7 @@ prototype: FetchEvent; new (type: string, eventInitDict: FetchEventInit): FetchEvent; }; -@@ -3944,9 +3940,13 @@ interface File extends Blob { +@@ -3784,9 +3780,13 @@ interface File extends Blob { readonly webkitRelativePath: string; } @@ -1290,7 +1294,7 @@ }; /** -@@ -3966,7 +3966,7 @@ interface FileList { +@@ -3806,7 +3806,7 @@ interface FileList { [index: number]: File; } @@ -1299,7 +1303,7 @@ prototype: FileList; new (): FileList; }; -@@ -3997,34 +3997,42 @@ interface FileReader extends EventTarget { +@@ -3837,34 +3837,42 @@ interface FileReader extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */ @@ -1348,7 +1352,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState) -@@ -4070,7 +4078,7 @@ interface FileReader extends EventTarget { +@@ -3910,7 +3918,7 @@ interface FileReader extends EventTarget { readonly DONE: 2; addEventListener( type: K, @@ -1357,7 +1361,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4080,7 +4088,7 @@ interface FileReader extends EventTarget { +@@ -3920,7 +3928,7 @@ interface FileReader extends EventTarget { ): void; removeEventListener( type: K, @@ -1366,7 +1370,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4090,7 +4098,7 @@ interface FileReader extends EventTarget { +@@ -3930,7 +3938,7 @@ interface FileReader extends EventTarget { ): void; } @@ -1375,7 +1379,7 @@ prototype: FileReader; new (): FileReader; readonly EMPTY: 0; -@@ -4128,7 +4136,7 @@ interface FileReaderSync { +@@ -3968,7 +3976,7 @@ interface FileReaderSync { readAsText(blob: Blob, encoding?: string): string; } @@ -1384,7 +1388,7 @@ prototype: FileReaderSync; new (): FileReaderSync; }; -@@ -4166,10 +4174,12 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { +@@ -4006,10 +4014,12 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve) */ @@ -1399,7 +1403,7 @@ prototype: FileSystemDirectoryHandle; new (): FileSystemDirectoryHandle; }; -@@ -4201,7 +4211,7 @@ interface FileSystemFileHandle extends FileSystemHandle { +@@ -4041,7 +4051,7 @@ interface FileSystemFileHandle extends FileSystemHandle { getFile(): Promise; } @@ -1408,7 +1412,7 @@ prototype: FileSystemFileHandle; new (): FileSystemFileHandle; }; -@@ -4229,7 +4239,7 @@ interface FileSystemHandle { +@@ -4069,7 +4079,7 @@ interface FileSystemHandle { isSameEntry(other: FileSystemHandle): Promise; } @@ -1417,7 +1421,7 @@ prototype: FileSystemHandle; new (): FileSystemHandle; }; -@@ -4279,7 +4289,7 @@ interface FileSystemSyncAccessHandle { +@@ -4119,7 +4129,7 @@ interface FileSystemSyncAccessHandle { ): number; } @@ -1426,7 +1430,7 @@ prototype: FileSystemSyncAccessHandle; new (): FileSystemSyncAccessHandle; }; -@@ -4308,7 +4318,7 @@ interface FileSystemWritableFileStream extends WritableStream { +@@ -4148,7 +4158,7 @@ interface FileSystemWritableFileStream extends WritableStream { write(data: FileSystemWriteChunkType): Promise; } @@ -1435,7 +1439,7 @@ prototype: FileSystemWritableFileStream; new (): FileSystemWritableFileStream; }; -@@ -4364,7 +4374,7 @@ interface FontFace { +@@ -4204,7 +4214,7 @@ interface FontFace { load(): Promise; } @@ -1444,7 +1448,7 @@ prototype: FontFace; new ( family: string, -@@ -4385,17 +4395,17 @@ interface FontFaceSet extends EventTarget { +@@ -4225,17 +4235,17 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ @@ -1465,7 +1469,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) -@@ -4415,14 +4425,14 @@ interface FontFaceSet extends EventTarget { +@@ -4255,14 +4265,14 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load) */ @@ -1483,7 +1487,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4432,7 +4442,7 @@ interface FontFaceSet extends EventTarget { +@@ -4272,7 +4282,7 @@ interface FontFaceSet extends EventTarget { ): void; removeEventListener( type: K, @@ -1492,7 +1496,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4442,9 +4452,9 @@ interface FontFaceSet extends EventTarget { +@@ -4282,9 +4292,9 @@ interface FontFaceSet extends EventTarget { ): void; } @@ -1504,7 +1508,7 @@ }; /** -@@ -4459,7 +4469,7 @@ interface FontFaceSetLoadEvent extends Event { +@@ -4299,7 +4309,7 @@ interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } @@ -1513,7 +1517,7 @@ prototype: FontFaceSetLoadEvent; new ( type: string, -@@ -4490,7 +4500,7 @@ interface FormData { +@@ -4330,7 +4340,7 @@ interface FormData { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get) */ get(name: string): FormDataEntryValue | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll) */ @@ -1522,7 +1526,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has) */ has(name: string): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */ -@@ -4503,11 +4513,11 @@ interface FormData { +@@ -4343,11 +4353,11 @@ interface FormData { key: string, parent: FormData, ) => void, @@ -1536,7 +1540,7 @@ prototype: FormData; new (): FormData; }; -@@ -4547,18 +4557,18 @@ interface Headers { +@@ -4387,18 +4397,18 @@ interface Headers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie) */ @@ -1558,7 +1562,7 @@ prototype: Headers; new (init?: HeadersInit): Headers; }; -@@ -4648,10 +4658,10 @@ interface IDBCursor { +@@ -4488,10 +4498,10 @@ interface IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update) */ @@ -1571,7 +1575,7 @@ prototype: IDBCursor; new (): IDBCursor; }; -@@ -4671,10 +4681,10 @@ interface IDBCursorWithValue extends IDBCursor { +@@ -4511,10 +4521,10 @@ interface IDBCursorWithValue extends IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value) */ @@ -1584,7 +1588,7 @@ prototype: IDBCursorWithValue; new (): IDBCursorWithValue; }; -@@ -4709,19 +4719,19 @@ interface IDBDatabase extends EventTarget { +@@ -4549,19 +4559,19 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames) */ readonly objectStoreNames: DOMStringList; @@ -1608,7 +1612,7 @@ | null; /** * Returns the version of the database. -@@ -4769,13 +4779,13 @@ interface IDBDatabase extends EventTarget { +@@ -4609,13 +4619,13 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) */ transaction( @@ -1624,7 +1628,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4785,7 +4795,7 @@ interface IDBDatabase extends EventTarget { +@@ -4625,7 +4635,7 @@ interface IDBDatabase extends EventTarget { ): void; removeEventListener( type: K, @@ -1633,7 +1637,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4795,7 +4805,7 @@ interface IDBDatabase extends EventTarget { +@@ -4635,7 +4645,7 @@ interface IDBDatabase extends EventTarget { ): void; } @@ -1642,7 +1646,7 @@ prototype: IDBDatabase; new (): IDBDatabase; }; -@@ -4816,12 +4826,12 @@ interface IDBFactory { +@@ -4656,12 +4666,12 @@ interface IDBFactory { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp) */ @@ -1657,7 +1661,7 @@ /** * Attempts to delete the named database. If the database already exists and * there are open connections that don't close in response to a versionchange -@@ -4842,7 +4852,7 @@ interface IDBFactory { +@@ -4682,7 +4692,7 @@ interface IDBFactory { open(name: string, version?: number): IDBOpenDBRequest; } @@ -1666,7 +1670,7 @@ prototype: IDBFactory; new (): IDBFactory; }; -@@ -4860,7 +4870,7 @@ interface IDBIndex { +@@ -4700,7 +4710,7 @@ interface IDBIndex { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath) */ @@ -1675,7 +1679,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry) -@@ -4899,7 +4909,7 @@ interface IDBIndex { +@@ -4739,7 +4749,7 @@ interface IDBIndex { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get) */ @@ -1684,7 +1688,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -4911,7 +4921,7 @@ interface IDBIndex { +@@ -4751,7 +4761,7 @@ interface IDBIndex { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1693,7 +1697,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -4924,7 +4934,7 @@ interface IDBIndex { +@@ -4764,7 +4774,7 @@ interface IDBIndex { getAllKeys( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1702,7 +1706,7 @@ /** * Retrieves the key of the first record matching the given key or key range * in query. -@@ -4965,7 +4975,7 @@ interface IDBIndex { +@@ -4805,7 +4815,7 @@ interface IDBIndex { ): IDBRequest; } @@ -1711,7 +1715,7 @@ prototype: IDBIndex; new (): IDBIndex; }; -@@ -4987,7 +4997,7 @@ interface IDBKeyRange { +@@ -4827,7 +4837,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower) */ @@ -1720,7 +1724,7 @@ /** * Returns true if the lower open flag is set, and false otherwise. * -@@ -5001,7 +5011,7 @@ interface IDBKeyRange { +@@ -4841,7 +4851,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper) */ @@ -1729,7 +1733,7 @@ /** * Returns true if the upper open flag is set, and false otherwise. * -@@ -5015,10 +5025,10 @@ interface IDBKeyRange { +@@ -4855,10 +4865,10 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes) */ @@ -1742,7 +1746,7 @@ prototype: IDBKeyRange; new (): IDBKeyRange; /** -@@ -5030,8 +5040,8 @@ declare var IDBKeyRange: { +@@ -4870,8 +4880,8 @@ declare var IDBKeyRange: { * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static) */ bound( @@ -1753,7 +1757,7 @@ lowerOpen?: boolean, upperOpen?: boolean, ): IDBKeyRange; -@@ -5042,14 +5052,14 @@ declare var IDBKeyRange: { +@@ -4882,14 +4892,14 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static) */ @@ -1770,7 +1774,7 @@ /** * Returns a new IDBKeyRange with no lower bound and ending at key. If open is * true, key is not included in the range. -@@ -5057,7 +5067,7 @@ declare var IDBKeyRange: { +@@ -4897,7 +4907,7 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static) */ @@ -1779,7 +1783,7 @@ }; /** -@@ -5090,7 +5100,7 @@ interface IDBObjectStore { +@@ -4930,7 +4940,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath) */ @@ -1788,7 +1792,7 @@ /** * Returns the name of the store. * -@@ -5120,7 +5130,7 @@ interface IDBObjectStore { +@@ -4960,7 +4970,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add) */ @@ -1797,7 +1801,7 @@ /** * Deletes all records in store. * -@@ -5154,7 +5164,7 @@ interface IDBObjectStore { +@@ -4994,7 +5004,7 @@ interface IDBObjectStore { */ createIndex( name: string, @@ -1806,7 +1810,7 @@ options?: IDBIndexParameters, ): IDBIndex; /** -@@ -5187,7 +5197,7 @@ interface IDBObjectStore { +@@ -5027,7 +5037,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get) */ @@ -1815,7 +1819,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -5200,7 +5210,7 @@ interface IDBObjectStore { +@@ -5040,7 +5050,7 @@ interface IDBObjectStore { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1824,7 +1828,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -5213,7 +5223,7 @@ interface IDBObjectStore { +@@ -5053,7 +5063,7 @@ interface IDBObjectStore { getAllKeys( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1833,7 +1837,7 @@ /** * Retrieves the key of the first record matching the given key or key range * in query. -@@ -5273,10 +5283,10 @@ interface IDBObjectStore { +@@ -5113,10 +5123,10 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put) */ @@ -1846,7 +1850,7 @@ prototype: IDBObjectStore; new (): IDBObjectStore; }; -@@ -5297,18 +5307,21 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5137,18 +5147,21 @@ interface IDBOpenDBRequest extends IDBRequest { * Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */ onblocked: @@ -1871,7 +1875,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5318,7 +5331,10 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5158,7 +5171,10 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; removeEventListener( type: K, @@ -1883,7 +1887,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5328,7 +5344,7 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5168,7 +5184,7 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; } @@ -1892,7 +1896,7 @@ prototype: IDBOpenDBRequest; new (): IDBOpenDBRequest; }; -@@ -5346,7 +5362,7 @@ interface IDBRequestEventMap { +@@ -5186,7 +5202,7 @@ interface IDBRequestEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest) */ @@ -1901,7 +1905,7 @@ /** * When a request is completed, returns the error (a DOMException), or null if * the request succeeded. Throws a "InvalidStateError" DOMException if the -@@ -5360,12 +5376,12 @@ interface IDBRequest extends EventTarget { +@@ -5200,12 +5216,12 @@ interface IDBRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */ @@ -1916,7 +1920,7 @@ /** * Returns "pending" until a request is complete, then returns "done". * -@@ -5401,7 +5417,7 @@ interface IDBRequest extends EventTarget { +@@ -5241,7 +5257,7 @@ interface IDBRequest extends EventTarget { readonly transaction: IDBTransaction | null; addEventListener( type: K, @@ -1925,7 +1929,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5411,7 +5427,7 @@ interface IDBRequest extends EventTarget { +@@ -5251,7 +5267,7 @@ interface IDBRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -1934,7 +1938,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5421,7 +5437,7 @@ interface IDBRequest extends EventTarget { +@@ -5261,7 +5277,7 @@ interface IDBRequest extends EventTarget { ): void; } @@ -1943,7 +1947,7 @@ prototype: IDBRequest; new (): IDBRequest; }; -@@ -5474,17 +5490,17 @@ interface IDBTransaction extends EventTarget { +@@ -5314,17 +5330,17 @@ interface IDBTransaction extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -1964,7 +1968,7 @@ /** * Aborts the transaction. All pending requests will fail with a "AbortError" * DOMException and all changes made to the database will be reverted. -@@ -5507,7 +5523,7 @@ interface IDBTransaction extends EventTarget { +@@ -5347,7 +5363,7 @@ interface IDBTransaction extends EventTarget { objectStore(name: string): IDBObjectStore; addEventListener( type: K, @@ -1973,7 +1977,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5517,7 +5533,7 @@ interface IDBTransaction extends EventTarget { +@@ -5357,7 +5373,7 @@ interface IDBTransaction extends EventTarget { ): void; removeEventListener( type: K, @@ -1982,7 +1986,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5527,7 +5543,7 @@ interface IDBTransaction extends EventTarget { +@@ -5367,7 +5383,7 @@ interface IDBTransaction extends EventTarget { ): void; } @@ -1991,7 +1995,7 @@ prototype: IDBTransaction; new (): IDBTransaction; }; -@@ -5553,7 +5569,7 @@ interface IDBVersionChangeEvent extends Event { +@@ -5393,7 +5409,7 @@ interface IDBVersionChangeEvent extends Event { readonly oldVersion: number; } @@ -2000,7 +2004,7 @@ prototype: IDBVersionChangeEvent; new ( type: string, -@@ -5586,7 +5602,7 @@ interface ImageBitmap { +@@ -5426,7 +5442,7 @@ interface ImageBitmap { close(): void; } @@ -2009,7 +2013,7 @@ prototype: ImageBitmap; new (): ImageBitmap; }; -@@ -5607,7 +5623,7 @@ interface ImageBitmapRenderingContext { +@@ -5447,7 +5463,7 @@ interface ImageBitmapRenderingContext { transferFromImageBitmap(bitmap: ImageBitmap | null): void; } @@ -2018,7 +2022,7 @@ prototype: ImageBitmapRenderingContext; new (): ImageBitmapRenderingContext; }; -@@ -5651,7 +5667,7 @@ interface ImageData { +@@ -5491,7 +5507,7 @@ interface ImageData { readonly width: number; } @@ -2027,7 +2031,7 @@ prototype: ImageData; new (sw: number, sh: number, settings?: ImageDataSettings): ImageData; new ( -@@ -5682,7 +5698,7 @@ interface Lock { +@@ -5527,7 +5543,7 @@ interface Lock { readonly name: string; } @@ -2036,7 +2040,7 @@ prototype: Lock; new (): Lock; }; -@@ -5702,15 +5718,15 @@ interface LockManager { +@@ -5547,15 +5563,15 @@ interface LockManager { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request) */ @@ -2055,7 +2059,7 @@ prototype: LockManager; new (): LockManager; }; -@@ -5733,7 +5749,7 @@ interface MediaCapabilities { +@@ -5578,7 +5594,7 @@ interface MediaCapabilities { ): Promise; } @@ -2064,7 +2068,25 @@ prototype: MediaCapabilities; new (): MediaCapabilities; }; -@@ -5761,7 +5777,7 @@ interface MessageChannel { +@@ -5586,7 +5602,7 @@ declare var MediaCapabilities: { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ + interface MediaSourceHandle {} + +-declare var MediaSourceHandle: { ++declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; + }; +@@ -5603,7 +5619,7 @@ interface MediaStreamTrackProcessor { + readonly readable: ReadableStream; + } + +-declare var MediaStreamTrackProcessor: { ++declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; + }; +@@ -5631,7 +5647,7 @@ interface MessageChannel { readonly port2: MessagePort; } @@ -2073,7 +2095,7 @@ prototype: MessageChannel; new (): MessageChannel; }; -@@ -5771,7 +5787,7 @@ declare var MessageChannel: { +@@ -5641,7 +5657,7 @@ declare var MessageChannel: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent) */ @@ -2082,7 +2104,7 @@ /** * Returns the data of the message. * -@@ -5821,15 +5837,15 @@ interface MessageEvent extends Event { +@@ -5686,15 +5702,15 @@ interface MessageEvent extends Event { type: string, bubbles?: boolean, cancelable?: boolean, @@ -2101,7 +2123,7 @@ prototype: MessageEvent; new (type: string, eventInitDict?: MessageEventInit): MessageEvent; }; -@@ -5851,12 +5867,12 @@ interface MessagePort extends EventTarget { +@@ -5716,12 +5732,12 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/message_event) */ @@ -2116,7 +2138,7 @@ /** * Disconnects the port, so that it is no longer active. * -@@ -5875,8 +5891,8 @@ interface MessagePort extends EventTarget { +@@ -5740,8 +5756,8 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) */ @@ -2127,7 +2149,7 @@ /** * Begins dispatching messages received on the port. * -@@ -5886,7 +5902,7 @@ interface MessagePort extends EventTarget { +@@ -5751,7 +5767,7 @@ interface MessagePort extends EventTarget { start(): void; addEventListener( type: K, @@ -2136,7 +2158,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5896,7 +5912,7 @@ interface MessagePort extends EventTarget { +@@ -5761,7 +5777,7 @@ interface MessagePort extends EventTarget { ): void; removeEventListener( type: K, @@ -2145,7 +2167,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5906,7 +5922,7 @@ interface MessagePort extends EventTarget { +@@ -5771,7 +5787,7 @@ interface MessagePort extends EventTarget { ): void; } @@ -2154,7 +2176,7 @@ prototype: MessagePort; new (): MessagePort; }; -@@ -5940,7 +5956,7 @@ interface NavigationPreloadManager { +@@ -5805,7 +5821,7 @@ interface NavigationPreloadManager { setHeaderValue(value: string): Promise; } @@ -2163,7 +2185,7 @@ prototype: NavigationPreloadManager; new (): NavigationPreloadManager; }; -@@ -6074,7 +6090,7 @@ interface Notification extends EventTarget { +@@ -5939,7 +5955,7 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/data) */ @@ -2172,7 +2194,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir) -@@ -6094,22 +6110,22 @@ interface Notification extends EventTarget { +@@ -5959,22 +5975,22 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */ @@ -2199,7 +2221,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) -@@ -6137,7 +6153,7 @@ interface Notification extends EventTarget { +@@ -6002,7 +6018,7 @@ interface Notification extends EventTarget { close(): void; addEventListener( type: K, @@ -2208,7 +2230,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6147,7 +6163,7 @@ interface Notification extends EventTarget { +@@ -6012,7 +6028,7 @@ interface Notification extends EventTarget { ): void; removeEventListener( type: K, @@ -2217,7 +2239,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6157,7 +6173,7 @@ interface Notification extends EventTarget { +@@ -6022,7 +6038,7 @@ interface Notification extends EventTarget { ): void; } @@ -2226,7 +2248,7 @@ prototype: Notification; new (title: string, options?: NotificationOptions): Notification; /** -@@ -6187,7 +6203,7 @@ interface NotificationEvent extends ExtendableEvent { +@@ -6052,7 +6068,7 @@ interface NotificationEvent extends ExtendableEvent { readonly notification: Notification; } @@ -2235,18 +2257,22 @@ prototype: NotificationEvent; new (type: string, eventInitDict: NotificationEventInit): NotificationEvent; }; -@@ -6380,8 +6396,8 @@ interface OffscreenCanvas extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) +@@ -6249,12 +6265,12 @@ interface OffscreenCanvas extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ - height: number; - oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; -- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ +- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's * bitmap. -@@ -6427,17 +6443,23 @@ interface OffscreenCanvas extends EventTarget { +@@ -6300,17 +6316,23 @@ interface OffscreenCanvas extends EventTarget { */ getContext( contextId: '2d', @@ -2275,7 +2301,7 @@ ): OffscreenRenderingContext | null; /** * Returns a newly created ImageBitmap object with the image in the -@@ -6450,7 +6472,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -6323,7 +6345,10 @@ interface OffscreenCanvas extends EventTarget { transferToImageBitmap(): ImageBitmap; addEventListener( type: K, @@ -2287,7 +2313,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6460,7 +6485,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -6333,7 +6358,10 @@ interface OffscreenCanvas extends EventTarget { ): void; removeEventListener( type: K, @@ -2299,7 +2325,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6470,7 +6498,7 @@ interface OffscreenCanvas extends EventTarget { +@@ -6343,7 +6371,7 @@ interface OffscreenCanvas extends EventTarget { ): void; } @@ -2308,8 +2334,8 @@ prototype: OffscreenCanvas; new (width: number, height: number): OffscreenCanvas; }; -@@ -6503,7 +6531,7 @@ interface OffscreenCanvasRenderingContext2D - commit(): void; +@@ -6371,7 +6399,7 @@ interface OffscreenCanvasRenderingContext2D + readonly canvas: OffscreenCanvas; } -declare var OffscreenCanvasRenderingContext2D: { @@ -2317,7 +2343,7 @@ prototype: OffscreenCanvasRenderingContext2D; new (): OffscreenCanvasRenderingContext2D; }; -@@ -6526,7 +6554,7 @@ interface Path2D extends CanvasPath { +@@ -6394,7 +6422,7 @@ interface Path2D extends CanvasPath { addPath(path: Path2D, transform?: DOMMatrix2DInit): void; } @@ -2326,7 +2352,7 @@ prototype: Path2D; new (path?: Path2D | string): Path2D; }; -@@ -6548,7 +6576,9 @@ interface Performance extends EventTarget { +@@ -6416,7 +6444,9 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */ @@ -2337,7 +2363,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin) -@@ -6609,10 +6639,10 @@ interface Performance extends EventTarget { +@@ -6477,10 +6507,10 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON) */ @@ -2350,7 +2376,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6622,7 +6652,7 @@ interface Performance extends EventTarget { +@@ -6490,7 +6520,7 @@ interface Performance extends EventTarget { ): void; removeEventListener( type: K, @@ -2359,7 +2385,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6632,7 +6662,7 @@ interface Performance extends EventTarget { +@@ -6500,7 +6530,7 @@ interface Performance extends EventTarget { ): void; } @@ -2368,7 +2394,7 @@ prototype: Performance; new (): Performance; }; -@@ -6671,10 +6701,10 @@ interface PerformanceEntry { +@@ -6539,10 +6569,10 @@ interface PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON) */ @@ -2381,7 +2407,7 @@ prototype: PerformanceEntry; new (): PerformanceEntry; }; -@@ -6692,10 +6722,10 @@ interface PerformanceMark extends PerformanceEntry { +@@ -6560,10 +6590,10 @@ interface PerformanceMark extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail) */ @@ -2394,7 +2420,7 @@ prototype: PerformanceMark; new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; }; -@@ -6714,10 +6744,10 @@ interface PerformanceMeasure extends PerformanceEntry { +@@ -6582,10 +6612,10 @@ interface PerformanceMeasure extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail) */ @@ -2407,7 +2433,7 @@ prototype: PerformanceMeasure; new (): PerformanceMeasure; }; -@@ -6744,7 +6774,7 @@ interface PerformanceObserver { +@@ -6612,7 +6642,7 @@ interface PerformanceObserver { takeRecords(): PerformanceEntryList; } @@ -2416,7 +2442,7 @@ prototype: PerformanceObserver; new (callback: PerformanceObserverCallback): PerformanceObserver; /** -@@ -6776,7 +6806,7 @@ interface PerformanceObserverEntryList { +@@ -6644,7 +6674,7 @@ interface PerformanceObserverEntryList { getEntriesByType(type: string): PerformanceEntryList; } @@ -2425,7 +2451,7 @@ prototype: PerformanceObserverEntryList; new (): PerformanceObserverEntryList; }; -@@ -6885,10 +6915,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { +@@ -6753,10 +6783,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON) */ @@ -2438,7 +2464,7 @@ prototype: PerformanceResourceTiming; new (): PerformanceResourceTiming; }; -@@ -6917,10 +6947,10 @@ interface PerformanceServerTiming { +@@ -6785,10 +6815,10 @@ interface PerformanceServerTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON) */ @@ -2451,7 +2477,7 @@ prototype: PerformanceServerTiming; new (): PerformanceServerTiming; }; -@@ -6940,7 +6970,7 @@ interface PermissionStatus extends EventTarget { +@@ -6808,7 +6838,7 @@ interface PermissionStatus extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */ @@ -2460,7 +2486,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state) -@@ -6948,7 +6978,10 @@ interface PermissionStatus extends EventTarget { +@@ -6816,7 +6846,10 @@ interface PermissionStatus extends EventTarget { readonly state: PermissionState; addEventListener( type: K, @@ -2472,7 +2498,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6958,7 +6991,10 @@ interface PermissionStatus extends EventTarget { +@@ -6826,7 +6859,10 @@ interface PermissionStatus extends EventTarget { ): void; removeEventListener( type: K, @@ -2484,7 +2510,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6968,7 +7004,7 @@ interface PermissionStatus extends EventTarget { +@@ -6836,7 +6872,7 @@ interface PermissionStatus extends EventTarget { ): void; } @@ -2493,7 +2519,7 @@ prototype: PermissionStatus; new (): PermissionStatus; }; -@@ -6982,7 +7018,7 @@ interface Permissions { +@@ -6850,7 +6886,7 @@ interface Permissions { query(permissionDesc: PermissionDescriptor): Promise; } @@ -2502,7 +2528,7 @@ prototype: Permissions; new (): Permissions; }; -@@ -7013,7 +7049,7 @@ interface ProgressEvent extends Event { +@@ -6881,7 +6917,7 @@ interface ProgressEvent extends Event { readonly total: number; } @@ -2511,7 +2537,7 @@ prototype: ProgressEvent; new (type: string, eventInitDict?: ProgressEventInit): ProgressEvent; }; -@@ -7027,15 +7063,15 @@ interface PromiseRejectionEvent extends Event { +@@ -6895,15 +6931,15 @@ interface PromiseRejectionEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */ @@ -2530,7 +2556,7 @@ prototype: PromiseRejectionEvent; new ( type: string, -@@ -7056,7 +7092,7 @@ interface PushEvent extends ExtendableEvent { +@@ -6924,7 +6960,7 @@ interface PushEvent extends ExtendableEvent { readonly data: PushMessageData | null; } @@ -2539,7 +2565,7 @@ prototype: PushEvent; new (type: string, eventInitDict?: PushEventInit): PushEvent; }; -@@ -7088,7 +7124,7 @@ interface PushManager { +@@ -6956,7 +6992,7 @@ interface PushManager { subscribe(options?: PushSubscriptionOptionsInit): Promise; } @@ -2548,7 +2574,7 @@ prototype: PushManager; new (): PushManager; /** -@@ -7119,7 +7155,7 @@ interface PushMessageData { +@@ -6987,7 +7023,7 @@ interface PushMessageData { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json) */ @@ -2557,7 +2583,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text) -@@ -7127,7 +7163,7 @@ interface PushMessageData { +@@ -6995,7 +7031,7 @@ interface PushMessageData { text(): string; } @@ -2566,7 +2592,7 @@ prototype: PushMessageData; new (): PushMessageData; }; -@@ -7171,7 +7207,7 @@ interface PushSubscription { +@@ -7039,7 +7075,7 @@ interface PushSubscription { unsubscribe(): Promise; } @@ -2575,7 +2601,7 @@ prototype: PushSubscription; new (): PushSubscription; }; -@@ -7195,7 +7231,7 @@ interface PushSubscriptionOptions { +@@ -7063,7 +7099,7 @@ interface PushSubscriptionOptions { readonly userVisibleOnly: boolean; } @@ -2584,7 +2610,7 @@ prototype: PushSubscriptionOptions; new (): PushSubscriptionOptions; }; -@@ -7222,7 +7258,7 @@ interface RTCEncodedAudioFrame { +@@ -7090,7 +7126,7 @@ interface RTCEncodedAudioFrame { getMetadata(): RTCEncodedAudioFrameMetadata; } @@ -2593,7 +2619,7 @@ prototype: RTCEncodedAudioFrame; new (): RTCEncodedAudioFrame; }; -@@ -7254,7 +7290,7 @@ interface RTCEncodedVideoFrame { +@@ -7122,7 +7158,7 @@ interface RTCEncodedVideoFrame { getMetadata(): RTCEncodedVideoFrameMetadata; } @@ -2602,7 +2628,7 @@ prototype: RTCEncodedVideoFrame; new (): RTCEncodedVideoFrame; }; -@@ -7268,7 +7304,7 @@ interface RTCRtpScriptTransformer extends EventTarget { +@@ -7136,7 +7172,7 @@ interface RTCRtpScriptTransformer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options) */ @@ -2611,7 +2637,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/readable) -@@ -7291,7 +7327,7 @@ interface RTCRtpScriptTransformer extends EventTarget { +@@ -7159,7 +7195,7 @@ interface RTCRtpScriptTransformer extends EventTarget { sendKeyFrameRequest(): Promise; } @@ -2620,7 +2646,7 @@ prototype: RTCRtpScriptTransformer; new (): RTCRtpScriptTransformer; }; -@@ -7305,7 +7341,7 @@ interface RTCTransformEvent extends Event { +@@ -7173,7 +7209,7 @@ interface RTCTransformEvent extends Event { readonly transformer: RTCRtpScriptTransformer; } @@ -2629,7 +2655,7 @@ prototype: RTCTransformEvent; new (): RTCTransformEvent; }; -@@ -7339,10 +7375,10 @@ interface ReadableByteStreamController { +@@ -7207,10 +7243,10 @@ interface ReadableByteStreamController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */ @@ -2642,7 +2668,7 @@ prototype: ReadableByteStreamController; new (): ReadableByteStreamController; }; -@@ -7354,7 +7390,7 @@ declare var ReadableByteStreamController: { +@@ -7222,7 +7258,7 @@ declare var ReadableByteStreamController: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream) */ @@ -2651,7 +2677,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) -@@ -7364,7 +7400,7 @@ interface ReadableStream { +@@ -7232,7 +7268,7 @@ interface ReadableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */ @@ -2660,7 +2686,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) -@@ -7395,17 +7431,17 @@ interface ReadableStream { +@@ -7263,17 +7299,17 @@ interface ReadableStream { tee(): [ReadableStream, ReadableStream]; } @@ -2681,7 +2707,7 @@ underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy, ): ReadableStream; -@@ -7430,7 +7466,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { +@@ -7298,7 +7334,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { releaseLock(): void; } @@ -2690,7 +2716,7 @@ prototype: ReadableStreamBYOBReader; new (stream: ReadableStream): ReadableStreamBYOBReader; }; -@@ -7457,7 +7493,7 @@ interface ReadableStreamBYOBRequest { +@@ -7325,7 +7361,7 @@ interface ReadableStreamBYOBRequest { respondWithNewView(view: ArrayBufferView): void; } @@ -2699,7 +2725,7 @@ prototype: ReadableStreamBYOBRequest; new (): ReadableStreamBYOBRequest; }; -@@ -7466,7 +7502,7 @@ declare var ReadableStreamBYOBRequest: { +@@ -7334,7 +7370,7 @@ declare var ReadableStreamBYOBRequest: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */ @@ -2708,7 +2734,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) -@@ -7486,10 +7522,10 @@ interface ReadableStreamDefaultController { +@@ -7354,10 +7390,10 @@ interface ReadableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */ @@ -2721,7 +2747,7 @@ prototype: ReadableStreamDefaultController; new (): ReadableStreamDefaultController; }; -@@ -7498,7 +7534,7 @@ declare var ReadableStreamDefaultController: { +@@ -7366,7 +7402,7 @@ declare var ReadableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */ @@ -2730,7 +2756,7 @@ extends ReadableStreamGenericReader { /** * [MDN -@@ -7512,9 +7548,9 @@ interface ReadableStreamDefaultReader +@@ -7380,9 +7416,9 @@ interface ReadableStreamDefaultReader releaseLock(): void; } @@ -2742,7 +2768,7 @@ }; interface ReadableStreamGenericReader { -@@ -7527,7 +7563,7 @@ interface ReadableStreamGenericReader { +@@ -7395,7 +7431,7 @@ interface ReadableStreamGenericReader { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */ @@ -2751,7 +2777,7 @@ } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) */ -@@ -7538,20 +7574,20 @@ interface Report { +@@ -7406,10 +7442,10 @@ interface Report { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) */ readonly url: string; @@ -2764,9 +2790,10 @@ prototype: Report; new (): Report; }; - - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ - interface ReportBody { +@@ -7420,10 +7456,10 @@ interface ReportBody { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ - toJSON(): any; + toJSON(): unknown; } @@ -2776,7 +2803,7 @@ prototype: ReportBody; new (): ReportBody; }; -@@ -7575,7 +7611,7 @@ interface ReportingObserver { +@@ -7447,7 +7483,7 @@ interface ReportingObserver { takeRecords(): ReportList; } @@ -2785,7 +2812,7 @@ prototype: ReportingObserver; new ( callback: ReportingObserverCallback, -@@ -7644,7 +7680,7 @@ interface Request extends Body { +@@ -7513,7 +7549,7 @@ interface Request extends Body { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method) */ @@ -2794,7 +2821,7 @@ /** * Returns the mode associated with request, which is a string indicating * whether the request will use CORS, or will be restricted to same-origin -@@ -7699,7 +7735,7 @@ interface Request extends Body { +@@ -7568,7 +7604,7 @@ interface Request extends Body { clone(): Request; } @@ -2803,7 +2830,7 @@ prototype: Request; new (input: RequestInfo | URL, init?: RequestInit): Request; }; -@@ -7737,7 +7773,7 @@ interface Response extends Body { +@@ -7606,7 +7642,7 @@ interface Response extends Body { clone(): Response; } @@ -2812,7 +2839,7 @@ prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; /** -@@ -7749,7 +7785,7 @@ declare var Response: { +@@ -7618,7 +7654,7 @@ declare var Response: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */ @@ -2821,7 +2848,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) -@@ -7827,7 +7863,7 @@ interface SecurityPolicyViolationEvent extends Event { +@@ -7696,7 +7732,7 @@ interface SecurityPolicyViolationEvent extends Event { readonly violatedDirective: string; } @@ -2830,7 +2857,7 @@ prototype: SecurityPolicyViolationEvent; new ( type: string, -@@ -7852,7 +7888,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7721,7 +7757,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */ @@ -2839,7 +2866,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL) -@@ -7867,11 +7903,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7736,11 +7772,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage) */ @@ -2854,7 +2881,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7881,7 +7917,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7750,7 +7786,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -2863,7 +2890,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7891,7 +7927,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7760,7 +7796,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; } @@ -2872,7 +2899,7 @@ prototype: ServiceWorker; new (): ServiceWorker; }; -@@ -7922,18 +7958,22 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7791,18 +7827,22 @@ interface ServiceWorkerContainer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */ @@ -2898,7 +2925,7 @@ | null; /** * [MDN -@@ -7970,7 +8010,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7839,7 +7879,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -2907,7 +2934,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7983,7 +8023,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7852,7 +7892,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -2916,7 +2943,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7993,7 +8033,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7862,7 +7902,7 @@ interface ServiceWorkerContainer extends EventTarget { ): void; } @@ -2925,7 +2952,7 @@ prototype: ServiceWorkerContainer; new (): ServiceWorkerContainer; }; -@@ -8028,59 +8068,59 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7897,59 +7937,59 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */ onactivate: @@ -2994,7 +3021,7 @@ | null; /** * [MDN -@@ -8102,7 +8142,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7971,7 +8011,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K], @@ -3003,7 +3030,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8115,7 +8155,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7984,7 +8024,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K], @@ -3012,7 +3039,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8125,7 +8165,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7994,7 +8034,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { ): void; } @@ -3021,7 +3048,7 @@ prototype: ServiceWorkerGlobalScope; new (): ServiceWorkerGlobalScope; }; -@@ -8162,7 +8202,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8031,7 +8071,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */ @@ -3032,7 +3059,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager) -@@ -8187,7 +8229,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8056,7 +8098,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/getNotifications) */ @@ -3043,7 +3070,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification) -@@ -8208,7 +8252,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8077,7 +8121,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -3052,7 +3079,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8221,7 +8265,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8090,7 +8134,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -3061,7 +3088,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8231,7 +8275,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8100,7 +8144,7 @@ interface ServiceWorkerRegistration extends EventTarget { ): void; } @@ -3070,7 +3097,7 @@ prototype: ServiceWorkerRegistration; new (): ServiceWorkerRegistration; }; -@@ -8258,7 +8302,9 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8127,7 +8171,9 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/connect_event) */ @@ -3081,7 +3108,7 @@ /** * Aborts sharedWorkerGlobal. * -@@ -8271,7 +8317,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8140,7 +8186,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K], @@ -3090,7 +3117,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8284,7 +8330,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8153,7 +8199,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K], @@ -3099,7 +3126,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8294,7 +8340,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8163,7 +8209,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { ): void; } @@ -3108,7 +3135,7 @@ prototype: SharedWorkerGlobalScope; new (): SharedWorkerGlobalScope; }; -@@ -8322,7 +8368,7 @@ interface StorageManager { +@@ -8191,7 +8237,7 @@ interface StorageManager { persisted(): Promise; } @@ -3117,7 +3144,7 @@ prototype: StorageManager; new (): StorageManager; }; -@@ -8346,7 +8392,7 @@ interface StylePropertyMapReadOnly { +@@ -8215,7 +8261,7 @@ interface StylePropertyMapReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll) */ @@ -3126,7 +3153,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has) -@@ -8354,15 +8400,15 @@ interface StylePropertyMapReadOnly { +@@ -8223,15 +8269,15 @@ interface StylePropertyMapReadOnly { has(property: string): boolean; forEach( callbackfn: ( @@ -3145,7 +3172,7 @@ prototype: StylePropertyMapReadOnly; new (): StylePropertyMapReadOnly; }; -@@ -8420,7 +8466,7 @@ interface SubtleCrypto { +@@ -8289,7 +8335,7 @@ interface SubtleCrypto { | HkdfParams | Pbkdf2Params, extractable: boolean, @@ -3154,7 +3181,7 @@ ): Promise; /** * [MDN -@@ -8479,7 +8525,7 @@ interface SubtleCrypto { +@@ -8348,7 +8394,7 @@ interface SubtleCrypto { generateKey( algorithm: AlgorithmIdentifier, extractable: boolean, @@ -3163,7 +3190,7 @@ ): Promise; /** * [MDN -@@ -8507,7 +8553,7 @@ interface SubtleCrypto { +@@ -8376,7 +8422,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -3172,7 +3199,7 @@ ): Promise; /** * [MDN -@@ -8539,7 +8585,7 @@ interface SubtleCrypto { +@@ -8408,7 +8454,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -3181,7 +3208,7 @@ ): Promise; /** * [MDN -@@ -8568,7 +8614,7 @@ interface SubtleCrypto { +@@ -8437,7 +8483,7 @@ interface SubtleCrypto { ): Promise; } @@ -3190,7 +3217,7 @@ prototype: SubtleCrypto; new (): SubtleCrypto; }; -@@ -8590,7 +8636,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -8459,7 +8505,7 @@ interface TextDecoder extends TextDecoderCommon { * invocation without options's stream (or set to false) has no input, it's * clearest to omit both arguments. * @@ -3199,7 +3226,7 @@ * decoder = new TextDecoder(encoding), * buffer; * while ((buffer = next_chunk())) { -@@ -8607,7 +8653,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -8476,7 +8522,7 @@ interface TextDecoder extends TextDecoderCommon { decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string; } @@ -3208,7 +3235,7 @@ prototype: TextDecoder; new (label?: string, options?: TextDecoderOptions): TextDecoder; }; -@@ -8642,7 +8688,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { +@@ -8511,7 +8557,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { readonly writable: WritableStream; } @@ -3217,7 +3244,7 @@ prototype: TextDecoderStream; new (label?: string, options?: TextDecoderOptions): TextDecoderStream; }; -@@ -8677,7 +8723,7 @@ interface TextEncoder extends TextEncoderCommon { +@@ -8546,7 +8592,7 @@ interface TextEncoder extends TextEncoderCommon { ): TextEncoderEncodeIntoResult; } @@ -3226,7 +3253,7 @@ prototype: TextEncoder; new (): TextEncoder; }; -@@ -8698,7 +8744,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { +@@ -8567,7 +8613,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { readonly writable: WritableStream; } @@ -3235,7 +3262,7 @@ prototype: TextEncoderStream; new (): TextEncoderStream; }; -@@ -8796,13 +8842,13 @@ interface TextMetrics { +@@ -8665,13 +8711,13 @@ interface TextMetrics { readonly width: number; } @@ -3251,7 +3278,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) -@@ -8815,9 +8861,9 @@ interface TransformStream { +@@ -8684,9 +8730,9 @@ interface TransformStream { readonly writable: WritableStream; } @@ -3263,7 +3290,7 @@ transformer?: Transformer, writableStrategy?: QueuingStrategy, readableStrategy?: QueuingStrategy, -@@ -8828,7 +8874,7 @@ declare var TransformStream: { +@@ -8697,7 +8743,7 @@ declare var TransformStream: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */ @@ -3272,7 +3299,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) -@@ -8843,7 +8889,7 @@ interface TransformStreamDefaultController { +@@ -8712,7 +8758,7 @@ interface TransformStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */ @@ -3281,7 +3308,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) -@@ -8851,7 +8897,7 @@ interface TransformStreamDefaultController { +@@ -8720,7 +8766,7 @@ interface TransformStreamDefaultController { terminate(): void; } @@ -3290,7 +3317,7 @@ prototype: TransformStreamDefaultController; new (): TransformStreamDefaultController; }; -@@ -8895,7 +8941,7 @@ interface URL { +@@ -8764,7 +8810,7 @@ interface URL { toJSON(): string; } @@ -3299,7 +3326,7 @@ prototype: URL; new (url: string | URL, base?: string | URL): URL; /** -@@ -8950,7 +8996,7 @@ interface URLSearchParams { +@@ -8824,7 +8870,7 @@ interface URLSearchParams { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll) */ @@ -3308,7 +3335,7 @@ /** * Returns a Boolean indicating if such a search parameter exists. * -@@ -8978,14 +9024,18 @@ interface URLSearchParams { +@@ -8852,14 +8898,18 @@ interface URLSearchParams { toString(): string; forEach( callbackfn: (value: string, key: string, parent: URLSearchParams) => void, @@ -3330,7 +3357,7 @@ ): URLSearchParams; }; -@@ -9018,7 +9068,7 @@ interface VideoColorSpace { +@@ -8892,7 +8942,7 @@ interface VideoColorSpace { toJSON(): VideoColorSpaceInit; } @@ -3339,16 +3366,16 @@ prototype: VideoColorSpace; new (init?: VideoColorSpaceInit): VideoColorSpace; }; -@@ -9038,7 +9088,7 @@ interface VideoDecoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) +@@ -8916,7 +8966,7 @@ interface VideoDecoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ - readonly decodeQueueSize: number; - ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; + ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) -@@ -9071,7 +9121,7 @@ interface VideoDecoder extends EventTarget { +@@ -8949,7 +8999,7 @@ interface VideoDecoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -3357,7 +3384,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -9081,7 +9131,7 @@ interface VideoDecoder extends EventTarget { +@@ -8959,7 +9009,7 @@ interface VideoDecoder extends EventTarget { ): void; removeEventListener( type: K, @@ -3366,7 +3393,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -9091,7 +9141,7 @@ interface VideoDecoder extends EventTarget { +@@ -8969,7 +9019,7 @@ interface VideoDecoder extends EventTarget { ): void; } @@ -3374,17 +3401,17 @@ +declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; - isConfigSupported(config: VideoDecoderConfig): Promise; -@@ -9112,7 +9162,7 @@ interface VideoEncoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) + /** +@@ -8998,7 +9048,7 @@ interface VideoEncoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ - readonly encodeQueueSize: number; - ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; + ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) -@@ -9141,7 +9191,7 @@ interface VideoEncoder extends EventTarget { +@@ -9031,7 +9081,7 @@ interface VideoEncoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -3393,7 +3420,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -9151,7 +9201,7 @@ interface VideoEncoder extends EventTarget { +@@ -9041,7 +9091,7 @@ interface VideoEncoder extends EventTarget { ): void; removeEventListener( type: K, @@ -3402,7 +3429,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -9161,7 +9211,7 @@ interface VideoEncoder extends EventTarget { +@@ -9051,7 +9101,7 @@ interface VideoEncoder extends EventTarget { ): void; } @@ -3410,8 +3437,8 @@ +declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; - isConfigSupported(config: VideoEncoderConfig): Promise; -@@ -9237,10 +9287,10 @@ interface VideoFrame { + /** +@@ -9135,10 +9185,10 @@ interface VideoFrame { copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -3424,7 +3451,7 @@ prototype: VideoFrame; new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame; new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame; -@@ -9265,7 +9315,7 @@ interface WEBGL_compressed_texture_astc { +@@ -9163,7 +9213,7 @@ interface WEBGL_compressed_texture_astc { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */ @@ -3433,7 +3460,7 @@ readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93b0; readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93b1; readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93b2; -@@ -9402,7 +9452,7 @@ interface WEBGL_draw_buffers { +@@ -9300,7 +9350,7 @@ interface WEBGL_draw_buffers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ @@ -3442,7 +3469,7 @@ readonly COLOR_ATTACHMENT0_WEBGL: 0x8ce0; readonly COLOR_ATTACHMENT1_WEBGL: 0x8ce1; readonly COLOR_ATTACHMENT2_WEBGL: 0x8ce2; -@@ -9464,11 +9514,11 @@ interface WEBGL_multi_draw { +@@ -9362,11 +9412,11 @@ interface WEBGL_multi_draw { */ multiDrawArraysInstancedWEBGL( mode: GLenum, @@ -3457,7 +3484,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -9478,9 +9528,9 @@ interface WEBGL_multi_draw { +@@ -9376,9 +9426,9 @@ interface WEBGL_multi_draw { */ multiDrawArraysWEBGL( mode: GLenum, @@ -3469,7 +3496,7 @@ countsOffset: number, drawcount: GLsizei, ): void; -@@ -9490,12 +9540,12 @@ interface WEBGL_multi_draw { +@@ -9388,12 +9438,12 @@ interface WEBGL_multi_draw { */ multiDrawElementsInstancedWEBGL( mode: GLenum, @@ -3485,7 +3512,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -9505,10 +9555,10 @@ interface WEBGL_multi_draw { +@@ -9403,10 +9453,10 @@ interface WEBGL_multi_draw { */ multiDrawElementsWEBGL( mode: GLenum, @@ -3498,7 +3525,7 @@ offsetsOffset: number, drawcount: GLsizei, ): void; -@@ -9523,7 +9573,7 @@ interface WebGL2RenderingContext +@@ -9421,7 +9471,7 @@ interface WebGL2RenderingContext WebGL2RenderingContextOverloads, WebGLRenderingContextBase {} @@ -3507,7 +3534,7 @@ prototype: WebGL2RenderingContext; new (): WebGL2RenderingContext; readonly READ_BUFFER: 0x0c02; -@@ -10340,7 +10390,7 @@ interface WebGL2RenderingContextBase { +@@ -10238,7 +10288,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */ @@ -3516,7 +3543,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) -@@ -10406,16 +10456,16 @@ interface WebGL2RenderingContextBase { +@@ -10304,16 +10354,16 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum, @@ -3536,7 +3563,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) -@@ -10436,7 +10486,7 @@ interface WebGL2RenderingContextBase { +@@ -10334,7 +10384,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */ @@ -3545,7 +3572,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) -@@ -10445,7 +10495,7 @@ interface WebGL2RenderingContextBase { +@@ -10343,7 +10393,7 @@ interface WebGL2RenderingContextBase { target: GLenum, internalformat: GLenum, pname: GLenum, @@ -3554,7 +3581,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) -@@ -10455,17 +10505,17 @@ interface WebGL2RenderingContextBase { +@@ -10353,17 +10403,17 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */ @@ -3575,7 +3602,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) -@@ -10485,20 +10535,20 @@ interface WebGL2RenderingContextBase { +@@ -10383,20 +10433,20 @@ interface WebGL2RenderingContextBase { */ getUniformIndices( program: WebGLProgram, @@ -3600,7 +3627,7 @@ x: GLint, y: GLint, width: GLsizei, -@@ -10691,7 +10741,7 @@ interface WebGL2RenderingContextBase { +@@ -10589,7 +10639,7 @@ interface WebGL2RenderingContextBase { */ transformFeedbackVaryings( program: WebGLProgram, @@ -3609,7 +3636,7 @@ bufferMode: GLenum, ): void; /** -@@ -11528,7 +11578,7 @@ interface WebGLActiveInfo { +@@ -11426,7 +11476,7 @@ interface WebGLActiveInfo { readonly type: GLenum; } @@ -3618,7 +3645,7 @@ prototype: WebGLActiveInfo; new (): WebGLActiveInfo; }; -@@ -11541,7 +11591,7 @@ declare var WebGLActiveInfo: { +@@ -11439,7 +11489,7 @@ declare var WebGLActiveInfo: { */ interface WebGLBuffer {} @@ -3627,7 +3654,7 @@ prototype: WebGLBuffer; new (): WebGLBuffer; }; -@@ -11561,7 +11611,7 @@ interface WebGLContextEvent extends Event { +@@ -11459,7 +11509,7 @@ interface WebGLContextEvent extends Event { readonly statusMessage: string; } @@ -3636,7 +3663,7 @@ prototype: WebGLContextEvent; new (type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent; }; -@@ -11574,7 +11624,7 @@ declare var WebGLContextEvent: { +@@ -11472,7 +11522,7 @@ declare var WebGLContextEvent: { */ interface WebGLFramebuffer {} @@ -3645,7 +3672,7 @@ prototype: WebGLFramebuffer; new (): WebGLFramebuffer; }; -@@ -11588,7 +11638,7 @@ declare var WebGLFramebuffer: { +@@ -11486,7 +11536,7 @@ declare var WebGLFramebuffer: { */ interface WebGLProgram {} @@ -3654,7 +3681,7 @@ prototype: WebGLProgram; new (): WebGLProgram; }; -@@ -11596,7 +11646,7 @@ declare var WebGLProgram: { +@@ -11494,7 +11544,7 @@ declare var WebGLProgram: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery) */ interface WebGLQuery {} @@ -3663,7 +3690,7 @@ prototype: WebGLQuery; new (): WebGLQuery; }; -@@ -11609,7 +11659,7 @@ declare var WebGLQuery: { +@@ -11507,7 +11557,7 @@ declare var WebGLQuery: { */ interface WebGLRenderbuffer {} @@ -3672,7 +3699,7 @@ prototype: WebGLRenderbuffer; new (): WebGLRenderbuffer; }; -@@ -11625,7 +11675,7 @@ interface WebGLRenderingContext +@@ -11523,7 +11573,7 @@ interface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {} @@ -3681,7 +3708,7 @@ prototype: WebGLRenderingContext; new (): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; -@@ -12263,7 +12313,7 @@ interface WebGLRenderingContextBase { +@@ -12165,7 +12215,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttachedShaders) */ @@ -3690,7 +3717,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttribLocation) -@@ -12273,7 +12323,7 @@ interface WebGLRenderingContextBase { +@@ -12175,7 +12225,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */ @@ -3699,7 +3726,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) -@@ -12372,7 +12422,7 @@ interface WebGLRenderingContextBase { +@@ -12274,7 +12324,7 @@ interface WebGLRenderingContextBase { getExtension(extensionName: 'WEBGL_draw_buffers'): WEBGL_draw_buffers | null; getExtension(extensionName: 'WEBGL_lose_context'): WEBGL_lose_context | null; getExtension(extensionName: 'WEBGL_multi_draw'): WEBGL_multi_draw | null; @@ -3708,7 +3735,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) -@@ -12381,12 +12431,12 @@ interface WebGLRenderingContextBase { +@@ -12283,12 +12333,12 @@ interface WebGLRenderingContextBase { target: GLenum, attachment: GLenum, pname: GLenum, @@ -3723,7 +3750,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) -@@ -12396,12 +12446,12 @@ interface WebGLRenderingContextBase { +@@ -12298,12 +12348,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */ @@ -3738,7 +3765,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) -@@ -12411,7 +12461,7 @@ interface WebGLRenderingContextBase { +@@ -12313,7 +12363,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */ @@ -3747,7 +3774,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) -@@ -12429,17 +12479,17 @@ interface WebGLRenderingContextBase { +@@ -12331,17 +12381,17 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getSupportedExtensions) */ @@ -3768,7 +3795,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) -@@ -12452,7 +12502,7 @@ interface WebGLRenderingContextBase { +@@ -12354,7 +12404,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */ @@ -3777,7 +3804,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) -@@ -13211,7 +13261,7 @@ interface WebGLRenderingContextOverloads { +@@ -13113,7 +13163,7 @@ interface WebGLRenderingContextOverloads { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler) */ interface WebGLSampler {} @@ -3786,7 +3813,7 @@ prototype: WebGLSampler; new (): WebGLSampler; }; -@@ -13224,7 +13274,7 @@ declare var WebGLSampler: { +@@ -13126,7 +13176,7 @@ declare var WebGLSampler: { */ interface WebGLShader {} @@ -3795,7 +3822,7 @@ prototype: WebGLShader; new (): WebGLShader; }; -@@ -13254,7 +13304,7 @@ interface WebGLShaderPrecisionFormat { +@@ -13156,7 +13206,7 @@ interface WebGLShaderPrecisionFormat { readonly rangeMin: GLint; } @@ -3804,7 +3831,7 @@ prototype: WebGLShaderPrecisionFormat; new (): WebGLShaderPrecisionFormat; }; -@@ -13262,7 +13312,7 @@ declare var WebGLShaderPrecisionFormat: { +@@ -13164,7 +13214,7 @@ declare var WebGLShaderPrecisionFormat: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync) */ interface WebGLSync {} @@ -3813,7 +3840,7 @@ prototype: WebGLSync; new (): WebGLSync; }; -@@ -13275,7 +13325,7 @@ declare var WebGLSync: { +@@ -13177,7 +13227,7 @@ declare var WebGLSync: { */ interface WebGLTexture {} @@ -3822,7 +3849,7 @@ prototype: WebGLTexture; new (): WebGLTexture; }; -@@ -13286,7 +13336,7 @@ declare var WebGLTexture: { +@@ -13188,7 +13238,7 @@ declare var WebGLTexture: { */ interface WebGLTransformFeedback {} @@ -3831,7 +3858,7 @@ prototype: WebGLTransformFeedback; new (): WebGLTransformFeedback; }; -@@ -13300,7 +13350,7 @@ declare var WebGLTransformFeedback: { +@@ -13202,7 +13252,7 @@ declare var WebGLTransformFeedback: { */ interface WebGLUniformLocation {} @@ -3840,7 +3867,7 @@ prototype: WebGLUniformLocation; new (): WebGLUniformLocation; }; -@@ -13311,7 +13361,7 @@ declare var WebGLUniformLocation: { +@@ -13213,7 +13263,7 @@ declare var WebGLUniformLocation: { */ interface WebGLVertexArrayObject {} @@ -3849,7 +3876,7 @@ prototype: WebGLVertexArrayObject; new (): WebGLVertexArrayObject; }; -@@ -13370,22 +13420,22 @@ interface WebSocket extends EventTarget { +@@ -13272,22 +13322,22 @@ interface WebSocket extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */ @@ -3876,7 +3903,7 @@ /** * Returns the subprotocol selected by the server, if any. It can be used in * conjunction with the array form of the constructor's second argument to -@@ -13430,7 +13480,7 @@ interface WebSocket extends EventTarget { +@@ -13332,7 +13382,7 @@ interface WebSocket extends EventTarget { readonly CLOSED: 3; addEventListener( type: K, @@ -3885,7 +3912,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13440,7 +13490,7 @@ interface WebSocket extends EventTarget { +@@ -13342,7 +13392,7 @@ interface WebSocket extends EventTarget { ): void; removeEventListener( type: K, @@ -3894,7 +3921,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13450,9 +13500,9 @@ interface WebSocket extends EventTarget { +@@ -13352,9 +13402,9 @@ interface WebSocket extends EventTarget { ): void; } @@ -3906,7 +3933,7 @@ readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; -@@ -13511,7 +13561,7 @@ interface WebTransport { +@@ -13413,7 +13463,7 @@ interface WebTransport { ): Promise; } @@ -3915,7 +3942,7 @@ prototype: WebTransport; new (url: string | URL, options?: WebTransportOptions): WebTransport; }; -@@ -13535,7 +13585,7 @@ interface WebTransportBidirectionalStream { +@@ -13437,7 +13487,7 @@ interface WebTransportBidirectionalStream { readonly writable: WritableStream; } @@ -3924,7 +3951,7 @@ prototype: WebTransportBidirectionalStream; new (): WebTransportBidirectionalStream; }; -@@ -13584,7 +13634,7 @@ interface WebTransportDatagramDuplexStream { +@@ -13486,7 +13536,7 @@ interface WebTransportDatagramDuplexStream { readonly writable: WritableStream; } @@ -3933,7 +3960,7 @@ prototype: WebTransportDatagramDuplexStream; new (): WebTransportDatagramDuplexStream; }; -@@ -13607,7 +13657,7 @@ interface WebTransportError extends DOMException { +@@ -13509,7 +13559,7 @@ interface WebTransportError extends DOMException { readonly streamErrorCode: number | null; } @@ -3942,7 +3969,7 @@ prototype: WebTransportError; new (message?: string, options?: WebTransportErrorOptions): WebTransportError; }; -@@ -13643,7 +13693,7 @@ interface WindowClient extends Client { +@@ -13545,7 +13595,7 @@ interface WindowClient extends Client { navigate(url: string | URL): Promise; } @@ -3951,7 +3978,7 @@ prototype: WindowClient; new (): WindowClient; }; -@@ -13702,21 +13752,24 @@ interface WindowOrWorkerGlobalScope { +@@ -13610,21 +13660,24 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -3980,7 +4007,7 @@ } interface WorkerEventMap extends AbstractWorkerEventMap { -@@ -13737,12 +13790,12 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13645,12 +13698,12 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/message_event) */ @@ -3995,7 +4022,7 @@ /** * Clones message and transmits it to worker's global environment. transfer * can be passed as a list of objects that are to be transferred rather than -@@ -13751,8 +13804,8 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13659,8 +13712,8 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage) */ @@ -4006,7 +4033,7 @@ /** * Aborts worker's associated global environment. * -@@ -13762,7 +13815,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13670,7 +13723,7 @@ interface Worker extends EventTarget, AbstractWorker { terminate(): void; addEventListener( type: K, @@ -4015,7 +4042,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13772,7 +13825,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13680,7 +13733,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -4024,7 +4051,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13782,7 +13835,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13690,7 +13743,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; } @@ -4033,7 +4060,7 @@ prototype: Worker; new (scriptURL: string | URL, options?: WorkerOptions): Worker; }; -@@ -13827,27 +13880,27 @@ interface WorkerGlobalScope +@@ -13735,35 +13788,35 @@ interface WorkerGlobalScope * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/error_event) */ @@ -4057,17 +4084,25 @@ */ - ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null; + ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: - | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) + | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: - | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) + | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; /** * Returns workerGlobal. -@@ -13869,7 +13922,7 @@ interface WorkerGlobalScope +@@ -13785,7 +13838,7 @@ interface WorkerGlobalScope listener: ( this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K], @@ -4076,7 +4111,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13882,7 +13935,7 @@ interface WorkerGlobalScope +@@ -13798,7 +13851,7 @@ interface WorkerGlobalScope listener: ( this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K], @@ -4085,7 +4120,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13892,7 +13945,7 @@ interface WorkerGlobalScope +@@ -13808,7 +13861,7 @@ interface WorkerGlobalScope ): void; } @@ -4094,7 +4129,7 @@ prototype: WorkerGlobalScope; new (): WorkerGlobalScope; }; -@@ -13953,7 +14006,7 @@ interface WorkerLocation { +@@ -13869,7 +13922,7 @@ interface WorkerLocation { readonly search: string; } @@ -4103,7 +4138,7 @@ prototype: WorkerLocation; new (): WorkerLocation; }; -@@ -13986,7 +14039,7 @@ interface WorkerNavigator +@@ -13902,7 +13955,7 @@ interface WorkerNavigator readonly permissions: Permissions; } @@ -4112,7 +4147,7 @@ prototype: WorkerNavigator; new (): WorkerNavigator; }; -@@ -13998,7 +14051,7 @@ declare var WorkerNavigator: { +@@ -13914,7 +13967,7 @@ declare var WorkerNavigator: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream) */ @@ -4121,7 +4156,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) -@@ -14008,7 +14061,7 @@ interface WritableStream { +@@ -13924,7 +13977,7 @@ interface WritableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */ @@ -4130,7 +4165,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) -@@ -14021,9 +14074,9 @@ interface WritableStream { +@@ -13937,9 +13990,9 @@ interface WritableStream { getWriter(): WritableStreamDefaultWriter; } @@ -4142,7 +4177,7 @@ underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy, ): WritableStream; -@@ -14048,10 +14101,10 @@ interface WritableStreamDefaultController { +@@ -13964,10 +14017,10 @@ interface WritableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */ @@ -4155,7 +4190,7 @@ prototype: WritableStreamDefaultController; new (): WritableStreamDefaultController; }; -@@ -14065,7 +14118,7 @@ declare var WritableStreamDefaultController: { +@@ -13981,7 +14034,7 @@ declare var WritableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter) */ @@ -4164,7 +4199,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) -@@ -14085,7 +14138,7 @@ interface WritableStreamDefaultWriter { +@@ -14001,7 +14054,7 @@ interface WritableStreamDefaultWriter { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */ @@ -4173,7 +4208,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) -@@ -14103,9 +14156,9 @@ interface WritableStreamDefaultWriter { +@@ -14019,9 +14072,9 @@ interface WritableStreamDefaultWriter { write(chunk?: W): Promise; } @@ -4185,7 +4220,7 @@ }; interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { -@@ -14125,7 +14178,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14041,7 +14094,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */ @@ -4194,7 +4229,7 @@ /** * Returns client's state. * -@@ -14139,7 +14192,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14055,7 +14108,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response) */ @@ -4203,7 +4238,7 @@ /** * Returns response as text. * -@@ -14251,9 +14304,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14167,9 +14220,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open) */ @@ -4215,7 +4250,7 @@ url: string | URL, async: boolean, username?: string | null, -@@ -14300,7 +14353,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14216,7 +14269,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { readonly DONE: 4; addEventListener( type: K, @@ -4224,7 +4259,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14310,7 +14363,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14226,7 +14279,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; removeEventListener( type: K, @@ -4233,7 +4268,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14320,7 +14373,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14236,7 +14289,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; } @@ -4242,7 +4277,7 @@ prototype: XMLHttpRequest; new (): XMLHttpRequest; readonly UNSENT: 0; -@@ -14345,19 +14398,19 @@ interface XMLHttpRequestEventTargetEventMap { +@@ -14261,19 +14314,19 @@ interface XMLHttpRequestEventTargetEventMap { * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget) */ interface XMLHttpRequestEventTarget extends EventTarget { @@ -4270,7 +4305,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14370,7 +14423,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -14286,7 +14339,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { listener: ( this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4279,7 +4314,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14380,7 +14433,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -14296,7 +14349,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { ): void; } @@ -4288,7 +4323,7 @@ prototype: XMLHttpRequestEventTarget; new (): XMLHttpRequestEventTarget; }; -@@ -14395,7 +14448,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14311,7 +14364,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4297,7 +4332,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14408,7 +14461,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14324,7 +14377,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4306,7 +4341,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14418,7 +14471,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14334,7 +14387,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { ): void; } @@ -4315,7 +4350,7 @@ prototype: XMLHttpRequestUpload; new (): XMLHttpRequestUpload; }; -@@ -14429,7 +14482,7 @@ interface Console { +@@ -14345,7 +14398,7 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */ @@ -4324,7 +4359,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) -@@ -14449,32 +14502,32 @@ interface Console { +@@ -14365,32 +14418,32 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ @@ -4356,14 +4391,14 @@ + group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ - groupCollapsed(...data: any[]): void; + groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) -@@ -14484,17 +14537,17 @@ interface Console { + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) +@@ -14400,17 +14453,17 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ @@ -4384,9 +4419,9 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) -@@ -14509,26 +14562,26 @@ interface Console { +@@ -14425,26 +14478,26 @@ interface Console { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ - timeLog(label?: string, ...data: any[]): void; + timeLog(label?: string, ...data: readonly unknown[]): void; @@ -4416,7 +4451,7 @@ prototype: CompileError; new (message?: string): CompileError; (message?: string): CompileError; -@@ -14551,7 +14604,7 @@ declare namespace WebAssembly { +@@ -14459,7 +14512,7 @@ declare namespace WebAssembly { valueOf(): ValueTypeMap[T]; } @@ -4425,7 +4460,7 @@ prototype: Global; new ( descriptor: GlobalDescriptor, -@@ -14571,14 +14624,14 @@ declare namespace WebAssembly { +@@ -14479,14 +14532,14 @@ declare namespace WebAssembly { readonly exports: Exports; } @@ -4442,7 +4477,7 @@ prototype: LinkError; new (message?: string): LinkError; (message?: string): LinkError; -@@ -14601,7 +14654,7 @@ declare namespace WebAssembly { +@@ -14509,7 +14562,7 @@ declare namespace WebAssembly { grow(delta: number): number; } @@ -4451,7 +4486,7 @@ prototype: Memory; new (descriptor: MemoryDescriptor): Memory; }; -@@ -14612,29 +14665,32 @@ declare namespace WebAssembly { +@@ -14520,29 +14573,32 @@ declare namespace WebAssembly { */ interface Module {} @@ -4489,7 +4524,7 @@ prototype: RuntimeError; new (message?: string): RuntimeError; (message?: string): RuntimeError; -@@ -14654,22 +14710,22 @@ declare namespace WebAssembly { +@@ -14562,22 +14618,22 @@ declare namespace WebAssembly { * [MDN * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */ @@ -4517,7 +4552,7 @@ }; interface GlobalDescriptor { -@@ -14702,7 +14758,7 @@ declare namespace WebAssembly { +@@ -14610,7 +14666,7 @@ declare namespace WebAssembly { interface ValueTypeMap { anyfunc: Function; @@ -4526,7 +4561,7 @@ f32: number; f64: number; i32: number; -@@ -14771,7 +14827,7 @@ interface FrameRequestCallback { +@@ -14679,7 +14735,7 @@ interface FrameRequestCallback { } interface LockGrantedCallback { @@ -4535,7 +4570,7 @@ } interface OnErrorEventHandlerNonNull { -@@ -14781,19 +14837,19 @@ interface OnErrorEventHandlerNonNull { +@@ -14689,19 +14745,19 @@ interface OnErrorEventHandlerNonNull { lineno?: number, colno?: number, error?: Error, @@ -4558,7 +4593,7 @@ } interface TransformerFlushCallback { -@@ -14801,7 +14857,7 @@ interface TransformerFlushCallback { +@@ -14709,7 +14765,7 @@ interface TransformerFlushCallback { } interface TransformerStartCallback { @@ -4567,7 +4602,7 @@ } interface TransformerTransformCallback { -@@ -14812,7 +14868,7 @@ interface TransformerTransformCallback { +@@ -14720,7 +14776,7 @@ interface TransformerTransformCallback { } interface UnderlyingSinkAbortCallback { @@ -4576,7 +4611,7 @@ } interface UnderlyingSinkCloseCallback { -@@ -14820,7 +14876,7 @@ interface UnderlyingSinkCloseCallback { +@@ -14728,7 +14784,7 @@ interface UnderlyingSinkCloseCallback { } interface UnderlyingSinkStartCallback { @@ -4585,7 +4620,7 @@ } interface UnderlyingSinkWriteCallback { -@@ -14831,7 +14887,7 @@ interface UnderlyingSinkWriteCallback { +@@ -14739,7 +14795,7 @@ interface UnderlyingSinkWriteCallback { } interface UnderlyingSourceCancelCallback { @@ -4594,7 +4629,7 @@ } interface UnderlyingSourcePullCallback { -@@ -14839,7 +14895,7 @@ interface UnderlyingSourcePullCallback { +@@ -14747,7 +14803,7 @@ interface UnderlyingSourcePullCallback { } interface UnderlyingSourceStartCallback { @@ -4603,7 +4638,7 @@ } interface VideoFrameOutputCallback { -@@ -14861,27 +14917,27 @@ interface WebCodecsErrorCallback { +@@ -14769,27 +14825,27 @@ interface WebCodecsErrorCallback { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name) */ @@ -4638,7 +4673,7 @@ | null; /** * Aborts dedicatedWorkerGlobal. -@@ -14898,9 +14954,12 @@ declare function close(): void; +@@ -14806,9 +14862,12 @@ declare function close(): void; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage) */ @@ -4653,7 +4688,7 @@ options?: StructuredSerializeOptions, ): void; /** -@@ -14918,47 +14977,47 @@ declare function dispatchEvent(event: Event): boolean; +@@ -14826,55 +14885,55 @@ declare function dispatchEvent(event: Event): boolean; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location) */ @@ -4703,11 +4738,19 @@ +declare const ononline: + | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ -declare var onrejectionhandled: - | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) +declare const onrejectionhandled: + | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ -declare var onunhandledrejection: - | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) +declare const onunhandledrejection: @@ -4715,7 +4758,7 @@ | null; /** * Returns workerGlobal. -@@ -14966,7 +15025,7 @@ declare var onunhandledrejection: +@@ -14882,7 +14941,7 @@ declare var onunhandledrejection: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ @@ -4724,7 +4767,7 @@ /** * Fetches each URL in urls, executes them one-by-one in the order they are * passed, and then returns (or throws if something went amiss). -@@ -14985,31 +15044,31 @@ declare function importScripts(...urls: (string | URL)[]): void; +@@ -14901,34 +14960,34 @@ declare function importScripts(...urls: (string | URL)[]): void; */ declare function dispatchEvent(event: Event): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fonts) */ @@ -4733,38 +4776,41 @@ /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ -declare var caches: CacheStorage; +declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ -declare var crossOriginIsolated: boolean; +declare const crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ -declare var crypto: Crypto; +declare const crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ -declare var indexedDB: IDBFactory; +declare const indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ -declare var isSecureContext: boolean; +declare const isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ -declare var origin: string; +declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ -declare var performance: Performance; +declare const performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ -@@ -15039,21 +15098,21 @@ declare function fetch( + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ +@@ -14958,21 +15017,21 @@ declare function fetch( /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -4790,7 +4836,7 @@ value: T, options?: StructuredSerializeOptions, ): T; -@@ -15074,7 +15133,7 @@ declare function addEventListener< +@@ -14993,7 +15052,7 @@ declare function addEventListener< listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -4799,7 +4845,7 @@ options?: boolean | AddEventListenerOptions, ): void; declare function addEventListener( -@@ -15089,7 +15148,7 @@ declare function removeEventListener< +@@ -15008,7 +15067,7 @@ declare function removeEventListener< listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -4808,7 +4854,7 @@ options?: boolean | EventListenerOptions, ): void; declare function removeEventListener( -@@ -15113,7 +15172,7 @@ type DOMHighResTimeStamp = number; +@@ -15032,7 +15091,7 @@ type DOMHighResTimeStamp = number; type EpochTimeStamp = number; type EventListenerOrEventListenerObject = EventListener | EventListenerObject; type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams; @@ -4817,7 +4863,7 @@ type FormDataEntryValue = File | string; type GLbitfield = number; type GLboolean = boolean; -@@ -15128,10 +15187,18 @@ type GLsizeiptr = number; +@@ -15047,10 +15106,18 @@ type GLsizeiptr = number; type GLuint = number; type GLuint64 = number; type HashAlgorithmIdentifier = AlgorithmIdentifier; @@ -4839,7 +4885,7 @@ type MessageEventSource = MessagePort | ServiceWorker; type NamedCurve = string; type OffscreenRenderingContext = -@@ -15140,7 +15207,7 @@ type OffscreenRenderingContext = +@@ -15059,7 +15126,7 @@ type OffscreenRenderingContext = | WebGLRenderingContext | WebGL2RenderingContext; type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; @@ -4848,7 +4894,7 @@ type PushMessageDataInit = BufferSource | string; type ReadableStreamController = | ReadableStreamDefaultController -@@ -15151,7 +15218,7 @@ type ReadableStreamReadResult = +@@ -15070,7 +15137,7 @@ type ReadableStreamReadResult = type ReadableStreamReader = | ReadableStreamDefaultReader | ReadableStreamBYOBReader; @@ -4857,7 +4903,7 @@ type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -@@ -15164,7 +15231,7 @@ type Transferable = +@@ -15084,7 +15151,7 @@ type Transferable = | TransformStream | VideoFrame | ArrayBuffer; diff --git a/packages/strict-ts-lib/output-branded/diff/lib.webworker.iterable.diff b/packages/strict-ts-lib/output-branded/diff/lib.webworker.iterable.diff index 3085b6159e..d6328e49ce 100644 --- a/packages/strict-ts-lib/output-branded/diff/lib.webworker.iterable.diff +++ b/packages/strict-ts-lib/output-branded/diff/lib.webworker.iterable.diff @@ -19,68 +19,66 @@ ///////////////////////////// /// Worker Iterable APIs -@@ -21,21 +7,21 @@ and limitations under the License. +@@ -29,21 +15,21 @@ interface AbortSignal { interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSNumericValue]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSNumericValue]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSTransformComponent]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSTransformComponent]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSUnparsedSegment]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSUnparsedSegment]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; + } +@@ -91,9 +77,9 @@ interface FormDataIterator } -@@ -78,9 +64,9 @@ interface FileList { - interface FontFaceSet extends Set {} interface FormData { -- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; ++ [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[string, FormDataEntryValue]>; -+ entries(): IterableIterator; +- entries(): FormDataIterator<[string, FormDataEntryValue]>; ++ entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ -@@ -88,12 +74,12 @@ interface FormData { +@@ -106,12 +92,12 @@ interface HeadersIterator } interface Headers { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): HeadersIterator<[string, string]>; ++ [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): HeadersIterator<[string, string]>; ++ entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. -@@ -141,7 +127,7 @@ interface IDBObjectStore { +@@ -159,13 +145,13 @@ interface IDBObjectStore { ): IDBIndex; } -interface MessageEvent { +interface MessageEvent { - /** - * @deprecated - * -@@ -152,7 +138,7 @@ interface MessageEvent { + /** @deprecated */ + initMessageEvent( type: string, bubbles?: boolean, cancelable?: boolean, @@ -89,32 +87,32 @@ origin?: string, lastEventId?: string, source?: MessageEventSource | null, -@@ -161,8 +147,10 @@ interface MessageEvent { - } +@@ -180,10 +166,10 @@ interface StylePropertyMapReadOnlyIterator interface StylePropertyMapReadOnly { -- [Symbol.iterator](): IterableIterator<[string, Iterable]>; -- entries(): IterableIterator<[string, Iterable]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< +- [string, Iterable] + readonly [string, Iterable] -+ >; -+ entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; - } -@@ -266,9 +254,9 @@ interface SubtleCrypto { + >; + entries(): StylePropertyMapReadOnlyIterator< +- [string, Iterable] ++ readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; +@@ -293,9 +279,9 @@ interface URLSearchParamsIterator } interface URLSearchParams { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; ++ [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): URLSearchParamsIterator<[string, string]>; ++ entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ -@@ -384,7 +372,7 @@ interface WebGL2RenderingContextBase { +@@ -411,7 +397,7 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformIndices: Iterable, pname: GLenum, diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.asynciterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.asynciterable.d.ts index 1217ef100d..3158cd9aca 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.asynciterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.asynciterable.d.ts @@ -5,11 +5,32 @@ /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.d.ts index 0e7bfa1b0e..c26afd403c 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.d.ts @@ -204,6 +204,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -270,6 +273,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -559,6 +566,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -572,6 +581,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: readonly ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -661,10 +675,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -838,6 +848,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1194,6 +1208,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: unknown; } @@ -1385,11 +1403,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1520,7 +1533,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: readonly RTCRtpCodecCapability[]; + codecs: readonly RTCRtpCodec[]; headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } @@ -1531,8 +1544,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1647,6 +1658,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1805,21 +1831,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2298,6 +2325,16 @@ interface ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) + */ + ariaBrailleLabel: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) + */ + ariaBrailleRoleDescription: string | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) @@ -2570,6 +2607,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -3409,10 +3451,6 @@ declare const AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) - */ automationRate: AutomationRate; /** * [MDN @@ -3969,7 +4007,12 @@ declare const BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: unknown; } @@ -4475,7 +4518,7 @@ interface CSSImportRule extends CSSRule { readonly media: MediaList; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** @@ -4913,7 +4956,7 @@ interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** @@ -5052,6 +5095,25 @@ declare const CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) + */ + readonly end: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) + */ + readonly start: string | null; +} + +declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -5087,6 +5149,17 @@ declare const CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) + */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and * various style-related methods and properties. @@ -5210,7 +5283,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -5506,6 +5578,10 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) + */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -5541,20 +5617,12 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) - */ containIntrinsicBlockSize: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) - */ containIntrinsicInlineSize: string; /** * [MDN @@ -5574,6 +5642,11 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) + */ + contentVisibility: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) @@ -6334,6 +6407,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -6351,6 +6428,11 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) + */ + transitionBehavior: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) @@ -6380,6 +6462,11 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) + */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -6624,8 +6711,10 @@ interface CSSStyleDeclaration { */ webkitJustifyContent: string; /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ webkitLineClamp: string; /** @@ -6824,6 +6913,11 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) + */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -6842,6 +6936,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) @@ -7753,6 +7849,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -8092,6 +8193,11 @@ declare const ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) + */ + readonly presentationStyle: PresentationStyle; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) @@ -8110,6 +8216,11 @@ declare const ClipboardItem: { items: Record>, options?: ClipboardItemOptions, ): ClipboardItem; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) + */ + supports(type: string): boolean; }; /** @@ -8246,6 +8357,26 @@ declare const ConstantSourceNode: { ): ConstantSourceNode; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) + */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) + */ + readonly skipped: boolean; +} + +declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, + eventInitDict?: ContentVisibilityAutoStateChangeEventInit, + ): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often * used to achieve a reverb effect. A ConvolverNode always has exactly one input @@ -8481,6 +8612,19 @@ declare const CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, + thisArg?: unknown, + ): void; +} + +declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a * method or accessing a property of a web API. @@ -8642,20 +8786,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -8686,165 +8822,45 @@ declare const WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -8858,48 +8874,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -8998,10 +8985,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -9022,18 +9005,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -9061,6 +9036,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -10066,12 +10045,7 @@ interface Document * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -10207,6 +10181,9 @@ interface Document createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent( + eventInterface: 'ContentVisibilityAutoStateChangeEvent', + ): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -10267,6 +10244,7 @@ interface Document createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -10521,9 +10499,6 @@ interface Document * the indeterminate state. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -10553,24 +10528,21 @@ interface Document * the given command. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) + */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -10614,6 +10586,11 @@ interface Document declare const Document: { prototype: Document; new (): Document; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) + */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -10926,7 +10903,6 @@ interface Element ARIAMixin, Animatable, ChildNode, - InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { @@ -10978,6 +10954,11 @@ interface Element * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) + */ + innerHTML: string; /** * Returns the local name. * @@ -11182,6 +11163,8 @@ interface Element namespace: string | null, localName: string, ): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is * qualifiedName, and false otherwise. @@ -11222,7 +11205,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) @@ -11278,7 +11261,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -11329,6 +11312,11 @@ interface Element * Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) @@ -11379,6 +11367,10 @@ declare const Element: { }; interface ElementCSSInlineStyle { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) + */ readonly attributeStyleMap: StylePropertyMap; /** * [MDN @@ -11435,6 +11427,11 @@ interface ElementInternals extends ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) + */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's * target element was to be checked for validity. @@ -11550,30 +11547,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -11930,25 +11907,11 @@ declare const EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -12657,7 +12620,7 @@ declare const GainNode: { /** * This Gamepad API interface defines an individual gamepad or other controller, * allowing access to information such as button presses, axis positions, and - * id. Available only in secure contexts. + * id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -12682,7 +12645,11 @@ interface Gamepad { * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) + */ + readonly vibrationActuator: GamepadHapticActuator; } declare const Gamepad: { @@ -12693,7 +12660,6 @@ declare const Gamepad: { /** * An individual button of a gamepad or other controller, allowing access to the * current state of different types of buttons available on the control device. - * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -12723,8 +12689,7 @@ declare const GamepadButton: { /** * This Gamepad API interface contains references to gamepads connected to the * system, which is what the gamepad events Window.gamepadconnected and - * Window.gamepaddisconnected are fired in response to. Available only in secure - * contexts. + * Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -12752,9 +12717,8 @@ declare const GamepadEvent: { interface GamepadHapticActuator { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) + * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ - readonly type: GamepadHapticActuatorType; playEffect( type: GamepadHapticEffectType, params?: GamepadEffectParameters, @@ -12860,6 +12824,11 @@ interface GeolocationCoordinates { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ + toJSON(): unknown; } declare const GeolocationCoordinates: { @@ -12884,6 +12853,11 @@ interface GeolocationPosition { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ + toJSON(): unknown; } declare const GeolocationPosition: { @@ -12938,7 +12912,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -13089,7 +13065,7 @@ interface GlobalEventHandlers { onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** @@ -13129,6 +13105,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. @@ -13141,6 +13122,11 @@ interface GlobalEventHandlers { oncontextmenu: | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -13366,7 +13352,7 @@ interface GlobalEventHandlers { onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: | ((this: GlobalEventHandlers, ev: PointerEvent) => unknown) @@ -13850,18 +13836,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** @@ -13880,11 +13860,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) + */ ping: string; /** * [MDN @@ -13909,18 +13890,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * of the link. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -13977,34 +13952,21 @@ declare const HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) - */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) + */ ping: string; /** * [MDN @@ -14021,12 +13983,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14113,9 +14070,6 @@ interface HTMLBRElement extends HTMLElement { * positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener( @@ -14152,12 +14106,7 @@ declare const HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14204,47 +14153,17 @@ interface HTMLBodyElementEventMap * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener( type: K, @@ -14291,64 +14210,37 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -14362,32 +14254,18 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) */ readonly willValidate: boolean; /** @@ -14395,10 +14273,6 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -14594,12 +14468,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -14676,12 +14545,7 @@ declare const HTMLDataElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -14863,9 +14727,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener( @@ -14951,6 +14812,10 @@ interface HTMLElement * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) + */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -15090,7 +14955,12 @@ declare const HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -15098,10 +14968,20 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener( @@ -15140,61 +15020,29 @@ declare const HTMLEmbedElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) - */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) - */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) */ readonly validity: ValidityState; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) */ readonly willValidate: boolean; /** @@ -15202,10 +15050,6 @@ interface HTMLFieldSetElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -15355,12 +15199,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -15404,12 +15243,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -15423,9 +15257,6 @@ interface HTMLFormElement extends HTMLElement { /** * Returns whether a form will validate when it is submitted, without having * to submit it. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) */ checkValidity(): boolean; /** @@ -15481,46 +15312,30 @@ declare const HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** @@ -15528,9 +15343,6 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** @@ -15538,45 +15350,30 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener( @@ -15770,9 +15567,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener( @@ -15959,12 +15753,17 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) + */ allow: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) + */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -15984,9 +15783,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -15996,14 +15792,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** @@ -16011,9 +15808,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** @@ -16021,9 +15815,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -16038,14 +15829,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) + */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -16196,12 +15988,7 @@ interface HTMLImageElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -16331,12 +16118,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -16363,49 +16145,27 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** * When set, overrides the rendering of checkbox controls so that the current @@ -16417,12 +16177,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** * Defines the maximum acceptable value for an input element with @@ -16457,36 +16212,35 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Gets or sets a string containing a regular expression that the user's input * must match. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) */ pattern: string; /** * Gets or sets a text string that is displayed in an input field as a hint or * prompt to users as the format or type of information they need to enter.The * text appears in an input field until the user puts focus on the field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ @@ -16498,7 +16252,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use @@ -16512,17 +16271,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ @@ -16545,19 +16298,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) */ readonly willValidate: boolean; /** @@ -16827,18 +16572,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; - disabled: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ - fetchPriority: string; + disabled: boolean; /** - * Sets or retrieves a destination URL or an anchor point. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ + fetchPriority: string; + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -16849,6 +16593,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) + */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -16877,10 +16625,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) - */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -16888,7 +16632,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener( type: K, @@ -16928,9 +16677,6 @@ interface HTMLMapElement extends HTMLElement { /** * Retrieves a collection of the area objects defined for the given map * object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) */ readonly areas: HTMLCollection; /** @@ -17165,10 +16911,6 @@ interface HTMLMediaElement extends HTMLElement { onencrypted: | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. @@ -17186,12 +16928,7 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -17226,9 +16963,6 @@ interface HTMLMediaElement extends HTMLElement { /** * Gets a flag that indicates whether the client is currently moving to a new * playback position in the media resource. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) */ readonly seeking: boolean; /** @@ -17262,10 +16996,6 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) - */ addTextTrack( kind: TextTrackKind, label?: string, @@ -17372,12 +17102,7 @@ declare const HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -17413,17 +17138,32 @@ declare const HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; /** * Gets or sets information used to bind the value of a content attribute of a * meta element to an HTTP response header. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) */ httpEquiv: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) + */ media: string; /** * Sets or retrieves the value specified in the content attribute of the meta * object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) */ name: string; /** @@ -17431,6 +17171,9 @@ interface HTMLMetaElement extends HTMLElement { * property specified for the object. * * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener( @@ -17469,40 +17212,16 @@ declare const HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) - */ high: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) - */ low: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) - */ max: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) - */ min: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) - */ optimum: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) - */ value: number; addEventListener( type: K, @@ -17540,19 +17259,9 @@ declare const HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener( type: K, @@ -17589,12 +17298,7 @@ declare const HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** * [MDN @@ -17649,46 +17353,27 @@ declare const HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own * archive functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** @@ -17696,9 +17381,6 @@ interface HTMLObjectElement extends HTMLElement { * object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -17720,12 +17402,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -17741,12 +17418,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -17759,9 +17431,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -17775,8 +17444,10 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves the URL, often with a bookmark extension (#name), to use * as a client-side image map. * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -17797,12 +17468,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -17827,15 +17493,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) - */ getSVGDocument(): Document | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -17883,17 +17541,10 @@ declare const HTMLObjectElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) - */ disabled: boolean; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) */ label: string; addEventListener( @@ -17935,60 +17586,25 @@ declare const HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) - */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; /** * Sets or retrieves the value which is returned to the server when the form * control is submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) */ value: string; addEventListener( @@ -18036,9 +17652,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * When set to a greater number, adds new blank option elements to that * container. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** @@ -18046,9 +17659,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * selected item. * * Can be set, to change the selection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -18063,20 +17673,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * This method will throw a "HierarchyRequestError" DOMException if element is * an ancestor of the element into which it is to be inserted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add( element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null, ): void; - /** - * Removes the item with index index from the collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -18125,76 +17727,28 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) - */ defaultValue: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) - */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) - */ readonly htmlFor: DOMTokenList; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) - */ name: string; - /** - * Returns the string "output". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) - */ readonly validationMessage: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) - */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) - */ readonly willValidate: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) - */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) - */ reportValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) - */ setCustomValidity(error: string): void; addEventListener( type: K, @@ -18235,9 +17789,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener( @@ -18287,9 +17838,6 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** @@ -18297,27 +17845,18 @@ interface HTMLParamElement extends HTMLElement { * attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener( @@ -18396,9 +17935,6 @@ interface HTMLPreElement extends HTMLElement { * functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener( @@ -18507,12 +18043,7 @@ declare const HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener( type: K, @@ -18549,6 +18080,10 @@ declare const HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) + */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -18561,7 +18096,12 @@ interface HTMLScriptElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -18569,6 +18109,10 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) + */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -18576,7 +18120,15 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) + */ integrity: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) + */ noModule: boolean; /** * [MDN @@ -18586,11 +18138,24 @@ interface HTMLScriptElement extends HTMLElement { /** * Retrieves the URL to an external file that contains the source code or * data. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener( type: K, @@ -18631,10 +18196,6 @@ declare const HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) - */ autocomplete: AutoFill; /** * [MDN @@ -18653,27 +18214,14 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can * be selected from a list. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -18682,12 +18230,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -18701,12 +18244,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE @@ -18715,23 +18253,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; + readonly type: 'select-one' | 'select-multiple'; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) */ readonly validity: ValidityState; /** @@ -18745,9 +18277,6 @@ interface HTMLSelectElement extends HTMLElement { /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) */ readonly willValidate: boolean; /** @@ -18811,10 +18340,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -18916,38 +18441,23 @@ declare const HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { - height: number; /** - * Gets or sets the intended media type of the media source. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ + height: number; + /** Gets or sets the intended media type of the media source. */ media: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) - */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) - */ srcset: string; + /** Gets or sets the MIME type of a media resource. */ + type: string; /** - * Gets or sets the MIME type of a media resource. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ - type: string; width: number; addEventListener( type: K, @@ -19079,9 +18589,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener( @@ -19148,9 +18655,6 @@ interface HTMLTableCellElement extends HTMLElement { * associated with the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -19201,9 +18705,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -19241,9 +18742,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener( @@ -19330,9 +18828,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener( @@ -19664,9 +19159,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -19711,12 +19203,7 @@ interface HTMLTableRowElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells @@ -19789,9 +19276,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -19815,12 +19299,7 @@ interface HTMLTableSectionElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows @@ -19892,7 +19371,26 @@ interface HTMLTemplateElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) + */ + shadowRootClonable: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) + */ + shadowRootDelegatesFocus: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) + */ shadowRootMode: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) + */ + shadowRootSerializable: boolean; addEventListener( type: K, listener: ( @@ -19934,10 +19432,6 @@ declare const HTMLTemplateElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) - */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -19980,12 +19474,13 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; + readonly textLength: number; /** + * Retrieves the type of control. + * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ - readonly textLength: number; - /** Retrieves the type of control. */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the @@ -20013,10 +19508,6 @@ interface HTMLTextAreaElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) - */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -20165,42 +19656,19 @@ declare const HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) - */ default: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) - */ kind: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) - */ label: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) - */ readonly readyState: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) - */ srclang: string; /** * Returns the TextTrack object corresponding to the text track of the track * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) */ readonly track: TextTrack; readonly NONE: 0; @@ -20246,19 +19714,9 @@ declare const HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener( type: K, @@ -20398,6 +19856,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) + */ cancelVideoFrameCallback(handle: number): void; /** * [MDN @@ -20409,6 +19871,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) + */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -21498,7 +20964,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -21740,12 +21206,9 @@ declare const ImageData: { ): ImageData; }; -interface InnerHTML { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -22063,6 +21526,53 @@ declare const KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) + */ +interface LargestContentfulPaint extends PerformanceEntry { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) + */ + readonly element: Element | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) + */ + readonly id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) + */ + readonly loadTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ + readonly renderTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) + */ + readonly size: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) + */ + readonly url: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ + toJSON(): unknown; +} + +declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** * [MDN @@ -22974,6 +22484,7 @@ interface MediaKeys { * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) @@ -23328,20 +22839,8 @@ interface MediaSource extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) - */ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN @@ -23403,6 +22902,11 @@ interface MediaSource extends EventTarget { declare const MediaSource: { prototype: MediaSource; new (): MediaSource; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) + */ + readonly canConstructInDedicatedWorker: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) @@ -23410,6 +22914,14 @@ declare const MediaSource: { isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -23774,12 +23286,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -23887,35 +23394,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -23936,26 +23432,11 @@ declare const MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -24681,7 +24162,7 @@ interface NavigatorPlugins { * @deprecated * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** @@ -25523,7 +25004,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -25651,11 +25140,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -27099,9 +26583,6 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** @@ -27109,8 +26590,6 @@ interface Plugin { * platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -27124,24 +26603,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -27164,33 +26634,13 @@ declare const Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -27284,6 +26734,7 @@ declare const PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or * replaceState(). @@ -27396,6 +26847,10 @@ declare const PromiseRejectionEvent: { * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) + */ readonly authenticatorAttachment: string | null; /** * [MDN @@ -27799,21 +27254,17 @@ interface RTCDtlsTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; - onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ + onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) - */ getRemoteCertificates(): readonly ArrayBuffer[]; addEventListener( type: K, @@ -28045,6 +27496,11 @@ declare const RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -28439,21 +27895,9 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * 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; readonly port: number | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) - */ readonly url: string; } @@ -28495,6 +27939,11 @@ declare const RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) + */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) @@ -28655,7 +28104,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) @@ -28684,6 +28133,10 @@ interface RTCSctpTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) + */ onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN @@ -28752,7 +28205,7 @@ interface RTCSessionDescription { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): unknown; + toJSON(): RTCSessionDescriptionInit; } declare const RTCSessionDescription: { @@ -28859,7 +28312,7 @@ interface Range extends AbstractRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) @@ -29264,6 +28717,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -29350,9 +28807,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -29464,6 +28918,10 @@ interface ResizeObserverEntry { * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) + */ readonly devicePixelContentBoxSize: ReadonlyArray; /** * [MDN @@ -29767,7 +29225,15 @@ declare const SVGAnimatedBoolean: { * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) + */ readonly animVal: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) + */ baseVal: number; } @@ -29798,7 +29264,15 @@ declare const SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) + */ readonly animVal: SVGLength; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) + */ readonly baseVal: SVGLength; } @@ -30360,20 +29834,8 @@ declare const SVGFEBlendElement: { interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) - */ readonly in1: SVGAnimatedString; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) - */ readonly type: SVGAnimatedEnumeration; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) - */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -31721,10 +31183,6 @@ declare const SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) - */ crossOrigin: string | null; /** * [MDN @@ -33318,6 +32776,10 @@ interface ScreenOrientation extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) + */ onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN @@ -33523,6 +32985,11 @@ interface Selection { * Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) + */ + readonly direction: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) @@ -33915,7 +33382,12 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) + */ + readonly clonable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) @@ -33923,14 +33395,34 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) + */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) + */ + readonly serializable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) + */ + getHTML(options?: GetHTMLOptions): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * Throws a "NotSupportedError" DOMException if context object is a shadow * root. @@ -34042,30 +33534,10 @@ interface SourceBuffer extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) - */ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN @@ -34140,15 +33612,7 @@ interface SourceBufferList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) - */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -35310,6 +34774,22 @@ declare const TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + view?: Window | null, + data?: string, + ): void; +} + +declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the * CanvasRenderingContext2D.measureText() method. @@ -35678,7 +35158,7 @@ interface TextTrackList extends EventTarget { onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** @@ -36148,12 +35628,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -36326,36 +35811,13 @@ declare const VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) - */ regionAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) - */ regionAnchorY: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) - */ scroll: ScrollSetting; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) - */ viewportAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) - */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -36377,10 +35839,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) - */ readonly customError: boolean; /** * [MDN @@ -36417,10 +35875,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) - */ readonly valid: boolean; /** * [MDN @@ -36483,6 +35937,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -36539,6 +35997,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -36557,6 +36019,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -36578,6 +36044,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -36609,6 +36079,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -36679,6 +36153,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -36729,6 +36207,35 @@ declare const VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) + */ + readonly finished: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) + */ + readonly ready: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) + */ + readonly updateCallbackDone: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) + */ + skipTransition(): void; +} + +declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -37865,7 +37372,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -39599,6 +39106,10 @@ interface WebGLRenderingContextBase { * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -40989,7 +40500,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -41576,7 +41087,11 @@ interface Window readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** * [MDN @@ -41901,30 +41416,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -42796,7 +42317,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -42826,12 +42347,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -42856,12 +42377,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -43200,15 +42721,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -43593,6 +43106,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): unknown; } +interface UpdateCallback { + (): unknown; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -44092,7 +43609,11 @@ declare const visualViewport: VisualViewport | null; declare const window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: unknown): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** * [MDN @@ -44298,7 +43819,7 @@ declare const onbeforetoggle: ((this: Window, ev: Event) => unknown) | null; declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** @@ -44338,6 +43859,11 @@ declare const onclick: ((this: Window, ev: MouseEvent) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare const onclose: ((this: Window, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. @@ -44348,6 +43874,11 @@ declare const onclose: ((this: Window, ev: Event) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -44566,7 +44097,7 @@ declare const onloadedmetadata: ((this: Window, ev: Event) => unknown) | null; declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare const onlostpointercapture: | ((this: Window, ev: PointerEvent) => unknown) @@ -45085,30 +44616,33 @@ declare const localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -45291,6 +44825,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream @@ -45470,8 +45005,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.iterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.iterable.d.ts index c83c4ae6db..502f207b5d 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.dom.iterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.dom.iterable.d.ts @@ -5,6 +5,14 @@ /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** * [MDN @@ -40,40 +48,38 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator< + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator< readonly [NumberType.ArraySize, CSSTransformComponent] >; - keys(): IterableIterator; - values(): IterableIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator< - readonly [NumberType.ArraySize, CSSUnparsedSegment] - >; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -103,80 +109,92 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -227,26 +245,26 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator + extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< readonly [BufferSource, MediaKeyStatus] >; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -260,11 +278,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -286,31 +304,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -318,54 +336,61 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -467,25 +492,30 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.core.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.core.d.ts index e87f19306d..8a4c17c04c 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.core.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.core.d.ts @@ -84,6 +84,11 @@ interface Array { start: NumberType.ArraySizeArg, end?: NumberType.ArraySizeArg, ): this; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface ArrayConstructor { @@ -463,6 +468,11 @@ interface ReadonlyArray { ) => boolean, thisArg?: unknown, ): NumberType.ArraySearchResult; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface RegExp { @@ -697,3 +707,66 @@ interface StringConstructor { ...substitutions: readonly unknown[] ): string; } + +interface Int8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8ClampedArray { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float64Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.generator.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.generator.d.ts index 92513111ab..d0571a7296 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.generator.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.generator.d.ts @@ -4,9 +4,9 @@ /// interface Generator - extends Iterator { + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: unknown): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.iterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.iterable.d.ts index d81504cd91..51bca798fd 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.iterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2015.iterable.d.ts @@ -25,33 +25,56 @@ type IteratorResult = | IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: unknown): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, + * `Map`, `Set`, and others. This is `undefined` when + * `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator + extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -78,49 +101,54 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator + extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -136,32 +164,35 @@ interface WeakMapConstructor { ): WeakMap; } +interface SetIterator + extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; - + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; - + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -197,21 +228,24 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator + extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -232,15 +266,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -261,15 +293,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -290,15 +322,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -319,15 +351,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -348,15 +378,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -377,15 +405,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -406,15 +432,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -435,15 +459,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2017.object.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2017.object.d.ts index 4ca19ac1b8..849e6ad086 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2017.object.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2017.object.d.ts @@ -31,7 +31,7 @@ declare namespace StrictLibInternals { interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -40,7 +40,7 @@ interface ObjectConstructor { values(o: { readonly [s: string]: T } | ArrayLike): readonly T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -49,7 +49,8 @@ interface ObjectConstructor { values(o: {}): readonly unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -71,7 +72,8 @@ interface ObjectConstructor { ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asyncgenerator.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asyncgenerator.d.ts index d049fcd3c5..eb4d1bae4c 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asyncgenerator.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asyncgenerator.d.ts @@ -4,10 +4,10 @@ /// interface AsyncGenerator - extends AsyncIterator { + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asynciterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asynciterable.d.ts index 6d1b6ec139..930c92b257 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asynciterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.asynciterable.d.ts @@ -12,10 +12,10 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return?( value?: TReturn | PromiseLike, @@ -23,10 +23,21 @@ interface AsyncIterator { throw?(e?: unknown): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.intl.d.ts index 6d4f030ff9..77858286fa 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.intl.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2018.intl.d.ts @@ -49,33 +49,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = - | 'literal' - | 'nan' - | 'infinity' - | 'percent' - | 'integer' - | 'group' - | 'decimal' - | 'fraction' - | 'plusSign' - | 'minusSign' - | 'percentSign' - | 'currency' - | 'code' - | 'symbol' - | 'name'; - type ES2020NumberFormatPartType = - | 'compact' - | 'exponentInteger' - | 'exponentMinusSign' - | 'exponentSeparator' - | 'unit' - | 'unknown'; - type NumberFormatPartTypes = - | ES2018NumberFormatPartType - | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + readonly literal: never; + readonly nan: never; + readonly infinity: never; + readonly percent: never; + readonly integer: never; + readonly group: never; + readonly decimal: never; + readonly fraction: never; + readonly plusSign: never; + readonly minusSign: never; + readonly percentSign: never; + readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { readonly type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2019.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2019.intl.d.ts index 6fcf37cf61..15635a1052 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2019.intl.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2019.intl.d.ts @@ -3,6 +3,6 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - readonly unknown: unknown; + readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.bigint.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.bigint.d.ts index 17cf9269b0..6025442afc 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.bigint.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.bigint.d.ts @@ -197,7 +197,7 @@ interface BigInt64Array { ): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -350,7 +350,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -542,7 +542,10 @@ interface BigInt64Array { ): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -551,9 +554,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -633,7 +636,7 @@ interface BigUint64Array { ): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -786,7 +789,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -978,7 +981,10 @@ interface BigUint64Array { ): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -987,9 +993,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -1098,6 +1104,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.intl.d.ts index d7a40ccaf8..ef42e4a099 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.intl.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.intl.d.ts @@ -252,7 +252,26 @@ declare namespace Intl { ): readonly UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly auto: never; + readonly never: never; + readonly always: never; + readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + readonly numberingSystem?: string | undefined; readonly compactDisplay?: 'short' | 'long' | undefined; readonly notation?: | 'standard' @@ -260,26 +279,28 @@ declare namespace Intl { | 'engineering' | 'compact' | undefined; - readonly signDisplay?: - | 'auto' - | 'never' - | 'always' - | 'exceptZero' - | undefined; + readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; readonly unit?: string | undefined; readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - readonly currencyDisplay?: string | undefined; - readonly currencySign?: string | undefined; + readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { readonly compactDisplay?: 'short' | 'long'; - readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + readonly signDisplay: NumberFormatOptionsSignDisplay; readonly unit?: string; readonly unitDisplay?: 'short' | 'long' | 'narrow'; - readonly currencyDisplay?: string; - readonly currencySign?: string; + readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + readonly compact: never; + readonly exponentInteger: never; + readonly exponentMinusSign: never; + readonly exponentSeparator: never; + readonly unit: never; + readonly unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.string.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.string.d.ts index 6a0d40af53..b9bf37b84e 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.string.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.string.d.ts @@ -1,7 +1,7 @@ /// /// -/// +/// interface String { /** @@ -11,7 +11,7 @@ interface String { * @param regexp A variable name or string literal containing the regular * expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** * Converts all alphabetic characters to lowercase, taking into account the diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.symbol.wellknown.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.symbol.wellknown.d.ts index d72dc4bd8f..71c4078794 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.symbol.wellknown.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2020.symbol.wellknown.d.ts @@ -12,6 +12,11 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator + extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of @@ -19,5 +24,5 @@ interface RegExp { * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2021.weakref.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2021.weakref.d.ts index bae2947f9b..35656e80e5 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2021.weakref.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2021.weakref.d.ts @@ -50,7 +50,7 @@ interface FinalizationRegistry { * @param unregisterToken The token that was used as the unregisterToken * argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.intl.d.ts index 11c260de1d..cb3bf76a3f 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.intl.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.intl.d.ts @@ -37,6 +37,11 @@ declare namespace Intl { readonly granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator + extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that @@ -49,7 +54,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.regexp.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.regexp.d.ts index c5365c3d23..e4e61b2376 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.regexp.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2022.regexp.d.ts @@ -22,7 +22,7 @@ interface RegExpIndicesArray interface RegExp { /** * Returns a Boolean value indicating the state of the hasIndices flag (d) - * used with with a regular expression. Default is false. Read-only. + * used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.d.ts index 67da266670..cb4077328b 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.d.ts @@ -4,3 +4,4 @@ /// /// /// +/// diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.intl.d.ts new file mode 100644 index 0000000000..0247cc8b76 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es2023.intl.d.ts @@ -0,0 +1,107 @@ +/// +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + readonly min2: never; + readonly auto: never; + readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly negative: never; + } + + interface NumberFormatOptions { + readonly roundingPriority?: + | 'auto' + | 'morePrecision' + | 'lessPrecision' + | undefined; + readonly roundingIncrement?: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000 + | undefined; + readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven' + | undefined; + readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; + readonly roundingIncrement: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000; + readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = + | `${number}` + | 'Infinity' + | '-Infinity' + | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, + ): readonly NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): string; + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): readonly NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.es5.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.es5.d.ts index 78cb4a33fe..f66a08a941 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.es5.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.es5.d.ts @@ -1122,8 +1122,8 @@ interface Date { */ getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ getTimezoneOffset(): SafeInt; /** @@ -6806,12 +6806,44 @@ declare namespace Intl { const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + readonly decimal: never; + readonly percent: never; + readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly code: never; + readonly symbol: never; + readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = + keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : + | keyof NumberFormatOptionsUseGroupingRegistry + | 'true' + | 'false' + | boolean; + type ResolvedNumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - readonly localeMatcher?: string | undefined; - readonly style?: string | undefined; + readonly localeMatcher?: 'lookup' | 'best fit' | undefined; + readonly style?: NumberFormatOptionsStyle | undefined; readonly currency?: string | undefined; - readonly currencySign?: string | undefined; - readonly useGrouping?: boolean | undefined; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; readonly minimumFractionDigits?: UintRange<0, 21> | undefined; readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -6822,14 +6854,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { readonly locale: string; readonly numberingSystem: string; - readonly style: string; + readonly style: NumberFormatOptionsStyle; readonly currency?: string; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; readonly minimumIntegerDigits: UintRange<1, 22>; - readonly minimumFractionDigits: UintRange<0, 21>; - readonly maximumFractionDigits: UintRange<0, 21>; + readonly minimumFractionDigits?: UintRange<0, 21>; + readonly maximumFractionDigits?: UintRange<0, 21>; readonly minimumSignificantDigits?: UintRange<1, 22>; readonly maximumSignificantDigits?: UintRange<1, 22>; - readonly useGrouping: boolean; + readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.array.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.array.d.ts new file mode 100644 index 0000000000..d836a1e18a --- /dev/null +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.array.d.ts @@ -0,0 +1,33 @@ +/// +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + */ + fromAsync( + iterableOrArrayLike: + | AsyncIterable + | Iterable> + | ArrayLike>, + ): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + * @param mapfn A mapping function to call on every element of + * itarableOrArrayLike. Each return value is awaited before being added to + * result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, + thisArg?: unknown, + ): Promise[]>; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.collection.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.collection.d.ts index a61173de14..eae6674b6e 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.collection.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.collection.d.ts @@ -14,3 +14,91 @@ interface MapConstructor { keySelector: (item: T, index: NumberType.ArraySizeArgNonNegative) => K, ): ReadonlyMap; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** + * @returns A boolean indicating whether an element with the specified value + * exists in the set-like or not. + */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.d.ts index f1a2eb2bc0..7be31fcf07 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.d.ts @@ -8,3 +8,7 @@ /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.disposable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.disposable.d.ts index f7ca59bca4..2cf6a7fd4e 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.disposable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.disposable.d.ts @@ -2,6 +2,8 @@ /// /// +/// +/// interface SymbolConstructor { /** @@ -175,3 +177,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.intl.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.intl.d.ts index 907c6172a2..d09d4b696f 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.intl.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.intl.d.ts @@ -2,15 +2,5 @@ /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts( - start: number | bigint, - end: number | bigint, - ): readonly NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.iterator.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.iterator.d.ts new file mode 100644 index 0000000000..ea657d2378 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.iterator.d.ts @@ -0,0 +1,243 @@ +/// +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator + extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used + * to transform values from the underlying iterator. + */ + map( + callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => U, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => value is S, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, + * stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take( + limit: NumberType.ArraySizeArgNonNegative, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after + * skipping the provided count. + * + * @param count The number of values to drop. + */ + drop( + limit: NumberType.ArraySizeArgNonNegative, + ): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator and then flattening the resulting + * iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to + * transform values from the underlying iterator into new iterators or + * iterables to be flattened into the result. + */ + flatMap( + callback: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => Iterator | Iterable, + ): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + initialValue: T, + ): T; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): readonly T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach + * calls the callbackfn function one time for each element in the + * iterator. + */ + forEach( + callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => void, + ): void; + + /** + * Determines whether the specified callback function returns true for any + * element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some + * method calls the predicate function for each element in this iterator + * until the predicate returns a value true, or until the end of the + * iterator. + */ + some( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified + * test. + * + * @param predicate A function that accepts up to two arguments. The every + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ + every( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): boolean; + + /** + * Returns the value of the first element in this iterator where predicate + * is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this + * iterator, in order, until it finds one where predicate returns true. If + * such an element is found, find immediately returns that element value. + * Otherwise, find returns undefined. + */ + find( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => value is S, + ): S | undefined; + find( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns + * its input if the input already inherits from the built-in Iterator + * class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from( + value: Iterator | Iterable, + ): IteratorObject; + } + + const Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.regexp.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.regexp.d.ts new file mode 100644 index 0000000000..6a74735b1f --- /dev/null +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.regexp.d.ts @@ -0,0 +1,10 @@ +/// +/// + +interface RegExp { + /** + * Returns a Boolean value indicating the state of the unicodeSets flag (v) + * used with a regular expression. Default is false. Read-only. + */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.string.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.string.d.ts new file mode 100644 index 0000000000..60bfbd68ff --- /dev/null +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.esnext.string.d.ts @@ -0,0 +1,16 @@ +/// +/// + +interface String { + /** + * Returns true if all leading surrogates and trailing surrogates appear + * paired and in order. + */ + isWellFormed(): boolean; + + /** + * Returns a string where all lone or out-of-order surrogates have been + * replaced by the Unicode replacement character (U+FFFD). + */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.asynciterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.asynciterable.d.ts index 8f9272dcf5..e080132e87 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.asynciterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.asynciterable.d.ts @@ -5,11 +5,32 @@ /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.d.ts index 053b2d71b3..0ac01d5136 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.d.ts @@ -324,10 +324,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -398,6 +394,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -542,6 +542,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -666,16 +681,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -1071,6 +1086,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -2240,6 +2260,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -2721,20 +2746,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -2758,165 +2775,45 @@ declare const DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -2930,48 +2827,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -3032,10 +2900,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -3056,18 +2920,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -3095,6 +2951,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -3439,30 +3299,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -5483,7 +5323,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -5678,6 +5518,11 @@ declare const ImageData: { ): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) @@ -5754,6 +5599,31 @@ declare const MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) + */ +interface MediaStreamTrackProcessor { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) + */ + readonly readable: ReadableStream; +} + +declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message * channel and send data through it via its two MessagePort properties. @@ -5827,12 +5697,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -6396,7 +6261,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -6524,11 +6397,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -7584,6 +7452,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -7670,9 +7542,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -8052,7 +7921,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { /** * This ServiceWorker API interface represents the global execution context of a - * service worker. + * service worker. Available only in secure contexts. * * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) @@ -8948,12 +8817,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -9088,6 +8962,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -9144,6 +9022,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -9162,6 +9044,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -9183,6 +9069,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -9214,6 +9104,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -9284,6 +9178,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -10249,7 +10147,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -11978,6 +11876,10 @@ declare const WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -13368,7 +13270,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -13702,30 +13604,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -13896,9 +13804,17 @@ interface WorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -14495,7 +14411,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -14525,12 +14441,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -14555,12 +14471,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -14592,15 +14508,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -15013,9 +14921,17 @@ declare const onoffline: declare const ononline: | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ declare const onrejectionhandled: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ declare const onunhandledrejection: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -15048,30 +14964,33 @@ declare const fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -15226,6 +15145,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream diff --git a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.iterable.d.ts b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.iterable.d.ts index 9646d510a4..1f85f66b6a 100644 --- a/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.iterable.d.ts +++ b/packages/strict-ts-lib/output-branded/lib-files/lib.webworker.iterable.d.ts @@ -5,25 +5,33 @@ /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -54,42 +62,52 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -128,12 +146,7 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -146,13 +159,20 @@ interface MessageEvent { ): void; } +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + entries(): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -253,14 +273,19 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output-branded/packages/decorators/legacy/package.json b/packages/strict-ts-lib/output-branded/packages/decorators/legacy/package.json index 46d24d0143..552576bc39 100644 --- a/packages/strict-ts-lib/output-branded/packages/decorators/legacy/package.json +++ b/packages/strict-ts-lib/output-branded/packages/decorators/legacy/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-decorators-legacy", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/decorators/package.json b/packages/strict-ts-lib/output-branded/packages/decorators/package.json index 00a77a1f24..7c0e6119df 100644 --- a/packages/strict-ts-lib/output-branded/packages/decorators/package.json +++ b/packages/strict-ts-lib/output-branded/packages/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-decorators", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/index.d.ts index 1217ef100d..3158cd9aca 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/index.d.ts @@ -5,11 +5,32 @@ /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/package.json b/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/package.json index af784dca3e..44c9b15ffe 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/dom/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-dom-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/dom/index.d.ts b/packages/strict-ts-lib/output-branded/packages/dom/index.d.ts index aa4bd71b0d..accdb6b826 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/dom/index.d.ts @@ -204,6 +204,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -270,6 +273,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -559,6 +566,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -572,6 +581,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: readonly ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -661,10 +675,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -838,6 +848,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1194,6 +1208,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: unknown; } @@ -1385,11 +1403,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1520,7 +1533,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: readonly RTCRtpCodecCapability[]; + codecs: readonly RTCRtpCodec[]; headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } @@ -1531,8 +1544,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1647,6 +1658,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1805,21 +1831,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2298,6 +2325,16 @@ interface ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) + */ + ariaBrailleLabel: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) + */ + ariaBrailleRoleDescription: string | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) @@ -2570,6 +2607,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -3409,10 +3451,6 @@ declare const AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) - */ automationRate: AutomationRate; /** * [MDN @@ -3969,7 +4007,12 @@ declare const BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: unknown; } @@ -4475,7 +4518,7 @@ interface CSSImportRule extends CSSRule { readonly media: MediaList; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** @@ -4913,7 +4956,7 @@ interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** @@ -5052,6 +5095,25 @@ declare const CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) + */ + readonly end: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) + */ + readonly start: string | null; +} + +declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -5087,6 +5149,17 @@ declare const CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) + */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and * various style-related methods and properties. @@ -5210,7 +5283,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -5506,6 +5578,10 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) + */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -5541,20 +5617,12 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) - */ containIntrinsicBlockSize: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) - */ containIntrinsicInlineSize: string; /** * [MDN @@ -5574,6 +5642,11 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) + */ + contentVisibility: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) @@ -6334,6 +6407,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -6351,6 +6428,11 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) + */ + transitionBehavior: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) @@ -6380,6 +6462,11 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) + */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -6624,8 +6711,10 @@ interface CSSStyleDeclaration { */ webkitJustifyContent: string; /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ webkitLineClamp: string; /** @@ -6824,6 +6913,11 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) + */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -6842,6 +6936,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) @@ -7753,6 +7849,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -8092,6 +8193,11 @@ declare const ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) + */ + readonly presentationStyle: PresentationStyle; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) @@ -8110,6 +8216,11 @@ declare const ClipboardItem: { items: Record>, options?: ClipboardItemOptions, ): ClipboardItem; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) + */ + supports(type: string): boolean; }; /** @@ -8246,6 +8357,26 @@ declare const ConstantSourceNode: { ): ConstantSourceNode; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) + */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) + */ + readonly skipped: boolean; +} + +declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, + eventInitDict?: ContentVisibilityAutoStateChangeEventInit, + ): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often * used to achieve a reverb effect. A ConvolverNode always has exactly one input @@ -8481,6 +8612,19 @@ declare const CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, + thisArg?: unknown, + ): void; +} + +declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a * method or accessing a property of a web API. @@ -8642,20 +8786,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -8686,165 +8822,45 @@ declare const WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -8858,48 +8874,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -8998,10 +8985,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -9022,18 +9005,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -9061,6 +9036,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -10066,12 +10045,7 @@ interface Document * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -10207,6 +10181,9 @@ interface Document createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent( + eventInterface: 'ContentVisibilityAutoStateChangeEvent', + ): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -10267,6 +10244,7 @@ interface Document createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -10521,9 +10499,6 @@ interface Document * the indeterminate state. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -10553,24 +10528,21 @@ interface Document * the given command. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) + */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -10614,6 +10586,11 @@ interface Document declare const Document: { prototype: Document; new (): Document; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) + */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -10926,7 +10903,6 @@ interface Element ARIAMixin, Animatable, ChildNode, - InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { @@ -10978,6 +10954,11 @@ interface Element * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) + */ + innerHTML: string; /** * Returns the local name. * @@ -11182,6 +11163,8 @@ interface Element namespace: string | null, localName: string, ): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is * qualifiedName, and false otherwise. @@ -11222,7 +11205,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) @@ -11278,7 +11261,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -11329,6 +11312,11 @@ interface Element * Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) @@ -11379,6 +11367,10 @@ declare const Element: { }; interface ElementCSSInlineStyle { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) + */ readonly attributeStyleMap: StylePropertyMap; /** * [MDN @@ -11435,6 +11427,11 @@ interface ElementInternals extends ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) + */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's * target element was to be checked for validity. @@ -11550,30 +11547,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -11930,25 +11907,11 @@ declare const EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -12657,7 +12620,7 @@ declare const GainNode: { /** * This Gamepad API interface defines an individual gamepad or other controller, * allowing access to information such as button presses, axis positions, and - * id. Available only in secure contexts. + * id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -12682,7 +12645,11 @@ interface Gamepad { * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) + */ + readonly vibrationActuator: GamepadHapticActuator; } declare const Gamepad: { @@ -12693,7 +12660,6 @@ declare const Gamepad: { /** * An individual button of a gamepad or other controller, allowing access to the * current state of different types of buttons available on the control device. - * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -12723,8 +12689,7 @@ declare const GamepadButton: { /** * This Gamepad API interface contains references to gamepads connected to the * system, which is what the gamepad events Window.gamepadconnected and - * Window.gamepaddisconnected are fired in response to. Available only in secure - * contexts. + * Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -12752,9 +12717,8 @@ declare const GamepadEvent: { interface GamepadHapticActuator { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) + * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ - readonly type: GamepadHapticActuatorType; playEffect( type: GamepadHapticEffectType, params?: GamepadEffectParameters, @@ -12860,6 +12824,11 @@ interface GeolocationCoordinates { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ + toJSON(): unknown; } declare const GeolocationCoordinates: { @@ -12884,6 +12853,11 @@ interface GeolocationPosition { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ + toJSON(): unknown; } declare const GeolocationPosition: { @@ -12938,7 +12912,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -13089,7 +13065,7 @@ interface GlobalEventHandlers { onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** @@ -13129,6 +13105,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. @@ -13141,6 +13122,11 @@ interface GlobalEventHandlers { oncontextmenu: | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -13366,7 +13352,7 @@ interface GlobalEventHandlers { onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: | ((this: GlobalEventHandlers, ev: PointerEvent) => unknown) @@ -13850,18 +13836,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** @@ -13880,11 +13860,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) + */ ping: string; /** * [MDN @@ -13909,18 +13890,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * of the link. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -13977,34 +13952,21 @@ declare const HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) - */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) + */ ping: string; /** * [MDN @@ -14021,12 +13983,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14113,9 +14070,6 @@ interface HTMLBRElement extends HTMLElement { * positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener( @@ -14152,12 +14106,7 @@ declare const HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14204,47 +14153,17 @@ interface HTMLBodyElementEventMap * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener( type: K, @@ -14291,64 +14210,37 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -14362,32 +14254,18 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) */ readonly willValidate: boolean; /** @@ -14395,10 +14273,6 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -14594,12 +14468,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -14676,12 +14545,7 @@ declare const HTMLDataElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -14863,9 +14727,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener( @@ -14951,6 +14812,10 @@ interface HTMLElement * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) + */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -15090,7 +14955,12 @@ declare const HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -15098,10 +14968,20 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener( @@ -15140,61 +15020,29 @@ declare const HTMLEmbedElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) - */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) - */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) */ readonly validity: ValidityState; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) */ readonly willValidate: boolean; /** @@ -15202,10 +15050,6 @@ interface HTMLFieldSetElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -15355,12 +15199,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -15404,12 +15243,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -15423,9 +15257,6 @@ interface HTMLFormElement extends HTMLElement { /** * Returns whether a form will validate when it is submitted, without having * to submit it. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) */ checkValidity(): boolean; /** @@ -15481,46 +15312,30 @@ declare const HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** @@ -15528,9 +15343,6 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** @@ -15538,45 +15350,30 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener( @@ -15770,9 +15567,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener( @@ -15959,12 +15753,17 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) + */ allow: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) + */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -15984,9 +15783,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -15996,14 +15792,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** @@ -16011,9 +15808,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** @@ -16021,9 +15815,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -16038,14 +15829,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) + */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -16196,12 +15988,7 @@ interface HTMLImageElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -16331,12 +16118,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -16363,49 +16145,27 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** * When set, overrides the rendering of checkbox controls so that the current @@ -16417,12 +16177,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** * Defines the maximum acceptable value for an input element with @@ -16457,36 +16212,35 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Gets or sets a string containing a regular expression that the user's input * must match. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) */ pattern: string; /** * Gets or sets a text string that is displayed in an input field as a hint or * prompt to users as the format or type of information they need to enter.The * text appears in an input field until the user puts focus on the field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ @@ -16498,7 +16252,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use @@ -16512,17 +16271,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ @@ -16545,19 +16298,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) */ readonly willValidate: boolean; /** @@ -16826,18 +16571,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; - disabled: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ - fetchPriority: string; + disabled: boolean; /** - * Sets or retrieves a destination URL or an anchor point. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ + fetchPriority: string; + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -16848,6 +16592,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) + */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -16876,10 +16624,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) - */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -16887,7 +16631,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener( type: K, @@ -16927,9 +16676,6 @@ interface HTMLMapElement extends HTMLElement { /** * Retrieves a collection of the area objects defined for the given map * object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) */ readonly areas: HTMLCollection; /** @@ -17164,10 +16910,6 @@ interface HTMLMediaElement extends HTMLElement { onencrypted: | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. @@ -17185,12 +16927,7 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -17225,9 +16962,6 @@ interface HTMLMediaElement extends HTMLElement { /** * Gets a flag that indicates whether the client is currently moving to a new * playback position in the media resource. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) */ readonly seeking: boolean; /** @@ -17261,10 +16995,6 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) - */ addTextTrack( kind: TextTrackKind, label?: string, @@ -17371,12 +17101,7 @@ declare const HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -17412,17 +17137,32 @@ declare const HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; /** * Gets or sets information used to bind the value of a content attribute of a * meta element to an HTTP response header. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) */ httpEquiv: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) + */ media: string; /** * Sets or retrieves the value specified in the content attribute of the meta * object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) */ name: string; /** @@ -17430,6 +17170,9 @@ interface HTMLMetaElement extends HTMLElement { * property specified for the object. * * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener( @@ -17468,40 +17211,16 @@ declare const HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) - */ high: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) - */ low: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) - */ max: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) - */ min: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) - */ optimum: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) - */ value: number; addEventListener( type: K, @@ -17539,19 +17258,9 @@ declare const HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener( type: K, @@ -17588,12 +17297,7 @@ declare const HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** * [MDN @@ -17648,46 +17352,27 @@ declare const HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own * archive functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** @@ -17695,9 +17380,6 @@ interface HTMLObjectElement extends HTMLElement { * object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -17719,12 +17401,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -17740,12 +17417,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -17758,9 +17430,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -17774,8 +17443,10 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves the URL, often with a bookmark extension (#name), to use * as a client-side image map. * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -17796,12 +17467,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -17826,15 +17492,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) - */ getSVGDocument(): Document | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -17882,17 +17540,10 @@ declare const HTMLObjectElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) - */ disabled: boolean; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) */ label: string; addEventListener( @@ -17934,60 +17585,25 @@ declare const HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) - */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; /** * Sets or retrieves the value which is returned to the server when the form * control is submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) */ value: string; addEventListener( @@ -18035,9 +17651,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * When set to a greater number, adds new blank option elements to that * container. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** @@ -18045,9 +17658,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * selected item. * * Can be set, to change the selection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -18062,20 +17672,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * This method will throw a "HierarchyRequestError" DOMException if element is * an ancestor of the element into which it is to be inserted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add( element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null, ): void; - /** - * Removes the item with index index from the collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -18124,76 +17726,28 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) - */ defaultValue: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) - */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) - */ readonly htmlFor: DOMTokenList; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) - */ name: string; - /** - * Returns the string "output". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) - */ readonly validationMessage: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) - */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) - */ readonly willValidate: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) - */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) - */ reportValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) - */ setCustomValidity(error: string): void; addEventListener( type: K, @@ -18234,9 +17788,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener( @@ -18286,9 +17837,6 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** @@ -18296,27 +17844,18 @@ interface HTMLParamElement extends HTMLElement { * attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener( @@ -18395,9 +17934,6 @@ interface HTMLPreElement extends HTMLElement { * functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener( @@ -18506,12 +18042,7 @@ declare const HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener( type: K, @@ -18548,6 +18079,10 @@ declare const HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) + */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -18560,7 +18095,12 @@ interface HTMLScriptElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -18568,6 +18108,10 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) + */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -18575,7 +18119,15 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) + */ integrity: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) + */ noModule: boolean; /** * [MDN @@ -18585,11 +18137,24 @@ interface HTMLScriptElement extends HTMLElement { /** * Retrieves the URL to an external file that contains the source code or * data. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener( type: K, @@ -18630,10 +18195,6 @@ declare const HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) - */ autocomplete: AutoFill; /** * [MDN @@ -18652,27 +18213,14 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can * be selected from a list. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -18681,12 +18229,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -18700,12 +18243,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE @@ -18714,23 +18252,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; + readonly type: 'select-one' | 'select-multiple'; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) */ readonly validity: ValidityState; /** @@ -18744,9 +18276,6 @@ interface HTMLSelectElement extends HTMLElement { /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) */ readonly willValidate: boolean; /** @@ -18810,10 +18339,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -18915,38 +18440,23 @@ declare const HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { - height: number; /** - * Gets or sets the intended media type of the media source. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ + height: number; + /** Gets or sets the intended media type of the media source. */ media: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) - */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) - */ srcset: string; + /** Gets or sets the MIME type of a media resource. */ + type: string; /** - * Gets or sets the MIME type of a media resource. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ - type: string; width: number; addEventListener( type: K, @@ -19078,9 +18588,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener( @@ -19147,9 +18654,6 @@ interface HTMLTableCellElement extends HTMLElement { * associated with the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -19200,9 +18704,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -19240,9 +18741,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener( @@ -19329,9 +18827,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener( @@ -19663,9 +19158,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -19710,12 +19202,7 @@ interface HTMLTableRowElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells @@ -19788,9 +19275,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -19814,12 +19298,7 @@ interface HTMLTableSectionElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows @@ -19891,7 +19370,26 @@ interface HTMLTemplateElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) + */ + shadowRootClonable: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) + */ + shadowRootDelegatesFocus: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) + */ shadowRootMode: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) + */ + shadowRootSerializable: boolean; addEventListener( type: K, listener: ( @@ -19933,10 +19431,6 @@ declare const HTMLTemplateElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) - */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -19979,12 +19473,13 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; + readonly textLength: number; /** + * Retrieves the type of control. + * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ - readonly textLength: number; - /** Retrieves the type of control. */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the @@ -20012,10 +19507,6 @@ interface HTMLTextAreaElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) - */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -20164,42 +19655,19 @@ declare const HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) - */ default: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) - */ kind: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) - */ label: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) - */ readonly readyState: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) - */ srclang: string; /** * Returns the TextTrack object corresponding to the text track of the track * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) */ readonly track: TextTrack; readonly NONE: 0; @@ -20245,19 +19713,9 @@ declare const HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener( type: K, @@ -20397,6 +19855,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) + */ cancelVideoFrameCallback(handle: number): void; /** * [MDN @@ -20408,6 +19870,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) + */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -21497,7 +20963,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -21739,12 +21205,9 @@ declare const ImageData: { ): ImageData; }; -interface InnerHTML { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -22062,6 +21525,53 @@ declare const KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) + */ +interface LargestContentfulPaint extends PerformanceEntry { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) + */ + readonly element: Element | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) + */ + readonly id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) + */ + readonly loadTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ + readonly renderTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) + */ + readonly size: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) + */ + readonly url: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ + toJSON(): unknown; +} + +declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** * [MDN @@ -22973,6 +22483,7 @@ interface MediaKeys { * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) @@ -23327,20 +22838,8 @@ interface MediaSource extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) - */ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN @@ -23402,6 +22901,11 @@ interface MediaSource extends EventTarget { declare const MediaSource: { prototype: MediaSource; new (): MediaSource; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) + */ + readonly canConstructInDedicatedWorker: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) @@ -23409,6 +22913,14 @@ declare const MediaSource: { isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -23773,12 +23285,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -23886,35 +23393,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -23935,26 +23431,11 @@ declare const MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -24680,7 +24161,7 @@ interface NavigatorPlugins { * @deprecated * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** @@ -25522,7 +25003,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -25650,11 +25139,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -27098,9 +26582,6 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** @@ -27108,8 +26589,6 @@ interface Plugin { * platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -27123,24 +26602,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -27163,33 +26633,13 @@ declare const Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -27283,6 +26733,7 @@ declare const PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or * replaceState(). @@ -27395,6 +26846,10 @@ declare const PromiseRejectionEvent: { * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) + */ readonly authenticatorAttachment: string | null; /** * [MDN @@ -27798,21 +27253,17 @@ interface RTCDtlsTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; - onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ + onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) - */ getRemoteCertificates(): readonly ArrayBuffer[]; addEventListener( type: K, @@ -28044,6 +27495,11 @@ declare const RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -28438,21 +27894,9 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * 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; readonly port: number | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) - */ readonly url: string; } @@ -28494,6 +27938,11 @@ declare const RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) + */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) @@ -28654,7 +28103,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) @@ -28683,6 +28132,10 @@ interface RTCSctpTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) + */ onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN @@ -28751,7 +28204,7 @@ interface RTCSessionDescription { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): unknown; + toJSON(): RTCSessionDescriptionInit; } declare const RTCSessionDescription: { @@ -28858,7 +28311,7 @@ interface Range extends AbstractRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) @@ -29263,6 +28716,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -29349,9 +28806,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -29463,6 +28917,10 @@ interface ResizeObserverEntry { * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) + */ readonly devicePixelContentBoxSize: ReadonlyArray; /** * [MDN @@ -29766,7 +29224,15 @@ declare const SVGAnimatedBoolean: { * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) + */ readonly animVal: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) + */ baseVal: number; } @@ -29797,7 +29263,15 @@ declare const SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) + */ readonly animVal: SVGLength; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) + */ readonly baseVal: SVGLength; } @@ -30359,20 +29833,8 @@ declare const SVGFEBlendElement: { interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) - */ readonly in1: SVGAnimatedString; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) - */ readonly type: SVGAnimatedEnumeration; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) - */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -31720,10 +31182,6 @@ declare const SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) - */ crossOrigin: string | null; /** * [MDN @@ -33317,6 +32775,10 @@ interface ScreenOrientation extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) + */ onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN @@ -33522,6 +32984,11 @@ interface Selection { * Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) + */ + readonly direction: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) @@ -33914,7 +33381,12 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) + */ + readonly clonable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) @@ -33922,14 +33394,34 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) + */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) + */ + readonly serializable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) + */ + getHTML(options?: GetHTMLOptions): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * Throws a "NotSupportedError" DOMException if context object is a shadow * root. @@ -34041,30 +33533,10 @@ interface SourceBuffer extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) - */ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN @@ -34139,15 +33611,7 @@ interface SourceBufferList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) - */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -35309,6 +34773,22 @@ declare const TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + view?: Window | null, + data?: string, + ): void; +} + +declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the * CanvasRenderingContext2D.measureText() method. @@ -35677,7 +35157,7 @@ interface TextTrackList extends EventTarget { onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** @@ -36147,12 +35627,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -36325,36 +35810,13 @@ declare const VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) - */ regionAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) - */ regionAnchorY: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) - */ scroll: ScrollSetting; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) - */ viewportAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) - */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -36376,10 +35838,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) - */ readonly customError: boolean; /** * [MDN @@ -36416,10 +35874,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) - */ readonly valid: boolean; /** * [MDN @@ -36482,6 +35936,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -36538,6 +35996,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -36556,6 +36018,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -36577,6 +36043,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -36608,6 +36078,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -36678,6 +36152,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -36728,6 +36206,35 @@ declare const VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) + */ + readonly finished: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) + */ + readonly ready: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) + */ + readonly updateCallbackDone: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) + */ + skipTransition(): void; +} + +declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -37864,7 +37371,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -39598,6 +39105,10 @@ interface WebGLRenderingContextBase { * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -40988,7 +40499,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -41575,7 +41086,11 @@ interface Window readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** * [MDN @@ -41900,30 +41415,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -42795,7 +42316,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -42825,12 +42346,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -42855,12 +42376,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -43199,15 +42720,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -43592,6 +43105,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): unknown; } +interface UpdateCallback { + (): unknown; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -44091,7 +43608,11 @@ declare const visualViewport: VisualViewport | null; declare const window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: unknown): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** * [MDN @@ -44297,7 +43818,7 @@ declare const onbeforetoggle: ((this: Window, ev: Event) => unknown) | null; declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** @@ -44337,6 +43858,11 @@ declare const onclick: ((this: Window, ev: MouseEvent) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare const onclose: ((this: Window, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. @@ -44347,6 +43873,11 @@ declare const onclose: ((this: Window, ev: Event) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -44565,7 +44096,7 @@ declare const onloadedmetadata: ((this: Window, ev: Event) => unknown) | null; declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare const onlostpointercapture: | ((this: Window, ev: PointerEvent) => unknown) @@ -45084,30 +44615,33 @@ declare const localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -45290,6 +44824,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream @@ -45469,8 +45004,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/output-branded/packages/dom/iterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/dom/iterable/index.d.ts index c83c4ae6db..502f207b5d 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/iterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/dom/iterable/index.d.ts @@ -5,6 +5,14 @@ /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** * [MDN @@ -40,40 +48,38 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator< + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator< readonly [NumberType.ArraySize, CSSTransformComponent] >; - keys(): IterableIterator; - values(): IterableIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator< - readonly [NumberType.ArraySize, CSSUnparsedSegment] - >; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -103,80 +109,92 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -227,26 +245,26 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator + extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< readonly [BufferSource, MediaKeyStatus] >; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -260,11 +278,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -286,31 +304,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -318,54 +336,61 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -467,25 +492,30 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output-branded/packages/dom/iterable/package.json b/packages/strict-ts-lib/output-branded/packages/dom/iterable/package.json index 956656cf19..e481f63117 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/iterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/dom/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-dom-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/dom/package.json b/packages/strict-ts-lib/output-branded/packages/dom/package.json index c5dd24f8b6..b6b5756c8a 100644 --- a/packages/strict-ts-lib/output-branded/packages/dom/package.json +++ b/packages/strict-ts-lib/output-branded/packages/dom/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-dom", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/collection/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/collection/package.json index 0200f342ea..bc055289a8 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/collection/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/core/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2015/core/index.d.ts index e87f19306d..8a4c17c04c 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/core/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2015/core/index.d.ts @@ -84,6 +84,11 @@ interface Array { start: NumberType.ArraySizeArg, end?: NumberType.ArraySizeArg, ): this; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface ArrayConstructor { @@ -463,6 +468,11 @@ interface ReadonlyArray { ) => boolean, thisArg?: unknown, ): NumberType.ArraySearchResult; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface RegExp { @@ -697,3 +707,66 @@ interface StringConstructor { ...substitutions: readonly unknown[] ): string; } + +interface Int8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8ClampedArray { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float64Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/core/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/core/package.json index 0d11b249db..35c7760ddb 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/core/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/core/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-core", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/generator/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2015/generator/index.d.ts index e876bc1891..031d830797 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/generator/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2015/generator/index.d.ts @@ -4,9 +4,9 @@ /// interface Generator - extends Iterator { + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: unknown): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/generator/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/generator/package.json index 31f188780b..ad013dc93e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/generator/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/generator/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-generator", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/iterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2015/iterable/index.d.ts index 76a6a8f60d..380be5a3fa 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/iterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2015/iterable/index.d.ts @@ -25,33 +25,56 @@ type IteratorResult = | IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: unknown): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, + * `Map`, `Set`, and others. This is `undefined` when + * `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator + extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -78,49 +101,54 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator + extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -136,32 +164,35 @@ interface WeakMapConstructor { ): WeakMap; } +interface SetIterator + extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; - + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; - + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -197,21 +228,24 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator + extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -232,15 +266,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -261,15 +293,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -290,15 +322,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -319,15 +351,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -348,15 +378,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -377,15 +405,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -406,15 +432,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -435,15 +459,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/iterable/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/iterable/package.json index a6be4d095d..5485f52edc 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/iterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/package.json index 3962b8e41f..3a74d25747 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/promise/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/promise/package.json index 511f2b3c50..a46e0b9e7e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/promise/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/proxy/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/proxy/package.json index 225cbf2cee..e38dc27497 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/proxy/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/proxy/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-proxy", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/reflect/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/reflect/package.json index 6166b20735..20ed1026c2 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/reflect/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/reflect/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-reflect", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/symbol/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/symbol/package.json index efdff8d665..bad42b2a44 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/symbol/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/symbol/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-symbol", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2015/symbol/wellknown/package.json b/packages/strict-ts-lib/output-branded/packages/es2015/symbol/wellknown/package.json index 545a761bd7..0840fad81e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2015/symbol/wellknown/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2015/symbol/wellknown/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2015-symbol-wellknown", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2016/array/include/package.json b/packages/strict-ts-lib/output-branded/packages/es2016/array/include/package.json index 95e34840a4..452c3daaea 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2016/array/include/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2016/array/include/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2016-array-include", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2016/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2016/full/package.json index 0056142ae0..3dad121e63 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2016/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2016/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2016-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2016/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2016/intl/package.json index 7ac6e670a0..2cd13a4d20 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2016/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2016/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2016-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2016/package.json b/packages/strict-ts-lib/output-branded/packages/es2016/package.json index 90642e0c07..2892835596 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2016/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2016/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2016", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/date/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/date/package.json index 814cb9a1bd..91b772bacf 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/date/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/date/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-date", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/full/package.json index 97c610c1c8..79b6fa7484 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/intl/package.json index fde04822d9..be7dda3e69 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/object/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2017/object/index.d.ts index 4ca19ac1b8..849e6ad086 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/object/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2017/object/index.d.ts @@ -31,7 +31,7 @@ declare namespace StrictLibInternals { interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -40,7 +40,7 @@ interface ObjectConstructor { values(o: { readonly [s: string]: T } | ArrayLike): readonly T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -49,7 +49,8 @@ interface ObjectConstructor { values(o: {}): readonly unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -71,7 +72,8 @@ interface ObjectConstructor { ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/object/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/object/package.json index 58c7567ba0..b646307747 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/object/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/package.json index d36cb93198..c81fec3193 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/sharedmemory/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/sharedmemory/package.json index 534d666b8f..975b25366b 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/sharedmemory/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/string/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/string/package.json index ebe1460e28..ba7d11269e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/string/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2017/typedarrays/package.json b/packages/strict-ts-lib/output-branded/packages/es2017/typedarrays/package.json index 6ebf71e986..c43701758e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2017/typedarrays/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2017/typedarrays/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2017-typedarrays", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/index.d.ts index a162528e93..565f5659e9 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/index.d.ts @@ -4,10 +4,10 @@ /// interface AsyncGenerator - extends AsyncIterator { + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/package.json index 180633d8d3..14635c6332 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/asyncgenerator/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-asyncgenerator", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/index.d.ts index ed0b6f7638..a797b8d707 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/index.d.ts @@ -12,10 +12,10 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return?( value?: TReturn | PromiseLike, @@ -23,10 +23,21 @@ interface AsyncIterator { throw?(e?: unknown): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/package.json index 9d2424b824..155d5593ea 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/full/package.json index 58d1b71258..f067f572f1 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2018/intl/index.d.ts index 6d4f030ff9..77858286fa 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/intl/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2018/intl/index.d.ts @@ -49,33 +49,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = - | 'literal' - | 'nan' - | 'infinity' - | 'percent' - | 'integer' - | 'group' - | 'decimal' - | 'fraction' - | 'plusSign' - | 'minusSign' - | 'percentSign' - | 'currency' - | 'code' - | 'symbol' - | 'name'; - type ES2020NumberFormatPartType = - | 'compact' - | 'exponentInteger' - | 'exponentMinusSign' - | 'exponentSeparator' - | 'unit' - | 'unknown'; - type NumberFormatPartTypes = - | ES2018NumberFormatPartType - | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + readonly literal: never; + readonly nan: never; + readonly infinity: never; + readonly percent: never; + readonly integer: never; + readonly group: never; + readonly decimal: never; + readonly fraction: never; + readonly plusSign: never; + readonly minusSign: never; + readonly percentSign: never; + readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { readonly type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/intl/package.json index ad659cf0a3..3fb2a60902 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/package.json index c29951a57c..a26f42afb3 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/promise/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/promise/package.json index 8655826f85..95a2676caa 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/promise/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2018/regexp/package.json b/packages/strict-ts-lib/output-branded/packages/es2018/regexp/package.json index 7255878fbe..7b0b255aa9 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2018/regexp/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2018/regexp/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2018-regexp", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/array/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/array/package.json index f8b5644521..c8a4800042 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/array/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/full/package.json index 0c2e6314c0..7ed830cb3e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2019/intl/index.d.ts index 6fcf37cf61..15635a1052 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/intl/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2019/intl/index.d.ts @@ -3,6 +3,6 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - readonly unknown: unknown; + readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/intl/package.json index d85a81480f..5af4881d2c 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/object/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/object/package.json index 43544a6635..d6b5b490d5 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/object/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/package.json index b1313c8405..112b2bac8a 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/string/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/string/package.json index d75034be49..5099faa0c6 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/string/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2019/symbol/package.json b/packages/strict-ts-lib/output-branded/packages/es2019/symbol/package.json index 1059ae9a93..6765aa12be 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2019/symbol/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2019/symbol/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2019-symbol", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/bigint/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2020/bigint/index.d.ts index c6db42a1d8..0e6ced0acc 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/bigint/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2020/bigint/index.d.ts @@ -197,7 +197,7 @@ interface BigInt64Array { ): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -350,7 +350,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -542,7 +542,10 @@ interface BigInt64Array { ): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -551,9 +554,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -633,7 +636,7 @@ interface BigUint64Array { ): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -786,7 +789,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -978,7 +981,10 @@ interface BigUint64Array { ): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -987,9 +993,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -1098,6 +1104,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/bigint/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/bigint/package.json index 873920883f..bdbd9a723d 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/bigint/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/bigint/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-bigint", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/date/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/date/package.json index a5ddf5d5fd..57ad62b570 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/date/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/date/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-date", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/full/package.json index 11cd15c1b8..5daeec8ede 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2020/intl/index.d.ts index daf3616915..ad42880c53 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/intl/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2020/intl/index.d.ts @@ -252,7 +252,26 @@ declare namespace Intl { ): readonly UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly auto: never; + readonly never: never; + readonly always: never; + readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + readonly numberingSystem?: string | undefined; readonly compactDisplay?: 'short' | 'long' | undefined; readonly notation?: | 'standard' @@ -260,26 +279,28 @@ declare namespace Intl { | 'engineering' | 'compact' | undefined; - readonly signDisplay?: - | 'auto' - | 'never' - | 'always' - | 'exceptZero' - | undefined; + readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; readonly unit?: string | undefined; readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - readonly currencyDisplay?: string | undefined; - readonly currencySign?: string | undefined; + readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { readonly compactDisplay?: 'short' | 'long'; - readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + readonly signDisplay: NumberFormatOptionsSignDisplay; readonly unit?: string; readonly unitDisplay?: 'short' | 'long' | 'narrow'; - readonly currencyDisplay?: string; - readonly currencySign?: string; + readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + readonly compact: never; + readonly exponentInteger: never; + readonly exponentMinusSign: never; + readonly exponentSeparator: never; + readonly unit: never; + readonly unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/intl/package.json index 50fa894f25..307067fb5e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/number/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/number/package.json index 7655d629e5..35f530faee 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/number/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/number/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-number", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/package.json index f9cd3d0677..b0742fc1d8 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/promise/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/promise/package.json index e468545052..7db34570b0 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/promise/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/sharedmemory/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/sharedmemory/package.json index ef13828ad9..7bda7d0c3e 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/sharedmemory/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/string/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2020/string/index.d.ts index 971508bf5e..26573262ff 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/string/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2020/string/index.d.ts @@ -1,7 +1,7 @@ /// /// -/// +/// interface String { /** @@ -11,7 +11,7 @@ interface String { * @param regexp A variable name or string literal containing the regular * expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** * Converts all alphabetic characters to lowercase, taking into account the diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/string/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/string/package.json index 084aeeaf3b..b6d8356213 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/string/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/index.d.ts index 240f5562e5..3efc6dadb3 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/index.d.ts @@ -12,6 +12,11 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator + extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of @@ -19,5 +24,5 @@ interface RegExp { * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/package.json b/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/package.json index 5ea81e9a5b..3bf2997a80 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2020/symbol/wellknown/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2020-symbol-wellknown", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/full/package.json index 703070f457..bd6477f395 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/intl/package.json index cc0879401f..09ad1006ae 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/package.json index 5020a0a423..2e66abc136 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/promise/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/promise/package.json index d3ff59b32d..1a00004258 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/promise/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/string/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/string/package.json index 58dba58d51..d818758acb 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/string/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/weakref/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2021/weakref/index.d.ts index bae2947f9b..35656e80e5 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/weakref/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2021/weakref/index.d.ts @@ -50,7 +50,7 @@ interface FinalizationRegistry { * @param unregisterToken The token that was used as the unregisterToken * argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/output-branded/packages/es2021/weakref/package.json b/packages/strict-ts-lib/output-branded/packages/es2021/weakref/package.json index 96085950cf..d2c1117dff 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2021/weakref/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2021/weakref/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2021-weakref", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/array/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/array/package.json index 8d6a57de64..cedbfc9128 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/array/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/error/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/error/package.json index 5b766fdf8d..cf4d19a2be 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/error/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/error/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-error", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/full/package.json index 78d5d94bd3..634dd3d27b 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2022/intl/index.d.ts index 11c260de1d..cb3bf76a3f 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/intl/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2022/intl/index.d.ts @@ -37,6 +37,11 @@ declare namespace Intl { readonly granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator + extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that @@ -49,7 +54,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/intl/package.json index 185243c158..7799b52991 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/object/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/object/package.json index e56c277f8a..4739894adb 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/object/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/package.json index e7bc5a33ad..b0977c4f4c 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/regexp/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2022/regexp/index.d.ts index c5365c3d23..e4e61b2376 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/regexp/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2022/regexp/index.d.ts @@ -22,7 +22,7 @@ interface RegExpIndicesArray interface RegExp { /** * Returns a Boolean value indicating the state of the hasIndices flag (d) - * used with with a regular expression. Default is false. Read-only. + * used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/regexp/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/regexp/package.json index 3a593e26bd..28ffdd7850 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/regexp/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/regexp/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-regexp", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/sharedmemory/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/sharedmemory/package.json index 6a3c309527..935272592d 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/sharedmemory/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2022/string/package.json b/packages/strict-ts-lib/output-branded/packages/es2022/string/package.json index 6ee5915409..b6cdaa8129 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2022/string/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2022/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2022-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/array/package.json b/packages/strict-ts-lib/output-branded/packages/es2023/array/package.json index 0a96d63407..627ad98158 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2023/array/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2023/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2023-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/collection/package.json b/packages/strict-ts-lib/output-branded/packages/es2023/collection/package.json index a5ac949448..ab68b5043d 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2023/collection/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2023/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2023-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/full/package.json b/packages/strict-ts-lib/output-branded/packages/es2023/full/package.json index c2fb2260a8..373df0957d 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2023/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2023/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2023-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2023/index.d.ts index f940e415ef..e2704e020d 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2023/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es2023/index.d.ts @@ -4,3 +4,4 @@ /// /// /// +/// diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es2023/intl/index.d.ts new file mode 100644 index 0000000000..0247cc8b76 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/es2023/intl/index.d.ts @@ -0,0 +1,107 @@ +/// +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + readonly min2: never; + readonly auto: never; + readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly negative: never; + } + + interface NumberFormatOptions { + readonly roundingPriority?: + | 'auto' + | 'morePrecision' + | 'lessPrecision' + | undefined; + readonly roundingIncrement?: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000 + | undefined; + readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven' + | undefined; + readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; + readonly roundingIncrement: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000; + readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = + | `${number}` + | 'Infinity' + | '-Infinity' + | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, + ): readonly NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): string; + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): readonly NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsc b/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsserver b/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/es2023/intl/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/intl/package.json b/packages/strict-ts-lib/output-branded/packages/es2023/intl/package.json new file mode 100644 index 0000000000..faa276cd50 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/es2023/intl/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-branded-es2023-intl", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/es2023/package.json b/packages/strict-ts-lib/output-branded/packages/es2023/package.json index 4fa88399f6..023d90261b 100644 --- a/packages/strict-ts-lib/output-branded/packages/es2023/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es2023/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es2023", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es5/index.d.ts b/packages/strict-ts-lib/output-branded/packages/es5/index.d.ts index 4fe2352eb2..182c5f56ec 100644 --- a/packages/strict-ts-lib/output-branded/packages/es5/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/es5/index.d.ts @@ -1122,8 +1122,8 @@ interface Date { */ getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ getTimezoneOffset(): SafeInt; /** @@ -6806,12 +6806,44 @@ declare namespace Intl { const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + readonly decimal: never; + readonly percent: never; + readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly code: never; + readonly symbol: never; + readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = + keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : + | keyof NumberFormatOptionsUseGroupingRegistry + | 'true' + | 'false' + | boolean; + type ResolvedNumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - readonly localeMatcher?: string | undefined; - readonly style?: string | undefined; + readonly localeMatcher?: 'lookup' | 'best fit' | undefined; + readonly style?: NumberFormatOptionsStyle | undefined; readonly currency?: string | undefined; - readonly currencySign?: string | undefined; - readonly useGrouping?: boolean | undefined; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; readonly minimumFractionDigits?: UintRange<0, 21> | undefined; readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -6822,14 +6854,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { readonly locale: string; readonly numberingSystem: string; - readonly style: string; + readonly style: NumberFormatOptionsStyle; readonly currency?: string; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; readonly minimumIntegerDigits: UintRange<1, 22>; - readonly minimumFractionDigits: UintRange<0, 21>; - readonly maximumFractionDigits: UintRange<0, 21>; + readonly minimumFractionDigits?: UintRange<0, 21>; + readonly maximumFractionDigits?: UintRange<0, 21>; readonly minimumSignificantDigits?: UintRange<1, 22>; readonly maximumSignificantDigits?: UintRange<1, 22>; - readonly useGrouping: boolean; + readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/output-branded/packages/es5/package.json b/packages/strict-ts-lib/output-branded/packages/es5/package.json index 0781ad742c..05ef14d3bc 100644 --- a/packages/strict-ts-lib/output-branded/packages/es5/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es5/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es5", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/es6/package.json b/packages/strict-ts-lib/output-branded/packages/es6/package.json index f3b7b2f1a8..338423eb0f 100644 --- a/packages/strict-ts-lib/output-branded/packages/es6/package.json +++ b/packages/strict-ts-lib/output-branded/packages/es6/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-es6", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/array/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/array/index.d.ts new file mode 100644 index 0000000000..d836a1e18a --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/array/index.d.ts @@ -0,0 +1,33 @@ +/// +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + */ + fromAsync( + iterableOrArrayLike: + | AsyncIterable + | Iterable> + | ArrayLike>, + ): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + * @param mapfn A mapping function to call on every element of + * itarableOrArrayLike. Each return value is awaited before being added to + * result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, + thisArg?: unknown, + ): Promise[]>; +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsc b/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsserver b/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/array/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/array/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/array/package.json new file mode 100644 index 0000000000..0d11f00a85 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/array/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-branded-esnext-array", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/collection/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/collection/index.d.ts index a61173de14..eae6674b6e 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/collection/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/esnext/collection/index.d.ts @@ -14,3 +14,91 @@ interface MapConstructor { keySelector: (item: T, index: NumberType.ArraySizeArgNonNegative) => K, ): ReadonlyMap; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** + * @returns A boolean indicating whether an element with the specified value + * exists in the set-like or not. + */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/collection/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/collection/package.json index d43834cc9c..1db011d5b7 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/collection/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/decorators/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/decorators/package.json index 914e5cbefe..a841438a62 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/decorators/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-decorators", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/disposable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/disposable/index.d.ts index f2582d46e3..eb03c8b386 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/disposable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/esnext/disposable/index.d.ts @@ -2,6 +2,8 @@ /// /// +/// +/// interface SymbolConstructor { /** @@ -175,3 +177,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/disposable/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/disposable/package.json index de7e588003..17c6406fd6 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/disposable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/disposable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-disposable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/full/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/full/package.json index 0dd4585abb..231cf84e24 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/full/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/index.d.ts index 738490b9b2..4d9d844c80 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/esnext/index.d.ts @@ -8,3 +8,7 @@ /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/intl/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/intl/index.d.ts index 907c6172a2..d09d4b696f 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/intl/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/esnext/intl/index.d.ts @@ -2,15 +2,5 @@ /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts( - start: number | bigint, - end: number | bigint, - ): readonly NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/intl/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/intl/package.json index 64b2d3a098..4206c785af 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/intl/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/iterator/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/index.d.ts new file mode 100644 index 0000000000..1991899eff --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/index.d.ts @@ -0,0 +1,243 @@ +/// +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator + extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used + * to transform values from the underlying iterator. + */ + map( + callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => U, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => value is S, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, + * stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take( + limit: NumberType.ArraySizeArgNonNegative, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after + * skipping the provided count. + * + * @param count The number of values to drop. + */ + drop( + limit: NumberType.ArraySizeArgNonNegative, + ): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator and then flattening the resulting + * iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to + * transform values from the underlying iterator into new iterators or + * iterables to be flattened into the result. + */ + flatMap( + callback: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => Iterator | Iterable, + ): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => T, + initialValue: T, + ): T; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: NumberType.ArraySizeArgNonNegative, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): readonly T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach + * calls the callbackfn function one time for each element in the + * iterator. + */ + forEach( + callbackfn: (value: T, index: NumberType.ArraySizeArgNonNegative) => void, + ): void; + + /** + * Determines whether the specified callback function returns true for any + * element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some + * method calls the predicate function for each element in this iterator + * until the predicate returns a value true, or until the end of the + * iterator. + */ + some( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified + * test. + * + * @param predicate A function that accepts up to two arguments. The every + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ + every( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): boolean; + + /** + * Returns the value of the first element in this iterator where predicate + * is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this + * iterator, in order, until it finds one where predicate returns true. If + * such an element is found, find immediately returns that element value. + * Otherwise, find returns undefined. + */ + find( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => value is S, + ): S | undefined; + find( + predicate: ( + value: T, + index: NumberType.ArraySizeArgNonNegative, + ) => unknown, + ): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns + * its input if the input already inherits from the built-in Iterator + * class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from( + value: Iterator | Iterable, + ): IteratorObject; + } + + const Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsc b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsserver b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/iterator/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/package.json new file mode 100644 index 0000000000..9fdf60ae50 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/iterator/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-branded-esnext-iterator", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/object/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/object/package.json index 1188de1e67..8d616e4681 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/object/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/package.json index 89e76fe4bf..c00db322cf 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/promise/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/promise/package.json index 413e356e4e..4965d2bc8b 100644 --- a/packages/strict-ts-lib/output-branded/packages/esnext/promise/package.json +++ b/packages/strict-ts-lib/output-branded/packages/esnext/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-esnext-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/regexp/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/index.d.ts new file mode 100644 index 0000000000..6a74735b1f --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/index.d.ts @@ -0,0 +1,10 @@ +/// +/// + +interface RegExp { + /** + * Returns a Boolean value indicating the state of the unicodeSets flag (v) + * used with a regular expression. Default is false. Read-only. + */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsc b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsserver b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/regexp/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/package.json new file mode 100644 index 0000000000..5e9deeca38 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/regexp/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-branded-esnext-regexp", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/string/index.d.ts b/packages/strict-ts-lib/output-branded/packages/esnext/string/index.d.ts new file mode 100644 index 0000000000..60bfbd68ff --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/string/index.d.ts @@ -0,0 +1,16 @@ +/// +/// + +interface String { + /** + * Returns true if all leading surrogates and trailing surrogates appear + * paired and in order. + */ + isWellFormed(): boolean; + + /** + * Returns a string where all lone or out-of-order surrogates have been + * replaced by the Unicode replacement character (U+FFFD). + */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsc b/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsserver b/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/string/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output-branded/packages/esnext/string/package.json b/packages/strict-ts-lib/output-branded/packages/esnext/string/package.json new file mode 100644 index 0000000000..f2a4776725 --- /dev/null +++ b/packages/strict-ts-lib/output-branded/packages/esnext/string/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-branded-esnext-string", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output-branded/packages/scripthost/package.json b/packages/strict-ts-lib/output-branded/packages/scripthost/package.json index 0a00b39548..b39a993612 100644 --- a/packages/strict-ts-lib/output-branded/packages/scripthost/package.json +++ b/packages/strict-ts-lib/output-branded/packages/scripthost/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-scripthost", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/index.d.ts index 8f9272dcf5..e080132e87 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/index.d.ts @@ -5,11 +5,32 @@ /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/package.json b/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/package.json index f710502d21..5f3db3ef41 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/webworker/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-webworker-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/importscripts/package.json b/packages/strict-ts-lib/output-branded/packages/webworker/importscripts/package.json index abc674425b..9a10075ed9 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/importscripts/package.json +++ b/packages/strict-ts-lib/output-branded/packages/webworker/importscripts/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-webworker-importscripts", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/index.d.ts b/packages/strict-ts-lib/output-branded/packages/webworker/index.d.ts index 053b2d71b3..0ac01d5136 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/webworker/index.d.ts @@ -324,10 +324,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -398,6 +394,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -542,6 +542,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -666,16 +681,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -1071,6 +1086,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -2240,6 +2260,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -2721,20 +2746,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -2758,165 +2775,45 @@ declare const DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -2930,48 +2827,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -3032,10 +2900,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -3056,18 +2920,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -3095,6 +2951,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -3439,30 +3299,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -5483,7 +5323,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -5678,6 +5518,11 @@ declare const ImageData: { ): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) @@ -5754,6 +5599,31 @@ declare const MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) + */ +interface MediaStreamTrackProcessor { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) + */ + readonly readable: ReadableStream; +} + +declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message * channel and send data through it via its two MessagePort properties. @@ -5827,12 +5697,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -6396,7 +6261,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -6524,11 +6397,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -7584,6 +7452,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -7670,9 +7542,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -8052,7 +7921,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { /** * This ServiceWorker API interface represents the global execution context of a - * service worker. + * service worker. Available only in secure contexts. * * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) @@ -8948,12 +8817,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -9088,6 +8962,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -9144,6 +9022,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -9162,6 +9044,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -9183,6 +9069,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -9214,6 +9104,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -9284,6 +9178,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -10249,7 +10147,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -11978,6 +11876,10 @@ declare const WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -13368,7 +13270,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -13702,30 +13604,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -13896,9 +13804,17 @@ interface WorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -14495,7 +14411,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -14525,12 +14441,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -14555,12 +14471,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -14592,15 +14508,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -15013,9 +14921,17 @@ declare const onoffline: declare const ononline: | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ declare const onrejectionhandled: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ declare const onunhandledrejection: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -15048,30 +14964,33 @@ declare const fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -15226,6 +15145,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/iterable/index.d.ts b/packages/strict-ts-lib/output-branded/packages/webworker/iterable/index.d.ts index 9646d510a4..1f85f66b6a 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/iterable/index.d.ts +++ b/packages/strict-ts-lib/output-branded/packages/webworker/iterable/index.d.ts @@ -5,25 +5,33 @@ /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -54,42 +62,52 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -128,12 +146,7 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -146,13 +159,20 @@ interface MessageEvent { ): void; } +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + entries(): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -253,14 +273,19 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/iterable/package.json b/packages/strict-ts-lib/output-branded/packages/webworker/iterable/package.json index 77b9649093..e86abb6fb6 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/iterable/package.json +++ b/packages/strict-ts-lib/output-branded/packages/webworker/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-webworker-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output-branded/packages/webworker/package.json b/packages/strict-ts-lib/output-branded/packages/webworker/package.json index d318badb07..fd1ed4f7a1 100644 --- a/packages/strict-ts-lib/output-branded/packages/webworker/package.json +++ b/packages/strict-ts-lib/output-branded/packages/webworker/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-branded-webworker", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/diff/lib.dom.asynciterable.diff b/packages/strict-ts-lib/output/diff/lib.dom.asynciterable.diff index c1ee8764e2..5c3e6923ea 100644 --- a/packages/strict-ts-lib/output/diff/lib.dom.asynciterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.dom.asynciterable.diff @@ -1,4 +1,4 @@ -@@ -1,27 +1,15 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -19,15 +19,26 @@ ///////////////////////////// /// Window Async Iterable APIs - ///////////////////////////// +@@ -26,9 +12,11 @@ interface FileSystemDirectoryHandleAsyncIterator interface FileSystemDirectoryHandle { -- [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; -- entries(): AsyncIterableIterator<[string, FileSystemHandle]>; -+ [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< +- [string, FileSystemHandle] + readonly [string, FileSystemHandle] + >; -+ entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; ++ entries(): FileSystemDirectoryHandleAsyncIterator< ++ readonly [string, FileSystemHandle] + >; +- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; } +@@ -38,7 +26,7 @@ interface ReadableStreamAsyncIterator + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; + } + +-interface ReadableStream { ++interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; diff --git a/packages/strict-ts-lib/output/diff/lib.dom.diff b/packages/strict-ts-lib/output/diff/lib.dom.diff index c4610df6c2..a3bbb42a8f 100644 --- a/packages/strict-ts-lib/output/diff/lib.dom.diff +++ b/packages/strict-ts-lib/output/diff/lib.dom.diff @@ -31,7 +31,7 @@ } interface AuthenticationExtensionsClientInputs { -@@ -270,8 +256,8 @@ interface ConstrainBooleanParameters { +@@ -273,8 +259,8 @@ interface ConstrainBooleanParameters { } interface ConstrainDOMStringParameters { @@ -42,7 +42,7 @@ } interface ConstrainDoubleRange extends DoubleRange { -@@ -309,7 +295,7 @@ interface CryptoKeyPair { +@@ -316,7 +302,7 @@ interface CryptoKeyPair { publicKey: CryptoKey; } @@ -51,7 +51,7 @@ detail?: T; } -@@ -473,7 +459,7 @@ interface EncodedVideoChunkMetadata { +@@ -480,7 +466,7 @@ interface EncodedVideoChunkMetadata { interface ErrorEventInit extends EventInit { colno?: number; @@ -60,7 +60,7 @@ filename?: string; lineno?: number; message?: string; -@@ -556,7 +542,7 @@ interface FontFaceDescriptors { +@@ -563,7 +549,7 @@ interface FontFaceDescriptors { } interface FontFaceSetLoadEventInit extends EventInit { @@ -69,7 +69,16 @@ } interface FormDataEventInit extends EventInit { -@@ -632,7 +618,7 @@ interface IDBIndexParameters { +@@ -597,7 +583,7 @@ interface GetAnimationsOptions { + + interface GetHTMLOptions { + serializableShadowRoots?: boolean; +- shadowRoots?: ShadowRoot[]; ++ shadowRoots?: readonly ShadowRoot[]; + } + + interface GetNotificationOptions { +@@ -646,7 +632,7 @@ interface IDBIndexParameters { interface IDBObjectStoreParameters { autoIncrement?: boolean; @@ -78,7 +87,7 @@ } interface IDBTransactionOptions { -@@ -645,8 +631,8 @@ interface IDBVersionChangeEventInit extends EventInit { +@@ -659,8 +645,8 @@ interface IDBVersionChangeEventInit extends EventInit { } interface IIRFilterOptions extends AudioNodeOptions { @@ -89,7 +98,7 @@ } interface IdleRequestOptions { -@@ -684,7 +670,7 @@ interface InputEventInit extends UIEventInit { +@@ -694,7 +680,7 @@ interface InputEventInit extends UIEventInit { dataTransfer?: DataTransfer | null; inputType?: string; isComposing?: boolean; @@ -98,7 +107,7 @@ } interface IntersectionObserverEntryInit { -@@ -700,7 +686,7 @@ interface IntersectionObserverEntryInit { +@@ -710,7 +696,7 @@ interface IntersectionObserverEntryInit { interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; @@ -107,7 +116,7 @@ } interface JsonWebKey { -@@ -712,10 +698,10 @@ interface JsonWebKey { +@@ -722,10 +708,10 @@ interface JsonWebKey { e?: string; ext?: boolean; k?: string; @@ -120,7 +129,7 @@ p?: string; q?: string; qi?: string; -@@ -765,8 +751,8 @@ interface LockInfo { +@@ -775,8 +761,8 @@ interface LockInfo { } interface LockManagerSnapshot { @@ -131,7 +140,7 @@ } interface LockOptions { -@@ -837,13 +823,13 @@ interface MediaKeyMessageEventInit extends EventInit { +@@ -847,13 +833,13 @@ interface MediaKeyMessageEventInit extends EventInit { } interface MediaKeySystemConfiguration { @@ -149,7 +158,7 @@ } interface MediaKeySystemMediaCapability { -@@ -855,7 +841,7 @@ interface MediaKeySystemMediaCapability { +@@ -869,7 +855,7 @@ interface MediaKeysPolicy { interface MediaMetadataInit { album?: string; artist?: string; @@ -158,7 +167,7 @@ title?: string; } -@@ -901,16 +887,16 @@ interface MediaStreamTrackEventInit extends EventInit { +@@ -915,16 +901,16 @@ interface MediaStreamTrackEventInit extends EventInit { interface MediaTrackCapabilities { aspectRatio?: DoubleRange; @@ -179,7 +188,7 @@ sampleRate?: ULongRange; sampleSize?: ULongRange; width?: ULongRange; -@@ -934,7 +920,7 @@ interface MediaTrackConstraintSet { +@@ -948,7 +934,7 @@ interface MediaTrackConstraintSet { } interface MediaTrackConstraints extends MediaTrackConstraintSet { @@ -188,7 +197,7 @@ } interface MediaTrackSettings { -@@ -971,11 +957,11 @@ interface MediaTrackSupportedConstraints { +@@ -985,11 +971,11 @@ interface MediaTrackSupportedConstraints { width?: boolean; } @@ -202,7 +211,7 @@ source?: MessageEventSource | null; } -@@ -1000,7 +986,7 @@ interface MutationObserverInit { +@@ -1014,7 +1000,7 @@ interface MutationObserverInit { * Set to a list of attribute local names (without namespace) if not all * attribute mutations need to be observed and attributes is true or omitted. */ @@ -211,7 +220,7 @@ /** * Set to true if attributes is true or omitted and target's attribute value * before the mutation needs to be recorded. -@@ -1038,7 +1024,7 @@ interface NavigationPreloadState { +@@ -1052,7 +1038,7 @@ interface NavigationPreloadState { interface NotificationOptions { badge?: string; body?: string; @@ -220,7 +229,7 @@ dir?: NotificationDirection; icon?: string; lang?: string; -@@ -1103,8 +1089,8 @@ interface PaymentCurrencyAmount { +@@ -1117,8 +1103,8 @@ interface PaymentCurrencyAmount { } interface PaymentDetailsBase { @@ -231,7 +240,7 @@ } interface PaymentDetailsInit extends PaymentDetailsBase { -@@ -1113,14 +1099,14 @@ interface PaymentDetailsInit extends PaymentDetailsBase { +@@ -1127,14 +1113,14 @@ interface PaymentDetailsInit extends PaymentDetailsBase { } interface PaymentDetailsModifier { @@ -249,7 +258,7 @@ total?: PaymentItem; } -@@ -1131,12 +1117,12 @@ interface PaymentItem { +@@ -1145,12 +1131,12 @@ interface PaymentItem { } interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { @@ -264,7 +273,7 @@ supportedMethods: string; } -@@ -1144,7 +1130,7 @@ interface PaymentRequestUpdateEventInit extends EventInit {} +@@ -1158,7 +1144,7 @@ interface PaymentRequestUpdateEventInit extends EventInit {} interface PaymentValidationErrors { error?: string; @@ -273,7 +282,7 @@ } interface Pbkdf2Params extends Algorithm { -@@ -1154,12 +1140,12 @@ interface Pbkdf2Params extends Algorithm { +@@ -1168,12 +1154,12 @@ interface Pbkdf2Params extends Algorithm { } interface PerformanceMarkOptions { @@ -288,7 +297,7 @@ duration?: DOMHighResTimeStamp; end?: string | DOMHighResTimeStamp; start?: string | DOMHighResTimeStamp; -@@ -1167,7 +1153,7 @@ interface PerformanceMeasureOptions { +@@ -1181,7 +1167,7 @@ interface PerformanceMeasureOptions { interface PerformanceObserverInit { buffered?: boolean; @@ -297,7 +306,7 @@ type?: string; } -@@ -1176,8 +1162,8 @@ interface PeriodicWaveConstraints { +@@ -1190,8 +1176,8 @@ interface PeriodicWaveConstraints { } interface PeriodicWaveOptions extends PeriodicWaveConstraints { @@ -308,7 +317,7 @@ } interface PermissionDescriptor { -@@ -1194,12 +1180,12 @@ interface PlaneLayout { +@@ -1208,12 +1194,12 @@ interface PlaneLayout { } interface PointerEventInit extends MouseEventInit { @@ -323,7 +332,7 @@ pressure?: number; tangentialPressure?: number; tiltX?: number; -@@ -1209,7 +1195,7 @@ interface PointerEventInit extends MouseEventInit { +@@ -1227,7 +1213,7 @@ interface PointerLockOptions { } interface PopStateEventInit extends EventInit { @@ -332,7 +341,7 @@ } interface PositionOptions { -@@ -1225,8 +1211,8 @@ interface ProgressEventInit extends EventInit { +@@ -1243,8 +1229,8 @@ interface ProgressEventInit extends EventInit { } interface PromiseRejectionEventInit extends EventInit { @@ -343,7 +352,7 @@ } interface PropertyDefinition { -@@ -1237,12 +1223,12 @@ interface PropertyDefinition { +@@ -1255,12 +1241,12 @@ interface PropertyDefinition { } interface PropertyIndexedKeyframes { @@ -359,7 +368,7 @@ | number | null | (number | null)[] -@@ -1253,9 +1239,9 @@ interface PublicKeyCredentialCreationOptions { +@@ -1271,9 +1257,9 @@ interface PublicKeyCredentialCreationOptions { attestation?: AttestationConveyancePreference; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: BufferSource; @@ -371,7 +380,7 @@ rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntity; -@@ -1263,7 +1249,7 @@ interface PublicKeyCredentialCreationOptions { +@@ -1281,7 +1267,7 @@ interface PublicKeyCredentialCreationOptions { interface PublicKeyCredentialDescriptor { id: BufferSource; @@ -380,7 +389,7 @@ type: PublicKeyCredentialType; } -@@ -1277,7 +1263,7 @@ interface PublicKeyCredentialParameters { +@@ -1295,7 +1281,7 @@ interface PublicKeyCredentialParameters { } interface PublicKeyCredentialRequestOptions { @@ -389,7 +398,7 @@ challenge: BufferSource; extensions?: AuthenticationExtensionsClientInputs; rpId?: string; -@@ -1305,7 +1291,7 @@ interface PushSubscriptionOptionsInit { +@@ -1323,7 +1309,7 @@ interface PushSubscriptionOptionsInit { userVisibleOnly?: boolean; } @@ -398,7 +407,7 @@ highWaterMark?: number; size?: QueuingStrategySize; } -@@ -1330,9 +1316,9 @@ interface RTCCertificateExpiration { +@@ -1348,9 +1334,9 @@ interface RTCCertificateExpiration { interface RTCConfiguration { bundlePolicy?: RTCBundlePolicy; @@ -410,7 +419,7 @@ iceTransportPolicy?: RTCIceTransportPolicy; rtcpMuxPolicy?: RTCRtcpMuxPolicy; } -@@ -1360,15 +1346,15 @@ interface RTCDtlsFingerprint { +@@ -1378,15 +1364,15 @@ interface RTCDtlsFingerprint { } interface RTCEncodedAudioFrameMetadata { @@ -429,7 +438,7 @@ frameId?: number; height?: number; payloadType?: number; -@@ -1426,7 +1412,7 @@ interface RTCIceCandidatePairStats extends RTCStats { +@@ -1439,7 +1425,7 @@ interface RTCIceCandidatePairStats extends RTCStats { interface RTCIceServer { credential?: string; @@ -438,18 +447,18 @@ username?: string; } -@@ -1534,8 +1520,8 @@ interface RTCRtcpParameters { +@@ -1547,8 +1533,8 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { -- codecs: RTCRtpCodecCapability[]; +- codecs: RTCRtpCodec[]; - headerExtensions: RTCRtpHeaderExtensionCapability[]; -+ codecs: readonly RTCRtpCodecCapability[]; ++ codecs: readonly RTCRtpCodec[]; + headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } interface RTCRtpCodec { -@@ -1582,8 +1568,8 @@ interface RTCRtpHeaderExtensionParameters { +@@ -1593,8 +1579,8 @@ interface RTCRtpHeaderExtensionParameters { } interface RTCRtpParameters { @@ -460,7 +469,7 @@ rtcp: RTCRtcpParameters; } -@@ -1591,7 +1577,7 @@ interface RTCRtpReceiveParameters extends RTCRtpParameters {} +@@ -1602,7 +1588,7 @@ interface RTCRtpReceiveParameters extends RTCRtpParameters {} interface RTCRtpSendParameters extends RTCRtpParameters { degradationPreference?: RTCDegradationPreference; @@ -469,7 +478,7 @@ transactionId: string; } -@@ -1606,8 +1592,8 @@ interface RTCRtpSynchronizationSource extends RTCRtpContributingSource {} +@@ -1617,8 +1603,8 @@ interface RTCRtpSynchronizationSource extends RTCRtpContributingSource {} interface RTCRtpTransceiverInit { direction?: RTCRtpTransceiverDirection; @@ -480,7 +489,7 @@ } interface RTCSentRtpStreamStats extends RTCRtpStreamStats { -@@ -1630,7 +1616,7 @@ interface RTCStats { +@@ -1641,7 +1627,7 @@ interface RTCStats { interface RTCTrackEventInit extends EventInit { receiver: RTCRtpReceiver; @@ -489,7 +498,7 @@ track: MediaStreamTrack; transceiver: RTCRtpTransceiver; } -@@ -1671,7 +1657,7 @@ interface ReadableStreamReadValueResult { +@@ -1697,7 +1683,7 @@ interface ReadableStreamReadValueResult { value: T; } @@ -498,7 +507,7 @@ readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through -@@ -1693,7 +1679,7 @@ interface RegistrationOptions { +@@ -1719,7 +1705,7 @@ interface RegistrationOptions { interface ReportingObserverOptions { buffered?: boolean; @@ -507,7 +516,7 @@ } interface RequestInit { -@@ -1838,7 +1824,7 @@ interface ShadowRootInit { +@@ -1865,7 +1851,7 @@ interface ShadowRootInit { } interface ShareData { @@ -516,7 +525,7 @@ text?: string; title?: string; url?: string; -@@ -1926,7 +1912,7 @@ interface StreamPipeOptions { +@@ -1953,7 +1939,7 @@ interface StreamPipeOptions { } interface StructuredSerializeOptions { @@ -525,7 +534,7 @@ } interface SubmitEventInit extends EventInit { -@@ -1953,9 +1939,9 @@ interface ToggleEventInit extends EventInit { +@@ -1980,9 +1966,9 @@ interface ToggleEventInit extends EventInit { } interface TouchEventInit extends EventModifierInit { @@ -538,7 +547,7 @@ } interface TouchInit { -@@ -1980,7 +1966,7 @@ interface TrackEventInit extends EventInit { +@@ -2007,7 +1993,7 @@ interface TrackEventInit extends EventInit { track?: TextTrack | null; } @@ -547,7 +556,7 @@ flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; -@@ -2010,20 +1996,20 @@ interface UnderlyingByteSource { +@@ -2037,20 +2023,20 @@ interface UnderlyingByteSource { autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: (controller: ReadableByteStreamController) => void | PromiseLike; @@ -572,7 +581,7 @@ abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; -@@ -2031,7 +2017,7 @@ interface UnderlyingSink { +@@ -2058,7 +2044,7 @@ interface UnderlyingSink { write?: UnderlyingSinkWriteCallback; } @@ -581,7 +590,7 @@ autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; -@@ -2131,7 +2117,7 @@ interface VideoFrameBufferInit { +@@ -2158,7 +2144,7 @@ interface VideoFrameBufferInit { displayWidth?: number; duration?: number; format: VideoPixelFormat; @@ -590,7 +599,7 @@ timestamp: number; visibleRect?: DOMRectInit; } -@@ -2150,7 +2136,7 @@ interface VideoFrameCallbackMetadata { +@@ -2177,7 +2163,7 @@ interface VideoFrameCallbackMetadata { } interface VideoFrameCopyToOptions { @@ -599,7 +608,7 @@ rect?: DOMRectInit; } -@@ -2164,7 +2150,7 @@ interface VideoFrameInit { +@@ -2191,7 +2177,7 @@ interface VideoFrameInit { } interface WaveShaperOptions extends AudioNodeOptions { @@ -608,7 +617,7 @@ oversample?: OverSampleType; } -@@ -2203,7 +2189,7 @@ interface WebTransportOptions { +@@ -2230,7 +2216,7 @@ interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; requireUnreliable?: boolean; @@ -617,7 +626,7 @@ } interface WebTransportSendStreamOptions { -@@ -2240,7 +2226,7 @@ interface WriteParams { +@@ -2267,7 +2253,7 @@ interface WriteParams { type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number }; @@ -626,7 +635,7 @@ readonly FILTER_ACCEPT: 1; readonly FILTER_REJECT: 2; readonly FILTER_SKIP: 3; -@@ -2512,10 +2498,10 @@ interface AbortController { +@@ -2549,10 +2535,10 @@ interface AbortController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort) */ @@ -639,7 +648,7 @@ prototype: AbortController; new (): AbortController; }; -@@ -2543,12 +2529,12 @@ interface AbortSignal extends EventTarget { +@@ -2580,12 +2566,12 @@ interface AbortSignal extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */ @@ -654,7 +663,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) -@@ -2556,7 +2542,7 @@ interface AbortSignal extends EventTarget { +@@ -2593,7 +2579,7 @@ interface AbortSignal extends EventTarget { throwIfAborted(): void; addEventListener( type: K, @@ -663,7 +672,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2566,7 +2552,7 @@ interface AbortSignal extends EventTarget { +@@ -2603,7 +2589,7 @@ interface AbortSignal extends EventTarget { ): void; removeEventListener( type: K, @@ -672,7 +681,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2576,14 +2562,14 @@ interface AbortSignal extends EventTarget { +@@ -2613,19 +2599,19 @@ interface AbortSignal extends EventTarget { ): void; } @@ -686,10 +695,16 @@ */ - abort(reason?: any): AbortSignal; + abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ +- any(signals: AbortSignal[]): AbortSignal; ++ any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) -@@ -2630,7 +2616,7 @@ interface AbstractRange { +@@ -2672,7 +2658,7 @@ interface AbstractRange { readonly startOffset: number; } @@ -698,7 +713,7 @@ prototype: AbstractRange; new (): AbstractRange; }; -@@ -2644,10 +2630,10 @@ interface AbstractWorker { +@@ -2686,10 +2672,10 @@ interface AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */ @@ -711,7 +726,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2657,7 +2643,7 @@ interface AbstractWorker { +@@ -2699,7 +2685,7 @@ interface AbstractWorker { ): void; removeEventListener( type: K, @@ -720,7 +735,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2723,7 +2709,7 @@ interface AnalyserNode extends AudioNode { +@@ -2765,7 +2751,7 @@ interface AnalyserNode extends AudioNode { getFloatTimeDomainData(array: Float32Array): void; } @@ -729,7 +744,7 @@ prototype: AnalyserNode; new (context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; }; -@@ -2731,7 +2717,7 @@ declare var AnalyserNode: { +@@ -2773,7 +2759,7 @@ declare var AnalyserNode: { interface Animatable { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate) */ animate( @@ -738,7 +753,7 @@ options?: number | KeyframeAnimationOptions, ): Animation; /** -@@ -2770,17 +2756,17 @@ interface Animation extends EventTarget { +@@ -2812,17 +2798,17 @@ interface Animation extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel_event) */ @@ -759,7 +774,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending) -@@ -2849,7 +2835,7 @@ interface Animation extends EventTarget { +@@ -2891,7 +2877,7 @@ interface Animation extends EventTarget { updatePlaybackRate(playbackRate: number): void; addEventListener( type: K, @@ -768,7 +783,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -2859,7 +2845,7 @@ interface Animation extends EventTarget { +@@ -2901,7 +2887,7 @@ interface Animation extends EventTarget { ): void; removeEventListener( type: K, @@ -777,7 +792,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -2869,7 +2855,7 @@ interface Animation extends EventTarget { +@@ -2911,7 +2897,7 @@ interface Animation extends EventTarget { ): void; } @@ -786,7 +801,7 @@ prototype: Animation; new ( effect?: AnimationEffect | null, -@@ -2896,7 +2882,7 @@ interface AnimationEffect { +@@ -2938,7 +2924,7 @@ interface AnimationEffect { updateTiming(timing?: OptionalEffectTiming): void; } @@ -795,7 +810,7 @@ prototype: AnimationEffect; new (): AnimationEffect; }; -@@ -2924,7 +2910,7 @@ interface AnimationEvent extends Event { +@@ -2966,7 +2952,7 @@ interface AnimationEvent extends Event { readonly pseudoElement: string; } @@ -804,7 +819,7 @@ prototype: AnimationEvent; new ( type: string, -@@ -2962,7 +2948,7 @@ interface AnimationPlaybackEvent extends Event { +@@ -3004,7 +2990,7 @@ interface AnimationPlaybackEvent extends Event { readonly timelineTime: CSSNumberish | null; } @@ -813,7 +828,7 @@ prototype: AnimationPlaybackEvent; new ( type: string, -@@ -2979,7 +2965,7 @@ interface AnimationTimeline { +@@ -3021,7 +3007,7 @@ interface AnimationTimeline { readonly currentTime: CSSNumberish | null; } @@ -822,7 +837,7 @@ prototype: AnimationTimeline; new (): AnimationTimeline; }; -@@ -3020,7 +3006,7 @@ interface Attr extends Node { +@@ -3062,7 +3048,7 @@ interface Attr extends Node { value: string; } @@ -831,7 +846,7 @@ prototype: Attr; new (): Attr; }; -@@ -3079,7 +3065,7 @@ interface AudioBuffer { +@@ -3121,7 +3107,7 @@ interface AudioBuffer { getChannelData(channel: number): Float32Array; } @@ -840,7 +855,7 @@ prototype: AudioBuffer; new (options: AudioBufferOptions): AudioBuffer; }; -@@ -3135,7 +3121,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3177,7 +3163,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { listener: ( this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -849,7 +864,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3148,7 +3134,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3190,7 +3176,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { listener: ( this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -858,7 +873,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3158,7 +3144,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { +@@ -3200,7 +3186,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode { ): void; } @@ -867,7 +882,7 @@ prototype: AudioBufferSourceNode; new ( context: BaseAudioContext, -@@ -3222,7 +3208,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3264,7 +3250,7 @@ interface AudioContext extends BaseAudioContext { suspend(): Promise; addEventListener( type: K, @@ -876,7 +891,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3232,7 +3218,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3274,7 +3260,7 @@ interface AudioContext extends BaseAudioContext { ): void; removeEventListener( type: K, @@ -885,7 +900,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3242,7 +3228,7 @@ interface AudioContext extends BaseAudioContext { +@@ -3284,7 +3270,7 @@ interface AudioContext extends BaseAudioContext { ): void; } @@ -894,7 +909,7 @@ prototype: AudioContext; new (contextOptions?: AudioContextOptions): AudioContext; }; -@@ -3264,7 +3250,7 @@ interface AudioDestinationNode extends AudioNode { +@@ -3306,7 +3292,7 @@ interface AudioDestinationNode extends AudioNode { readonly maxChannelCount: number; } @@ -903,7 +918,7 @@ prototype: AudioDestinationNode; new (): AudioDestinationNode; }; -@@ -3346,7 +3332,7 @@ interface AudioListener { +@@ -3388,7 +3374,7 @@ interface AudioListener { setPosition(x: number, y: number, z: number): void; } @@ -912,7 +927,7 @@ prototype: AudioListener; new (): AudioListener; }; -@@ -3411,7 +3397,7 @@ interface AudioNode extends EventTarget { +@@ -3453,7 +3439,7 @@ interface AudioNode extends EventTarget { disconnect(destinationParam: AudioParam, output: number): void; } @@ -921,7 +936,7 @@ prototype: AudioNode; new (): AudioNode; }; -@@ -3487,13 +3473,13 @@ interface AudioParam { +@@ -3525,13 +3511,13 @@ interface AudioParam { * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */ setValueCurveAtTime( @@ -937,7 +952,7 @@ prototype: AudioParam; new (): AudioParam; }; -@@ -3502,11 +3488,11 @@ declare var AudioParam: { +@@ -3540,11 +3526,11 @@ declare var AudioParam: { interface AudioParamMap { forEach( callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, @@ -951,7 +966,7 @@ prototype: AudioParamMap; new (): AudioParamMap; }; -@@ -3547,7 +3533,7 @@ interface AudioProcessingEvent extends Event { +@@ -3585,7 +3571,7 @@ interface AudioProcessingEvent extends Event { } /** @deprecated */ @@ -960,7 +975,7 @@ prototype: AudioProcessingEvent; new ( type: string, -@@ -3568,7 +3554,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3606,7 +3592,7 @@ interface AudioScheduledSourceNode extends AudioNode { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/ended_event) */ @@ -969,7 +984,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/start) -@@ -3584,7 +3570,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3622,7 +3608,7 @@ interface AudioScheduledSourceNode extends AudioNode { listener: ( this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -978,7 +993,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3597,7 +3583,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3635,7 +3621,7 @@ interface AudioScheduledSourceNode extends AudioNode { listener: ( this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -987,7 +1002,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3607,7 +3593,7 @@ interface AudioScheduledSourceNode extends AudioNode { +@@ -3645,7 +3631,7 @@ interface AudioScheduledSourceNode extends AudioNode { ): void; } @@ -996,7 +1011,7 @@ prototype: AudioScheduledSourceNode; new (): AudioScheduledSourceNode; }; -@@ -3619,7 +3605,7 @@ declare var AudioScheduledSourceNode: { +@@ -3657,7 +3643,7 @@ declare var AudioScheduledSourceNode: { */ interface AudioWorklet extends Worklet {} @@ -1005,7 +1020,7 @@ prototype: AudioWorklet; new (): AudioWorklet; }; -@@ -3638,7 +3624,7 @@ interface AudioWorkletNode extends AudioNode { +@@ -3676,7 +3662,7 @@ interface AudioWorkletNode extends AudioNode { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */ @@ -1014,7 +1029,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters) -@@ -3651,7 +3637,10 @@ interface AudioWorkletNode extends AudioNode { +@@ -3689,7 +3675,10 @@ interface AudioWorkletNode extends AudioNode { readonly port: MessagePort; addEventListener( type: K, @@ -1026,7 +1041,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3661,7 +3650,10 @@ interface AudioWorkletNode extends AudioNode { +@@ -3699,7 +3688,10 @@ interface AudioWorkletNode extends AudioNode { ): void; removeEventListener( type: K, @@ -1038,7 +1053,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3671,7 +3663,7 @@ interface AudioWorkletNode extends AudioNode { +@@ -3709,7 +3701,7 @@ interface AudioWorkletNode extends AudioNode { ): void; } @@ -1047,7 +1062,7 @@ prototype: AudioWorkletNode; new ( context: BaseAudioContext, -@@ -3704,7 +3696,7 @@ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { +@@ -3742,7 +3734,7 @@ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly userHandle: ArrayBuffer | null; } @@ -1056,7 +1071,7 @@ prototype: AuthenticatorAssertionResponse; new (): AuthenticatorAssertionResponse; }; -@@ -3743,7 +3735,7 @@ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { +@@ -3781,7 +3773,7 @@ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { getTransports(): string[]; } @@ -1065,7 +1080,7 @@ prototype: AuthenticatorAttestationResponse; new (): AuthenticatorAttestationResponse; }; -@@ -3762,7 +3754,7 @@ interface AuthenticatorResponse { +@@ -3800,7 +3792,7 @@ interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } @@ -1074,7 +1089,7 @@ prototype: AuthenticatorResponse; new (): AuthenticatorResponse; }; -@@ -3773,7 +3765,7 @@ interface BarProp { +@@ -3811,7 +3803,7 @@ interface BarProp { readonly visible: boolean; } @@ -1083,7 +1098,7 @@ prototype: BarProp; new (): BarProp; }; -@@ -3810,7 +3802,7 @@ interface BaseAudioContext extends EventTarget { +@@ -3848,7 +3840,7 @@ interface BaseAudioContext extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/statechange_event) */ @@ -1092,7 +1107,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate) -@@ -3884,7 +3876,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3922,7 +3914,10 @@ interface BaseAudioContext extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */ @@ -1104,7 +1119,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createOscillator) -@@ -3900,8 +3895,8 @@ interface BaseAudioContext extends EventTarget { +@@ -3938,8 +3933,8 @@ interface BaseAudioContext extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */ createPeriodicWave( @@ -1115,7 +1130,7 @@ constraints?: PeriodicWaveConstraints, ): PeriodicWave; /** -@@ -3936,7 +3931,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3974,7 +3969,10 @@ interface BaseAudioContext extends EventTarget { ): Promise; addEventListener( type: K, @@ -1127,7 +1142,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3946,7 +3944,10 @@ interface BaseAudioContext extends EventTarget { +@@ -3984,7 +3982,10 @@ interface BaseAudioContext extends EventTarget { ): void; removeEventListener( type: K, @@ -1139,7 +1154,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3956,7 +3957,7 @@ interface BaseAudioContext extends EventTarget { +@@ -3994,7 +3995,7 @@ interface BaseAudioContext extends EventTarget { ): void; } @@ -1148,13 +1163,18 @@ prototype: BaseAudioContext; new (): BaseAudioContext; }; -@@ -3967,12 +3968,12 @@ declare var BaseAudioContext: { +@@ -4005,17 +4006,17 @@ declare var BaseAudioContext: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ -interface BeforeUnloadEvent extends Event { +interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ - returnValue: any; + returnValue: unknown; } @@ -1164,7 +1184,7 @@ prototype: BeforeUnloadEvent; new (): BeforeUnloadEvent; }; -@@ -4022,7 +4023,7 @@ interface BiquadFilterNode extends AudioNode { +@@ -4065,7 +4066,7 @@ interface BiquadFilterNode extends AudioNode { ): void; } @@ -1173,7 +1193,7 @@ prototype: BiquadFilterNode; new ( context: BaseAudioContext, -@@ -4056,9 +4057,9 @@ interface Blob { +@@ -4099,9 +4100,9 @@ interface Blob { text(): Promise; } @@ -1185,7 +1205,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent) */ -@@ -4072,7 +4073,7 @@ interface BlobEvent extends Event { +@@ -4115,7 +4116,7 @@ interface BlobEvent extends Event { readonly timecode: DOMHighResTimeStamp; } @@ -1194,7 +1214,7 @@ prototype: BlobEvent; new (type: string, eventInitDict: BlobEventInit): BlobEvent; }; -@@ -4098,7 +4099,7 @@ interface Body { +@@ -4141,7 +4142,7 @@ interface Body { */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -1203,7 +1223,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */ text(): Promise; } -@@ -4121,12 +4122,14 @@ interface BroadcastChannel extends EventTarget { +@@ -4164,12 +4165,14 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */ @@ -1220,7 +1240,7 @@ /** * Closes the BroadcastChannel object, opening it up to garbage collection. * -@@ -4142,10 +4145,13 @@ interface BroadcastChannel extends EventTarget { +@@ -4185,10 +4188,13 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage) */ @@ -1236,7 +1256,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4155,7 +4161,10 @@ interface BroadcastChannel extends EventTarget { +@@ -4198,7 +4204,10 @@ interface BroadcastChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -1248,7 +1268,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4165,7 +4174,7 @@ interface BroadcastChannel extends EventTarget { +@@ -4208,7 +4217,7 @@ interface BroadcastChannel extends EventTarget { ): void; } @@ -1257,7 +1277,7 @@ prototype: BroadcastChannel; new (name: string): BroadcastChannel; }; -@@ -4190,7 +4199,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { +@@ -4233,7 +4242,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -1266,7 +1286,7 @@ prototype: ByteLengthQueuingStrategy; new (init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; -@@ -4204,7 +4213,7 @@ declare var ByteLengthQueuingStrategy: { +@@ -4247,7 +4256,7 @@ declare var ByteLengthQueuingStrategy: { */ interface CDATASection extends Text {} @@ -1275,7 +1295,7 @@ prototype: CDATASection; new (): CDATASection; }; -@@ -4218,7 +4227,7 @@ interface CSSAnimation extends Animation { +@@ -4261,7 +4270,7 @@ interface CSSAnimation extends Animation { readonly animationName: string; addEventListener( type: K, @@ -1284,7 +1304,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4228,7 +4237,7 @@ interface CSSAnimation extends Animation { +@@ -4271,7 +4280,7 @@ interface CSSAnimation extends Animation { ): void; removeEventListener( type: K, @@ -1293,7 +1313,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4238,7 +4247,7 @@ interface CSSAnimation extends Animation { +@@ -4281,7 +4290,7 @@ interface CSSAnimation extends Animation { ): void; } @@ -1302,7 +1322,7 @@ prototype: CSSAnimation; new (): CSSAnimation; }; -@@ -4257,7 +4266,7 @@ interface CSSConditionRule extends CSSGroupingRule { +@@ -4300,7 +4309,7 @@ interface CSSConditionRule extends CSSGroupingRule { readonly conditionText: string; } @@ -1311,7 +1331,7 @@ prototype: CSSConditionRule; new (): CSSConditionRule; }; -@@ -4276,7 +4285,7 @@ interface CSSContainerRule extends CSSConditionRule { +@@ -4319,7 +4328,7 @@ interface CSSContainerRule extends CSSConditionRule { readonly containerQuery: string; } @@ -1320,7 +1340,7 @@ prototype: CSSContainerRule; new (): CSSContainerRule; }; -@@ -4343,7 +4352,7 @@ interface CSSCounterStyleRule extends CSSRule { +@@ -4386,7 +4395,7 @@ interface CSSCounterStyleRule extends CSSRule { system: string; } @@ -1329,7 +1349,7 @@ prototype: CSSCounterStyleRule; new (): CSSCounterStyleRule; }; -@@ -4357,7 +4366,7 @@ interface CSSFontFaceRule extends CSSRule { +@@ -4400,7 +4409,7 @@ interface CSSFontFaceRule extends CSSRule { readonly style: CSSStyleDeclaration; } @@ -1338,7 +1358,7 @@ prototype: CSSFontFaceRule; new (): CSSFontFaceRule; }; -@@ -4374,7 +4383,7 @@ interface CSSFontFeatureValuesRule extends CSSRule { +@@ -4417,7 +4426,7 @@ interface CSSFontFeatureValuesRule extends CSSRule { fontFamily: string; } @@ -1347,7 +1367,7 @@ prototype: CSSFontFeatureValuesRule; new (): CSSFontFeatureValuesRule; }; -@@ -4406,7 +4415,7 @@ interface CSSFontPaletteValuesRule extends CSSRule { +@@ -4449,7 +4458,7 @@ interface CSSFontPaletteValuesRule extends CSSRule { readonly overrideColors: string; } @@ -1356,7 +1376,7 @@ prototype: CSSFontPaletteValuesRule; new (): CSSFontPaletteValuesRule; }; -@@ -4434,7 +4443,7 @@ interface CSSGroupingRule extends CSSRule { +@@ -4477,7 +4486,7 @@ interface CSSGroupingRule extends CSSRule { insertRule(rule: string, index?: number): number; } @@ -1365,7 +1385,7 @@ prototype: CSSGroupingRule; new (): CSSGroupingRule; }; -@@ -4442,7 +4451,7 @@ declare var CSSGroupingRule: { +@@ -4485,7 +4494,7 @@ declare var CSSGroupingRule: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue) */ interface CSSImageValue extends CSSStyleValue {} @@ -1374,7 +1394,7 @@ prototype: CSSImageValue; new (): CSSImageValue; }; -@@ -4476,7 +4485,7 @@ interface CSSImportRule extends CSSRule { +@@ -4519,7 +4528,7 @@ interface CSSImportRule extends CSSRule { readonly supportsText: string | null; } @@ -1383,7 +1403,7 @@ prototype: CSSImportRule; new (): CSSImportRule; }; -@@ -4501,7 +4510,7 @@ interface CSSKeyframeRule extends CSSRule { +@@ -4544,7 +4553,7 @@ interface CSSKeyframeRule extends CSSRule { readonly style: CSSStyleDeclaration; } @@ -1392,7 +1412,7 @@ prototype: CSSKeyframeRule; new (): CSSKeyframeRule; }; -@@ -4543,7 +4552,7 @@ interface CSSKeyframesRule extends CSSRule { +@@ -4586,7 +4595,7 @@ interface CSSKeyframesRule extends CSSRule { [index: number]: CSSKeyframeRule; } @@ -1401,7 +1421,7 @@ prototype: CSSKeyframesRule; new (): CSSKeyframesRule; }; -@@ -4557,7 +4566,7 @@ interface CSSKeywordValue extends CSSStyleValue { +@@ -4600,7 +4609,7 @@ interface CSSKeywordValue extends CSSStyleValue { value: string; } @@ -1410,7 +1430,7 @@ prototype: CSSKeywordValue; new (value: string): CSSKeywordValue; }; -@@ -4571,7 +4580,7 @@ interface CSSLayerBlockRule extends CSSGroupingRule { +@@ -4614,7 +4623,7 @@ interface CSSLayerBlockRule extends CSSGroupingRule { readonly name: string; } @@ -1419,7 +1439,7 @@ prototype: CSSLayerBlockRule; new (): CSSLayerBlockRule; }; -@@ -4588,7 +4597,7 @@ interface CSSLayerStatementRule extends CSSRule { +@@ -4631,7 +4640,7 @@ interface CSSLayerStatementRule extends CSSRule { readonly nameList: ReadonlyArray; } @@ -1428,7 +1448,7 @@ prototype: CSSLayerStatementRule; new (): CSSLayerStatementRule; }; -@@ -4599,7 +4608,7 @@ interface CSSMathClamp extends CSSMathValue { +@@ -4642,7 +4651,7 @@ interface CSSMathClamp extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1437,7 +1457,7 @@ prototype: CSSMathClamp; new ( lower: CSSNumberish, -@@ -4617,7 +4626,7 @@ interface CSSMathInvert extends CSSMathValue { +@@ -4660,7 +4669,7 @@ interface CSSMathInvert extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1446,7 +1466,7 @@ prototype: CSSMathInvert; new (arg: CSSNumberish): CSSMathInvert; }; -@@ -4631,9 +4640,9 @@ interface CSSMathMax extends CSSMathValue { +@@ -4674,9 +4683,9 @@ interface CSSMathMax extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1458,7 +1478,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin) */ -@@ -4645,9 +4654,9 @@ interface CSSMathMin extends CSSMathValue { +@@ -4688,9 +4697,9 @@ interface CSSMathMin extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1470,7 +1490,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate) */ -@@ -4659,7 +4668,7 @@ interface CSSMathNegate extends CSSMathValue { +@@ -4702,7 +4711,7 @@ interface CSSMathNegate extends CSSMathValue { readonly value: CSSNumericValue; } @@ -1479,7 +1499,7 @@ prototype: CSSMathNegate; new (arg: CSSNumberish): CSSMathNegate; }; -@@ -4673,9 +4682,9 @@ interface CSSMathProduct extends CSSMathValue { +@@ -4716,9 +4725,9 @@ interface CSSMathProduct extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1491,7 +1511,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum) */ -@@ -4687,9 +4696,9 @@ interface CSSMathSum extends CSSMathValue { +@@ -4730,9 +4739,9 @@ interface CSSMathSum extends CSSMathValue { readonly values: CSSNumericArray; } @@ -1503,7 +1523,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue) */ -@@ -4701,7 +4710,7 @@ interface CSSMathValue extends CSSNumericValue { +@@ -4744,7 +4753,7 @@ interface CSSMathValue extends CSSNumericValue { readonly operator: CSSMathOperator; } @@ -1512,7 +1532,7 @@ prototype: CSSMathValue; new (): CSSMathValue; }; -@@ -4718,7 +4727,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { +@@ -4761,7 +4770,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { matrix: DOMMatrix; } @@ -1521,7 +1541,7 @@ prototype: CSSMatrixComponent; new ( matrix: DOMMatrixReadOnly, -@@ -4741,7 +4750,7 @@ interface CSSMediaRule extends CSSConditionRule { +@@ -4784,7 +4793,7 @@ interface CSSMediaRule extends CSSConditionRule { readonly media: MediaList; } @@ -1530,7 +1550,7 @@ prototype: CSSMediaRule; new (): CSSMediaRule; }; -@@ -4765,7 +4774,7 @@ interface CSSNamespaceRule extends CSSRule { +@@ -4808,7 +4817,7 @@ interface CSSNamespaceRule extends CSSRule { readonly prefix: string; } @@ -1539,7 +1559,7 @@ prototype: CSSNamespaceRule; new (): CSSNamespaceRule; }; -@@ -4783,12 +4792,12 @@ interface CSSNumericArray { +@@ -4826,12 +4835,12 @@ interface CSSNumericArray { key: number, parent: CSSNumericArray, ) => void, @@ -1554,7 +1574,7 @@ prototype: CSSNumericArray; new (): CSSNumericArray; }; -@@ -4799,37 +4808,37 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4842,37 +4851,37 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */ @@ -1599,7 +1619,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to) -@@ -4839,7 +4848,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4882,7 +4891,7 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum) */ @@ -1608,7 +1628,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type) -@@ -4847,7 +4856,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -4890,7 +4899,7 @@ interface CSSNumericValue extends CSSStyleValue { type(): CSSNumericType; } @@ -1617,7 +1637,7 @@ prototype: CSSNumericValue; new (): CSSNumericValue; /** -@@ -4876,7 +4885,7 @@ interface CSSPageRule extends CSSGroupingRule { +@@ -4919,7 +4928,7 @@ interface CSSPageRule extends CSSGroupingRule { readonly style: CSSStyleDeclaration; } @@ -1626,7 +1646,7 @@ prototype: CSSPageRule; new (): CSSPageRule; }; -@@ -4890,7 +4899,7 @@ interface CSSPerspective extends CSSTransformComponent { +@@ -4933,7 +4942,7 @@ interface CSSPerspective extends CSSTransformComponent { length: CSSPerspectiveValue; } @@ -1635,7 +1655,7 @@ prototype: CSSPerspective; new (length: CSSPerspectiveValue): CSSPerspective; }; -@@ -4919,7 +4928,7 @@ interface CSSPropertyRule extends CSSRule { +@@ -4962,7 +4971,7 @@ interface CSSPropertyRule extends CSSRule { readonly syntax: string; } @@ -1644,7 +1664,7 @@ prototype: CSSPropertyRule; new (): CSSPropertyRule; }; -@@ -4936,7 +4945,7 @@ interface CSSRotate extends CSSTransformComponent { +@@ -4979,7 +4988,7 @@ interface CSSRotate extends CSSTransformComponent { z: CSSNumberish; } @@ -1653,7 +1673,7 @@ prototype: CSSRotate; new (angle: CSSNumericValue): CSSRotate; new ( -@@ -4986,7 +4995,7 @@ interface CSSRule { +@@ -5029,7 +5038,7 @@ interface CSSRule { readonly FONT_FEATURE_VALUES_RULE: 14; } @@ -1662,7 +1682,7 @@ prototype: CSSRule; new (): CSSRule; readonly STYLE_RULE: 1; -@@ -5023,7 +5032,7 @@ interface CSSRuleList { +@@ -5066,7 +5075,7 @@ interface CSSRuleList { [index: number]: CSSRule; } @@ -1671,7 +1691,7 @@ prototype: CSSRuleList; new (): CSSRuleList; }; -@@ -5038,7 +5047,7 @@ interface CSSScale extends CSSTransformComponent { +@@ -5081,7 +5090,7 @@ interface CSSScale extends CSSTransformComponent { z: CSSNumberish; } @@ -1680,7 +1700,16 @@ prototype: CSSScale; new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; -@@ -5051,7 +5060,7 @@ interface CSSSkew extends CSSTransformComponent { +@@ -5100,7 +5109,7 @@ interface CSSScopeRule extends CSSGroupingRule { + readonly start: string | null; + } + +-declare var CSSScopeRule: { ++declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; + }; +@@ -5113,7 +5122,7 @@ interface CSSSkew extends CSSTransformComponent { ay: CSSNumericValue; } @@ -1689,7 +1718,7 @@ prototype: CSSSkew; new (ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew; }; -@@ -5062,7 +5071,7 @@ interface CSSSkewX extends CSSTransformComponent { +@@ -5124,7 +5133,7 @@ interface CSSSkewX extends CSSTransformComponent { ax: CSSNumericValue; } @@ -1698,7 +1727,7 @@ prototype: CSSSkewX; new (ax: CSSNumericValue): CSSSkewX; }; -@@ -5073,7 +5082,7 @@ interface CSSSkewY extends CSSTransformComponent { +@@ -5135,7 +5144,7 @@ interface CSSSkewY extends CSSTransformComponent { ay: CSSNumericValue; } @@ -1707,7 +1736,16 @@ prototype: CSSSkewY; new (ay: CSSNumericValue): CSSSkewY; }; -@@ -6861,7 +6870,7 @@ interface CSSStyleDeclaration { +@@ -5146,7 +5155,7 @@ declare var CSSSkewY: { + */ + interface CSSStartingStyleRule extends CSSGroupingRule {} + +-declare var CSSStartingStyleRule: { ++declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; + }; +@@ -6957,7 +6966,7 @@ interface CSSStyleDeclaration { [index: number]: string; } @@ -1716,7 +1754,7 @@ prototype: CSSStyleDeclaration; new (): CSSStyleDeclaration; }; -@@ -6890,7 +6899,7 @@ interface CSSStyleRule extends CSSGroupingRule { +@@ -6986,7 +6995,7 @@ interface CSSStyleRule extends CSSGroupingRule { readonly styleMap: StylePropertyMap; } @@ -1725,7 +1763,7 @@ prototype: CSSStyleRule; new (): CSSStyleRule; }; -@@ -6955,7 +6964,7 @@ interface CSSStyleSheet extends StyleSheet { +@@ -7051,7 +7060,7 @@ interface CSSStyleSheet extends StyleSheet { replaceSync(text: string): void; } @@ -1734,7 +1772,7 @@ prototype: CSSStyleSheet; new (options?: CSSStyleSheetInit): CSSStyleSheet; }; -@@ -6965,7 +6974,7 @@ interface CSSStyleValue { +@@ -7061,7 +7070,7 @@ interface CSSStyleValue { toString(): string; } @@ -1743,7 +1781,7 @@ prototype: CSSStyleValue; new (): CSSStyleValue; /** -@@ -6989,7 +6998,7 @@ declare var CSSStyleValue: { +@@ -7085,7 +7094,7 @@ declare var CSSStyleValue: { */ interface CSSSupportsRule extends CSSConditionRule {} @@ -1752,7 +1790,7 @@ prototype: CSSSupportsRule; new (): CSSSupportsRule; }; -@@ -7012,7 +7021,7 @@ interface CSSTransformComponent { +@@ -7108,7 +7117,7 @@ interface CSSTransformComponent { toString(): string; } @@ -1761,7 +1799,7 @@ prototype: CSSTransformComponent; new (): CSSTransformComponent; }; -@@ -7040,14 +7049,14 @@ interface CSSTransformValue extends CSSStyleValue { +@@ -7136,14 +7145,14 @@ interface CSSTransformValue extends CSSStyleValue { key: number, parent: CSSTransformValue, ) => void, @@ -1779,7 +1817,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition) */ -@@ -7059,7 +7068,7 @@ interface CSSTransition extends Animation { +@@ -7155,7 +7164,7 @@ interface CSSTransition extends Animation { readonly transitionProperty: string; addEventListener( type: K, @@ -1788,7 +1826,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7069,7 +7078,7 @@ interface CSSTransition extends Animation { +@@ -7165,7 +7174,7 @@ interface CSSTransition extends Animation { ): void; removeEventListener( type: K, @@ -1797,7 +1835,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7079,7 +7088,7 @@ interface CSSTransition extends Animation { +@@ -7175,7 +7184,7 @@ interface CSSTransition extends Animation { ): void; } @@ -1806,7 +1844,7 @@ prototype: CSSTransition; new (): CSSTransition; }; -@@ -7094,7 +7103,7 @@ interface CSSTranslate extends CSSTransformComponent { +@@ -7190,7 +7199,7 @@ interface CSSTranslate extends CSSTransformComponent { z: CSSNumericValue; } @@ -1815,7 +1853,7 @@ prototype: CSSTranslate; new ( x: CSSNumericValue, -@@ -7117,7 +7126,7 @@ interface CSSUnitValue extends CSSNumericValue { +@@ -7213,7 +7222,7 @@ interface CSSUnitValue extends CSSNumericValue { value: number; } @@ -1824,7 +1862,7 @@ prototype: CSSUnitValue; new (value: number, unit: string): CSSUnitValue; }; -@@ -7135,14 +7144,14 @@ interface CSSUnparsedValue extends CSSStyleValue { +@@ -7231,14 +7240,14 @@ interface CSSUnparsedValue extends CSSStyleValue { key: number, parent: CSSUnparsedValue, ) => void, @@ -1842,7 +1880,7 @@ }; /** -@@ -7162,7 +7171,7 @@ interface CSSVariableReferenceValue { +@@ -7258,7 +7267,7 @@ interface CSSVariableReferenceValue { variable: string; } @@ -1851,7 +1889,7 @@ prototype: CSSVariableReferenceValue; new ( variable: string, -@@ -7183,7 +7192,7 @@ interface Cache { +@@ -7279,7 +7288,7 @@ interface Cache { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add) */ add(request: RequestInfo | URL): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ @@ -1860,7 +1898,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete) */ delete( request: RequestInfo | URL, -@@ -7208,7 +7217,7 @@ interface Cache { +@@ -7304,7 +7313,7 @@ interface Cache { put(request: RequestInfo | URL, response: Response): Promise; } @@ -1869,7 +1907,7 @@ prototype: Cache; new (): Cache; }; -@@ -7249,7 +7258,7 @@ interface CacheStorage { +@@ -7345,7 +7354,7 @@ interface CacheStorage { open(cacheName: string): Promise; } @@ -1878,7 +1916,7 @@ prototype: CacheStorage; new (): CacheStorage; }; -@@ -7274,7 +7283,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7370,7 +7379,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { listener: ( this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K], @@ -1887,7 +1925,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7287,7 +7296,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7383,7 +7392,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { listener: ( this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K], @@ -1896,7 +1934,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7297,7 +7306,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { +@@ -7393,7 +7402,7 @@ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { ): void; } @@ -1905,7 +1943,7 @@ prototype: CanvasCaptureMediaStreamTrack; new (): CanvasCaptureMediaStreamTrack; }; -@@ -7462,7 +7471,7 @@ interface CanvasGradient { +@@ -7558,7 +7567,7 @@ interface CanvasGradient { addColorStop(offset: number, color: string): void; } @@ -1914,7 +1952,7 @@ prototype: CanvasGradient; new (): CanvasGradient; }; -@@ -7635,7 +7644,7 @@ interface CanvasPathDrawingStyles { +@@ -7731,7 +7740,7 @@ interface CanvasPathDrawingStyles { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */ @@ -1923,7 +1961,7 @@ } /** -@@ -7655,7 +7664,7 @@ interface CanvasPattern { +@@ -7751,7 +7760,7 @@ interface CanvasPattern { setTransform(transform?: DOMMatrix2DInit): void; } @@ -1932,7 +1970,7 @@ prototype: CanvasPattern; new (): CanvasPattern; }; -@@ -7715,7 +7724,7 @@ interface CanvasRenderingContext2D +@@ -7811,7 +7820,7 @@ interface CanvasRenderingContext2D getContextAttributes(): CanvasRenderingContext2DSettings; } @@ -1941,7 +1979,7 @@ prototype: CanvasRenderingContext2D; new (): CanvasRenderingContext2D; }; -@@ -7905,7 +7914,7 @@ interface CanvasUserInterface { +@@ -8006,7 +8015,7 @@ interface CanvasUserInterface { */ interface ChannelMergerNode extends AudioNode {} @@ -1950,7 +1988,7 @@ prototype: ChannelMergerNode; new ( context: BaseAudioContext, -@@ -7925,7 +7934,7 @@ declare var ChannelMergerNode: { +@@ -8026,7 +8035,7 @@ declare var ChannelMergerNode: { */ interface ChannelSplitterNode extends AudioNode {} @@ -1959,7 +1997,7 @@ prototype: ChannelSplitterNode; new ( context: BaseAudioContext, -@@ -7980,7 +7989,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { +@@ -8081,7 +8090,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { substringData(offset: number, count: number): string; } @@ -1968,7 +2006,7 @@ prototype: CharacterData; new (): CharacterData; }; -@@ -8053,7 +8062,7 @@ interface Clipboard extends EventTarget { +@@ -8154,7 +8163,7 @@ interface Clipboard extends EventTarget { writeText(data: string): Promise; } @@ -1977,7 +2015,7 @@ prototype: Clipboard; new (): Clipboard; }; -@@ -8072,7 +8081,7 @@ interface ClipboardEvent extends Event { +@@ -8173,7 +8182,7 @@ interface ClipboardEvent extends Event { readonly clipboardData: DataTransfer | null; } @@ -1986,7 +2024,7 @@ prototype: ClipboardEvent; new (type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; }; -@@ -8095,7 +8104,7 @@ interface ClipboardItem { +@@ -8201,7 +8210,7 @@ interface ClipboardItem { getType(type: string): Promise; } @@ -1995,7 +2033,7 @@ prototype: ClipboardItem; new ( items: Record>, -@@ -8133,7 +8142,7 @@ interface CloseEvent extends Event { +@@ -8244,7 +8253,7 @@ interface CloseEvent extends Event { readonly wasClean: boolean; } @@ -2004,7 +2042,7 @@ prototype: CloseEvent; new (type: string, eventInitDict?: CloseEventInit): CloseEvent; }; -@@ -8146,7 +8155,7 @@ declare var CloseEvent: { +@@ -8257,7 +8266,7 @@ declare var CloseEvent: { */ interface Comment extends CharacterData {} @@ -2013,7 +2051,7 @@ prototype: Comment; new (data?: string): Comment; }; -@@ -8178,7 +8187,7 @@ interface CompositionEvent extends UIEvent { +@@ -8289,7 +8298,7 @@ interface CompositionEvent extends UIEvent { ): void; } @@ -2022,7 +2060,7 @@ prototype: CompositionEvent; new (type: string, eventInitDict?: CompositionEventInit): CompositionEvent; }; -@@ -8186,7 +8195,7 @@ declare var CompositionEvent: { +@@ -8297,7 +8306,7 @@ declare var CompositionEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream {} @@ -2031,7 +2069,7 @@ prototype: CompressionStream; new (format: CompressionFormat): CompressionStream; }; -@@ -8206,7 +8215,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8317,7 +8326,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { listener: ( this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -2040,7 +2078,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8219,7 +8228,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8330,7 +8339,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { listener: ( this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -2049,7 +2087,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8229,7 +8238,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { +@@ -8340,7 +8349,7 @@ interface ConstantSourceNode extends AudioScheduledSourceNode { ): void; } @@ -2058,7 +2096,16 @@ prototype: ConstantSourceNode; new ( context: BaseAudioContext, -@@ -8257,7 +8266,7 @@ interface ConvolverNode extends AudioNode { +@@ -8360,7 +8369,7 @@ interface ContentVisibilityAutoStateChangeEvent extends Event { + readonly skipped: boolean; + } + +-declare var ContentVisibilityAutoStateChangeEvent: { ++declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, +@@ -8388,7 +8397,7 @@ interface ConvolverNode extends AudioNode { normalize: boolean; } @@ -2067,7 +2114,7 @@ prototype: ConvolverNode; new (context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; }; -@@ -8282,7 +8291,7 @@ interface CountQueuingStrategy extends QueuingStrategy { +@@ -8413,7 +8422,7 @@ interface CountQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -2076,7 +2123,7 @@ prototype: CountQueuingStrategy; new (init: QueuingStrategyInit): CountQueuingStrategy; }; -@@ -8299,7 +8308,7 @@ interface Credential { +@@ -8430,7 +8439,7 @@ interface Credential { readonly type: string; } @@ -2085,7 +2132,7 @@ prototype: Credential; new (): Credential; }; -@@ -8333,7 +8342,7 @@ interface CredentialsContainer { +@@ -8464,7 +8473,7 @@ interface CredentialsContainer { store(credential: Credential): Promise; } @@ -2094,7 +2141,7 @@ prototype: CredentialsContainer; new (): CredentialsContainer; }; -@@ -8366,7 +8375,7 @@ interface Crypto { +@@ -8497,7 +8506,7 @@ interface Crypto { randomUUID(): `${string}-${string}-${string}-${string}-${string}`; } @@ -2103,7 +2150,7 @@ prototype: Crypto; new (): Crypto; }; -@@ -8394,10 +8403,10 @@ interface CryptoKey { +@@ -8525,10 +8534,10 @@ interface CryptoKey { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */ @@ -2116,7 +2163,7 @@ prototype: CryptoKey; new (): CryptoKey; }; -@@ -8438,13 +8447,13 @@ interface CustomElementRegistry { +@@ -8569,13 +8578,13 @@ interface CustomElementRegistry { whenDefined(name: string): Promise; } @@ -2132,7 +2179,7 @@ /** * Returns any custom data event was created with. Typically used for * synthetic events. -@@ -8467,7 +8476,7 @@ interface CustomEvent extends Event { +@@ -8598,7 +8607,7 @@ interface CustomEvent extends Event { ): void; } @@ -2141,7 +2188,21 @@ prototype: CustomEvent; new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; -@@ -8523,7 +8532,7 @@ interface DOMException extends Error { +@@ -8607,11 +8616,11 @@ declare var CustomEvent: { + interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, +- thisArg?: any, ++ thisArg?: unknown, + ): void; + } + +-declare var CustomStateSet: { ++declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; + }; +@@ -8667,7 +8676,7 @@ interface DOMException extends Error { readonly DATA_CLONE_ERR: 25; } @@ -2150,7 +2211,7 @@ prototype: DOMException; new (message?: string, name?: string): DOMException; readonly INDEX_SIZE_ERR: 1; -@@ -8590,10 +8599,10 @@ interface DOMImplementation { +@@ -8734,10 +8743,10 @@ interface DOMImplementation { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/hasFeature) */ @@ -2163,7 +2224,7 @@ prototype: DOMImplementation; new (): DOMImplementation; }; -@@ -8661,19 +8670,19 @@ interface DOMMatrix extends DOMMatrixReadOnly { +@@ -8797,19 +8806,19 @@ interface DOMMatrix extends DOMMatrixReadOnly { translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -2187,16 +2248,16 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { -@@ -8886,7 +8895,7 @@ interface DOMMatrixReadOnly { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ +@@ -8877,7 +8886,7 @@ interface DOMMatrixReadOnly { + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; - toJSON(): any; + toJSON(): unknown; + transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) -@@ -8900,9 +8909,9 @@ interface DOMMatrixReadOnly { +@@ -8887,9 +8896,9 @@ interface DOMMatrixReadOnly { toString(): string; } @@ -2208,7 +2269,7 @@ fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; -@@ -8937,7 +8946,7 @@ interface DOMParser { +@@ -8924,7 +8933,7 @@ interface DOMParser { parseFromString(string: string, type: DOMParserSupportedType): Document; } @@ -2217,7 +2278,7 @@ prototype: DOMParser; new (): DOMParser; }; -@@ -8954,7 +8963,7 @@ interface DOMPoint extends DOMPointReadOnly { +@@ -8941,7 +8950,7 @@ interface DOMPoint extends DOMPointReadOnly { z: number; } @@ -2226,7 +2287,7 @@ prototype: DOMPoint; new (x?: number, y?: number, z?: number, w?: number): DOMPoint; /** -@@ -8965,7 +8974,7 @@ declare var DOMPoint: { +@@ -8952,7 +8961,7 @@ declare var DOMPoint: { }; type SVGPoint = DOMPoint; @@ -2235,7 +2296,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly) */ interface DOMPointReadOnly { -@@ -8998,10 +9007,10 @@ interface DOMPointReadOnly { +@@ -8981,10 +8990,10 @@ interface DOMPointReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ @@ -2248,9 +2309,9 @@ prototype: DOMPointReadOnly; new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; /** -@@ -9026,10 +9035,10 @@ interface DOMQuad { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ +@@ -9001,10 +9010,10 @@ interface DOMQuad { + readonly p3: DOMPoint; + readonly p4: DOMPoint; getBounds(): DOMRect; - toJSON(): any; + toJSON(): unknown; @@ -2261,7 +2322,7 @@ prototype: DOMQuad; new ( p1?: DOMPointInit, -@@ -9049,14 +9058,14 @@ interface DOMRect extends DOMRectReadOnly { +@@ -9024,7 +9033,7 @@ interface DOMRect extends DOMRectReadOnly { y: number; } @@ -2269,7 +2330,8 @@ +declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; + /** +@@ -9035,7 +9044,7 @@ declare var DOMRect: { }; type SVGRect = DOMRect; @@ -2278,7 +2340,7 @@ interface DOMRectList { readonly length: number; -@@ -9064,7 +9073,7 @@ interface DOMRectList { +@@ -9043,7 +9052,7 @@ interface DOMRectList { [index: number]: DOMRect; } @@ -2287,7 +2349,7 @@ prototype: DOMRectList; new (): DOMRectList; }; -@@ -9111,10 +9120,10 @@ interface DOMRectReadOnly { +@@ -9090,10 +9099,10 @@ interface DOMRectReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */ readonly y: number; @@ -2300,7 +2362,7 @@ prototype: DOMRectReadOnly; new ( x?: number, -@@ -9159,7 +9168,7 @@ interface DOMStringList { +@@ -9138,7 +9147,7 @@ interface DOMStringList { [index: number]: string; } @@ -2309,7 +2371,7 @@ prototype: DOMStringList; new (): DOMStringList; }; -@@ -9174,7 +9183,7 @@ interface DOMStringMap { +@@ -9153,7 +9162,7 @@ interface DOMStringMap { [name: string]: string | undefined; } @@ -2318,7 +2380,7 @@ prototype: DOMStringMap; new (): DOMStringMap; }; -@@ -9218,7 +9227,7 @@ interface DOMTokenList { +@@ -9197,7 +9206,7 @@ interface DOMTokenList { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/add) */ @@ -2327,7 +2389,7 @@ /** * Returns true if token is present, and false otherwise. * -@@ -9245,7 +9254,7 @@ interface DOMTokenList { +@@ -9224,7 +9233,7 @@ interface DOMTokenList { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/remove) */ @@ -2336,7 +2398,7 @@ /** * Replaces token with newToken. * -@@ -9290,12 +9299,12 @@ interface DOMTokenList { +@@ -9269,12 +9278,12 @@ interface DOMTokenList { toggle(token: string, force?: boolean): boolean; forEach( callbackfn: (value: string, key: number, parent: DOMTokenList) => void, @@ -2351,7 +2413,7 @@ prototype: DOMTokenList; new (): DOMTokenList; }; -@@ -9398,7 +9407,7 @@ interface DataTransfer { +@@ -9377,7 +9386,7 @@ interface DataTransfer { setDragImage(image: Element, x: number, y: number): void; } @@ -2360,7 +2422,7 @@ prototype: DataTransfer; new (): DataTransfer; }; -@@ -9447,7 +9456,7 @@ interface DataTransferItem { +@@ -9426,7 +9435,7 @@ interface DataTransferItem { webkitGetAsEntry(): FileSystemEntry | null; } @@ -2369,7 +2431,7 @@ prototype: DataTransferItem; new (): DataTransferItem; }; -@@ -9494,7 +9503,7 @@ interface DataTransferItemList { +@@ -9473,7 +9482,7 @@ interface DataTransferItemList { [index: number]: DataTransferItem; } @@ -2378,7 +2440,7 @@ prototype: DataTransferItemList; new (): DataTransferItemList; }; -@@ -9505,7 +9514,7 @@ declare var DataTransferItemList: { +@@ -9484,7 +9493,7 @@ declare var DataTransferItemList: { */ interface DecompressionStream extends GenericTransformStream {} @@ -2387,7 +2449,7 @@ prototype: DecompressionStream; new (format: CompressionFormat): DecompressionStream; }; -@@ -9524,7 +9533,7 @@ interface DelayNode extends AudioNode { +@@ -9503,7 +9512,7 @@ interface DelayNode extends AudioNode { readonly delayTime: AudioParam; } @@ -2396,7 +2458,7 @@ prototype: DelayNode; new (context: BaseAudioContext, options?: DelayOptions): DelayNode; }; -@@ -9559,7 +9568,7 @@ interface DeviceMotionEvent extends Event { +@@ -9538,7 +9547,7 @@ interface DeviceMotionEvent extends Event { readonly rotationRate: DeviceMotionEventRotationRate | null; } @@ -2405,7 +2467,7 @@ prototype: DeviceMotionEvent; new (type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; }; -@@ -9643,7 +9652,7 @@ interface DeviceOrientationEvent extends Event { +@@ -9622,7 +9631,7 @@ interface DeviceOrientationEvent extends Event { readonly gamma: number | null; } @@ -2414,7 +2476,7 @@ prototype: DeviceOrientationEvent; new ( type: string, -@@ -9946,22 +9955,22 @@ interface Document +@@ -9925,22 +9934,22 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenchange_event) */ @@ -2441,7 +2503,7 @@ /** * Fires when the state of the object has changed. * -@@ -9970,12 +9979,12 @@ interface Document +@@ -9949,12 +9958,12 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/readystatechange_event) */ @@ -2456,7 +2518,7 @@ readonly ownerDocument: null; /** * [MDN -@@ -10569,7 +10578,7 @@ interface Document +@@ -10541,7 +10550,7 @@ interface Document * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/write) */ @@ -2465,7 +2527,7 @@ /** * Writes one or more HTML expressions, followed by a carriage return, to a * document in the specified window. -@@ -10579,10 +10588,10 @@ interface Document +@@ -10551,10 +10560,10 @@ interface Document * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln) */ @@ -2478,7 +2540,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -10592,7 +10601,7 @@ interface Document +@@ -10564,7 +10573,7 @@ interface Document ): void; removeEventListener( type: K, @@ -2487,7 +2549,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -10602,7 +10611,7 @@ interface Document +@@ -10574,7 +10583,7 @@ interface Document ): void; } @@ -2495,8 +2557,8 @@ +declare const Document: { prototype: Document; new (): Document; - }; -@@ -10622,7 +10631,7 @@ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { + /** +@@ -10599,7 +10608,7 @@ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { getElementById(elementId: string): HTMLElement | null; } @@ -2505,7 +2567,7 @@ prototype: DocumentFragment; new (): DocumentFragment; }; -@@ -10652,7 +10661,7 @@ interface DocumentOrShadowRoot { +@@ -10629,7 +10638,7 @@ interface DocumentOrShadowRoot { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */ @@ -2514,7 +2576,7 @@ /** * Returns document's fullscreen element. * -@@ -10698,7 +10707,7 @@ interface DocumentOrShadowRoot { +@@ -10675,7 +10684,7 @@ interface DocumentOrShadowRoot { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentTimeline) */ interface DocumentTimeline extends AnimationTimeline {} @@ -2523,7 +2585,7 @@ prototype: DocumentTimeline; new (options?: DocumentTimelineOptions): DocumentTimeline; }; -@@ -10727,7 +10736,7 @@ interface DocumentType extends Node, ChildNode { +@@ -10704,7 +10713,7 @@ interface DocumentType extends Node, ChildNode { readonly systemId: string; } @@ -2532,7 +2594,7 @@ prototype: DocumentType; new (): DocumentType; }; -@@ -10751,7 +10760,7 @@ interface DragEvent extends MouseEvent { +@@ -10728,7 +10737,7 @@ interface DragEvent extends MouseEvent { readonly dataTransfer: DataTransfer | null; } @@ -2541,7 +2603,7 @@ prototype: DragEvent; new (type: string, eventInitDict?: DragEventInit): DragEvent; }; -@@ -10795,7 +10804,7 @@ interface DynamicsCompressorNode extends AudioNode { +@@ -10772,7 +10781,7 @@ interface DynamicsCompressorNode extends AudioNode { readonly threshold: AudioParam; } @@ -2550,7 +2612,7 @@ prototype: DynamicsCompressorNode; new ( context: BaseAudioContext, -@@ -10987,12 +10996,12 @@ interface Element +@@ -10968,12 +10977,12 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event) */ @@ -2565,7 +2627,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) -@@ -11344,7 +11353,7 @@ interface Element +@@ -11332,7 +11341,7 @@ interface Element webkitMatchesSelector(selectors: string): boolean; addEventListener( type: K, @@ -2574,7 +2636,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -11354,7 +11363,7 @@ interface Element +@@ -11342,7 +11351,7 @@ interface Element ): void; removeEventListener( type: K, @@ -2583,7 +2645,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -11364,7 +11373,7 @@ interface Element +@@ -11352,7 +11361,7 @@ interface Element ): void; } @@ -2592,7 +2654,7 @@ prototype: Element; new (): Element; }; -@@ -11496,7 +11505,7 @@ interface ElementInternals extends ARIAMixin { +@@ -11493,7 +11502,7 @@ interface ElementInternals extends ARIAMixin { ): void; } @@ -2601,7 +2663,7 @@ prototype: ElementInternals; new (): ElementInternals; }; -@@ -11530,7 +11539,7 @@ interface EncodedVideoChunk { +@@ -11527,7 +11536,7 @@ interface EncodedVideoChunk { copyTo(destination: AllowSharedBufferSource): void; } @@ -2610,16 +2672,14 @@ prototype: EncodedVideoChunk; new (init: EncodedVideoChunkInit): EncodedVideoChunk; }; -@@ -11550,7 +11559,7 @@ interface ErrorEvent extends Event { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ +@@ -11539,13 +11548,13 @@ declare var EncodedVideoChunk: { + */ + interface ErrorEvent extends Event { + readonly colno: number; - readonly error: any; + readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) -@@ -11568,7 +11577,7 @@ interface ErrorEvent extends Event { + readonly filename: string; + readonly lineno: number; readonly message: string; } @@ -2628,7 +2688,7 @@ prototype: ErrorEvent; new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; -@@ -11724,7 +11733,7 @@ interface Event { +@@ -11701,7 +11710,7 @@ interface Event { readonly BUBBLING_PHASE: 3; } @@ -2637,7 +2697,7 @@ prototype: Event; new (type: string, eventInitDict?: EventInit): Event; readonly NONE: 0; -@@ -11737,11 +11746,11 @@ declare var Event: { +@@ -11714,11 +11723,11 @@ declare var Event: { interface EventCounts { forEach( callbackfn: (value: number, key: string, parent: EventCounts) => void, @@ -2651,7 +2711,7 @@ prototype: EventCounts; new (): EventCounts; }; -@@ -11766,17 +11775,17 @@ interface EventSource extends EventTarget { +@@ -11743,17 +11752,17 @@ interface EventSource extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */ @@ -2672,7 +2732,7 @@ /** * Returns the state of this EventSource object's connection. It can have the * values described below. -@@ -11812,12 +11821,12 @@ interface EventSource extends EventTarget { +@@ -11789,12 +11798,12 @@ interface EventSource extends EventTarget { readonly CLOSED: 2; addEventListener( type: K, @@ -2687,7 +2747,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -11827,12 +11836,12 @@ interface EventSource extends EventTarget { +@@ -11804,12 +11813,12 @@ interface EventSource extends EventTarget { ): void; removeEventListener( type: K, @@ -2702,7 +2762,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -11842,7 +11851,7 @@ interface EventSource extends EventTarget { +@@ -11819,7 +11828,7 @@ interface EventSource extends EventTarget { ): void; } @@ -2711,7 +2771,7 @@ prototype: EventSource; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CONNECTING: 0; -@@ -11916,7 +11925,7 @@ interface EventTarget { +@@ -11893,7 +11902,7 @@ interface EventTarget { ): void; } @@ -2720,7 +2780,7 @@ prototype: EventTarget; new (): EventTarget; }; -@@ -11944,7 +11953,7 @@ interface External { +@@ -11907,7 +11916,7 @@ interface External { } /** @deprecated */ @@ -2729,7 +2789,7 @@ prototype: External; new (): External; }; -@@ -11970,9 +11979,13 @@ interface File extends Blob { +@@ -11933,9 +11942,13 @@ interface File extends Blob { readonly webkitRelativePath: string; } @@ -2745,7 +2805,7 @@ }; /** -@@ -11992,7 +12005,7 @@ interface FileList { +@@ -11955,7 +11968,7 @@ interface FileList { [index: number]: File; } @@ -2754,7 +2814,7 @@ prototype: FileList; new (): FileList; }; -@@ -12023,34 +12036,42 @@ interface FileReader extends EventTarget { +@@ -11986,34 +11999,42 @@ interface FileReader extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */ @@ -2803,7 +2863,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState) -@@ -12096,7 +12117,7 @@ interface FileReader extends EventTarget { +@@ -12059,7 +12080,7 @@ interface FileReader extends EventTarget { readonly DONE: 2; addEventListener( type: K, @@ -2812,7 +2872,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -12106,7 +12127,7 @@ interface FileReader extends EventTarget { +@@ -12069,7 +12090,7 @@ interface FileReader extends EventTarget { ): void; removeEventListener( type: K, @@ -2821,7 +2881,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -12116,7 +12137,7 @@ interface FileReader extends EventTarget { +@@ -12079,7 +12100,7 @@ interface FileReader extends EventTarget { ): void; } @@ -2830,7 +2890,7 @@ prototype: FileReader; new (): FileReader; readonly EMPTY: 0; -@@ -12132,7 +12153,7 @@ interface FileSystem { +@@ -12095,7 +12116,7 @@ interface FileSystem { readonly root: FileSystemDirectoryEntry; } @@ -2839,7 +2899,7 @@ prototype: FileSystem; new (): FileSystem; }; -@@ -12169,7 +12190,7 @@ interface FileSystemDirectoryEntry extends FileSystemEntry { +@@ -12132,7 +12153,7 @@ interface FileSystemDirectoryEntry extends FileSystemEntry { ): void; } @@ -2848,7 +2908,7 @@ prototype: FileSystemDirectoryEntry; new (): FileSystemDirectoryEntry; }; -@@ -12210,7 +12231,7 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { +@@ -12173,7 +12194,7 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { resolve(possibleDescendant: FileSystemHandle): Promise; } @@ -2857,7 +2917,7 @@ prototype: FileSystemDirectoryHandle; new (): FileSystemDirectoryHandle; }; -@@ -12230,7 +12251,7 @@ interface FileSystemDirectoryReader { +@@ -12193,7 +12214,7 @@ interface FileSystemDirectoryReader { ): void; } @@ -2866,7 +2926,7 @@ prototype: FileSystemDirectoryReader; new (): FileSystemDirectoryReader; }; -@@ -12272,7 +12293,7 @@ interface FileSystemEntry { +@@ -12235,7 +12256,7 @@ interface FileSystemEntry { ): void; } @@ -2875,7 +2935,7 @@ prototype: FileSystemEntry; new (): FileSystemEntry; }; -@@ -12289,7 +12310,7 @@ interface FileSystemFileEntry extends FileSystemEntry { +@@ -12252,7 +12273,7 @@ interface FileSystemFileEntry extends FileSystemEntry { file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; } @@ -2884,7 +2944,7 @@ prototype: FileSystemFileEntry; new (): FileSystemFileEntry; }; -@@ -12316,7 +12337,7 @@ interface FileSystemFileHandle extends FileSystemHandle { +@@ -12279,7 +12300,7 @@ interface FileSystemFileHandle extends FileSystemHandle { getFile(): Promise; } @@ -2893,7 +2953,7 @@ prototype: FileSystemFileHandle; new (): FileSystemFileHandle; }; -@@ -12344,7 +12365,7 @@ interface FileSystemHandle { +@@ -12307,7 +12328,7 @@ interface FileSystemHandle { isSameEntry(other: FileSystemHandle): Promise; } @@ -2902,7 +2962,7 @@ prototype: FileSystemHandle; new (): FileSystemHandle; }; -@@ -12373,7 +12394,7 @@ interface FileSystemWritableFileStream extends WritableStream { +@@ -12336,7 +12357,7 @@ interface FileSystemWritableFileStream extends WritableStream { write(data: FileSystemWriteChunkType): Promise; } @@ -2911,7 +2971,7 @@ prototype: FileSystemWritableFileStream; new (): FileSystemWritableFileStream; }; -@@ -12391,7 +12412,7 @@ interface FocusEvent extends UIEvent { +@@ -12354,7 +12375,7 @@ interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; } @@ -2920,7 +2980,7 @@ prototype: FocusEvent; new (type: string, eventInitDict?: FocusEventInit): FocusEvent; }; -@@ -12447,7 +12468,7 @@ interface FontFace { +@@ -12410,7 +12431,7 @@ interface FontFace { load(): Promise; } @@ -2929,7 +2989,7 @@ prototype: FontFace; new ( family: string, -@@ -12468,17 +12489,17 @@ interface FontFaceSet extends EventTarget { +@@ -12431,17 +12452,17 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ @@ -2950,7 +3010,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) -@@ -12501,11 +12522,11 @@ interface FontFaceSet extends EventTarget { +@@ -12464,11 +12485,11 @@ interface FontFaceSet extends EventTarget { load(font: string, text?: string): Promise; forEach( callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, @@ -2964,7 +3024,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -12515,7 +12536,7 @@ interface FontFaceSet extends EventTarget { +@@ -12478,7 +12499,7 @@ interface FontFaceSet extends EventTarget { ): void; removeEventListener( type: K, @@ -2973,7 +3033,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -12525,9 +12546,9 @@ interface FontFaceSet extends EventTarget { +@@ -12488,9 +12509,9 @@ interface FontFaceSet extends EventTarget { ): void; } @@ -2985,7 +3045,7 @@ }; /** -@@ -12542,7 +12563,7 @@ interface FontFaceSetLoadEvent extends Event { +@@ -12505,7 +12526,7 @@ interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } @@ -2994,7 +3054,7 @@ prototype: FontFaceSetLoadEvent; new ( type: string, -@@ -12586,11 +12607,11 @@ interface FormData { +@@ -12549,11 +12570,11 @@ interface FormData { key: string, parent: FormData, ) => void, @@ -3008,7 +3068,7 @@ prototype: FormData; new (form?: HTMLFormElement, submitter?: HTMLElement | null): FormData; }; -@@ -12608,7 +12629,7 @@ interface FormDataEvent extends Event { +@@ -12571,7 +12592,7 @@ interface FormDataEvent extends Event { readonly formData: FormData; } @@ -3017,7 +3077,7 @@ prototype: FormDataEvent; new (type: string, eventInitDict: FormDataEventInit): FormDataEvent; }; -@@ -12626,7 +12647,7 @@ interface GainNode extends AudioNode { +@@ -12589,7 +12610,7 @@ interface GainNode extends AudioNode { readonly gain: AudioParam; } @@ -3026,8 +3086,8 @@ prototype: GainNode; new (context: BaseAudioContext, options?: GainOptions): GainNode; }; -@@ -12662,7 +12683,7 @@ interface Gamepad { - readonly vibrationActuator: GamepadHapticActuator | null; +@@ -12629,7 +12650,7 @@ interface Gamepad { + readonly vibrationActuator: GamepadHapticActuator; } -declare var Gamepad: { @@ -3035,7 +3095,7 @@ prototype: Gamepad; new (): Gamepad; }; -@@ -12692,7 +12713,7 @@ interface GamepadButton { +@@ -12658,7 +12679,7 @@ interface GamepadButton { readonly value: number; } @@ -3044,7 +3104,7 @@ prototype: GamepadButton; new (): GamepadButton; }; -@@ -12713,7 +12734,7 @@ interface GamepadEvent extends Event { +@@ -12678,7 +12699,7 @@ interface GamepadEvent extends Event { readonly gamepad: Gamepad; } @@ -3053,7 +3113,7 @@ prototype: GamepadEvent; new (type: string, eventInitDict: GamepadEventInit): GamepadEvent; }; -@@ -12739,7 +12760,7 @@ interface GamepadHapticActuator { +@@ -12703,7 +12724,7 @@ interface GamepadHapticActuator { reset(): Promise; } @@ -3062,7 +3122,7 @@ prototype: GamepadHapticActuator; new (): GamepadHapticActuator; }; -@@ -12790,7 +12811,7 @@ interface Geolocation { +@@ -12754,7 +12775,7 @@ interface Geolocation { ): number; } @@ -3071,8 +3131,12 @@ prototype: Geolocation; new (): Geolocation; }; -@@ -12839,7 +12860,7 @@ interface GeolocationCoordinates { - readonly speed: number | null; +@@ -12805,10 +12826,10 @@ interface GeolocationCoordinates { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; } -declare var GeolocationCoordinates: { @@ -3080,8 +3144,12 @@ prototype: GeolocationCoordinates; new (): GeolocationCoordinates; }; -@@ -12863,7 +12884,7 @@ interface GeolocationPosition { - readonly timestamp: EpochTimeStamp; +@@ -12834,10 +12855,10 @@ interface GeolocationPosition { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; } -declare var GeolocationPosition: { @@ -3089,7 +3157,7 @@ prototype: GeolocationPosition; new (): GeolocationPosition; }; -@@ -12888,7 +12909,7 @@ interface GeolocationPositionError { +@@ -12862,7 +12883,7 @@ interface GeolocationPositionError { readonly TIMEOUT: 3; } @@ -3098,7 +3166,7 @@ prototype: GeolocationPositionError; new (): GeolocationPositionError; readonly PERMISSION_DENIED: 1; -@@ -13009,50 +13030,52 @@ interface GlobalEventHandlers { +@@ -12985,50 +13006,52 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ @@ -3159,7 +3227,7 @@ /** * Fires when the object loses the input focus. * -@@ -13061,12 +13084,12 @@ interface GlobalEventHandlers { +@@ -13037,12 +13060,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ @@ -3167,14 +3235,14 @@ + onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ - oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. * -@@ -13075,12 +13098,12 @@ interface GlobalEventHandlers { +@@ -13051,12 +13074,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */ @@ -3189,7 +3257,7 @@ /** * Fires when the contents of the object or selection have changed. * -@@ -13089,7 +13112,7 @@ interface GlobalEventHandlers { +@@ -13065,7 +13088,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */ @@ -3198,7 +3266,7 @@ /** * Fires when the user clicks the left mouse button on the object * -@@ -13098,12 +13121,12 @@ interface GlobalEventHandlers { +@@ -13074,17 +13097,17 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */ @@ -3210,10 +3278,16 @@ */ - onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null; ++ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. -@@ -13113,22 +13136,24 @@ interface GlobalEventHandlers { +@@ -13094,27 +13117,29 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ @@ -3221,6 +3295,12 @@ + oncontextmenu: + | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) + | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null; ++ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -3242,7 +3322,7 @@ /** * Fires when the user double-clicks the object. * -@@ -13137,7 +13162,7 @@ interface GlobalEventHandlers { +@@ -13123,7 +13148,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */ @@ -3251,7 +3331,7 @@ /** * Fires on the source object continuously during a drag operation. * -@@ -13146,7 +13171,7 @@ interface GlobalEventHandlers { +@@ -13132,7 +13157,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */ @@ -3260,7 +3340,7 @@ /** * Fires on the source object when the user releases the mouse at the close of * a drag operation. -@@ -13156,7 +13181,7 @@ interface GlobalEventHandlers { +@@ -13142,7 +13167,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */ @@ -3269,7 +3349,7 @@ /** * Fires on the target element when the user drags the object to a valid drop * target. -@@ -13166,7 +13191,7 @@ interface GlobalEventHandlers { +@@ -13152,7 +13177,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */ @@ -3278,7 +3358,7 @@ /** * Fires on the target object when the user moves the mouse out of a valid * drop target during a drag operation. -@@ -13176,7 +13201,7 @@ interface GlobalEventHandlers { +@@ -13162,7 +13187,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */ @@ -3287,7 +3367,7 @@ /** * Fires on the target element continuously while the user drags the object * over a valid drop target. -@@ -13186,7 +13211,7 @@ interface GlobalEventHandlers { +@@ -13172,7 +13197,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */ @@ -3296,7 +3376,7 @@ /** * Fires on the source object when the user starts to drag a text selection or * selected object. -@@ -13196,12 +13221,12 @@ interface GlobalEventHandlers { +@@ -13182,12 +13207,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */ @@ -3311,7 +3391,7 @@ /** * Occurs when the duration attribute is updated. * -@@ -13210,7 +13235,7 @@ interface GlobalEventHandlers { +@@ -13196,7 +13221,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */ @@ -3320,7 +3400,7 @@ /** * Occurs when the media element is reset to its initial state. * -@@ -13219,7 +13244,7 @@ interface GlobalEventHandlers { +@@ -13205,7 +13230,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */ @@ -3329,7 +3409,7 @@ /** * Occurs when the end of playback is reached. * -@@ -13228,7 +13253,7 @@ interface GlobalEventHandlers { +@@ -13214,7 +13239,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */ @@ -3338,7 +3418,7 @@ /** * Fires when an error occurs during object loading. * -@@ -13246,29 +13271,31 @@ interface GlobalEventHandlers { +@@ -13232,29 +13257,31 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */ @@ -3375,7 +3455,7 @@ /** * Fires when the user presses a key. * -@@ -13277,7 +13304,7 @@ interface GlobalEventHandlers { +@@ -13263,7 +13290,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */ @@ -3384,7 +3464,7 @@ /** * Fires when the user presses an alphanumeric key. * -@@ -13287,7 +13314,9 @@ interface GlobalEventHandlers { +@@ -13273,7 +13300,9 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event) * @param ev The event. */ @@ -3395,7 +3475,7 @@ /** * Fires when the user releases a key. * -@@ -13296,7 +13325,7 @@ interface GlobalEventHandlers { +@@ -13282,7 +13311,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */ @@ -3404,7 +3484,7 @@ /** * Fires immediately after the browser loads the object. * -@@ -13305,7 +13334,7 @@ interface GlobalEventHandlers { +@@ -13291,7 +13320,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event) */ @@ -3413,7 +3493,7 @@ /** * Occurs when media data is loaded at the current playback position. * -@@ -13314,7 +13343,7 @@ interface GlobalEventHandlers { +@@ -13300,7 +13329,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */ @@ -3422,7 +3502,7 @@ /** * Occurs when the duration and dimensions of the media have been determined. * -@@ -13323,7 +13352,7 @@ interface GlobalEventHandlers { +@@ -13309,7 +13338,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */ @@ -3431,7 +3511,7 @@ /** * Occurs when Internet Explorer begins looking for media data. * -@@ -13332,13 +13361,13 @@ interface GlobalEventHandlers { +@@ -13318,13 +13347,13 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ @@ -3439,7 +3519,7 @@ + onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: - | ((this: GlobalEventHandlers, ev: PointerEvent) => any) @@ -3447,7 +3527,7 @@ | null; /** * Fires when the user clicks the object with either mouse button. -@@ -13348,17 +13377,17 @@ interface GlobalEventHandlers { +@@ -13334,17 +13363,17 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */ @@ -3468,7 +3548,7 @@ /** * Fires when the user moves the mouse over the object. * -@@ -13367,7 +13396,7 @@ interface GlobalEventHandlers { +@@ -13353,7 +13382,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */ @@ -3477,7 +3557,7 @@ /** * Fires when the user moves the mouse pointer outside the boundaries of the * object. -@@ -13377,7 +13406,7 @@ interface GlobalEventHandlers { +@@ -13363,7 +13392,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */ @@ -3486,7 +3566,7 @@ /** * Fires when the user moves the mouse pointer into the object. * -@@ -13386,7 +13415,7 @@ interface GlobalEventHandlers { +@@ -13372,7 +13401,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */ @@ -3495,7 +3575,7 @@ /** * Fires when the user releases a mouse button while the mouse is over the * object. -@@ -13396,12 +13425,12 @@ interface GlobalEventHandlers { +@@ -13382,12 +13411,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */ @@ -3510,7 +3590,7 @@ /** * Occurs when playback is paused. * -@@ -13410,7 +13439,7 @@ interface GlobalEventHandlers { +@@ -13396,7 +13425,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */ @@ -3519,7 +3599,7 @@ /** * Occurs when the play method is requested. * -@@ -13419,7 +13448,7 @@ interface GlobalEventHandlers { +@@ -13405,7 +13434,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */ @@ -3528,7 +3608,7 @@ /** * Occurs when the audio or video has started playing. * -@@ -13428,49 +13457,63 @@ interface GlobalEventHandlers { +@@ -13414,49 +13443,63 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */ @@ -3601,7 +3681,7 @@ /** * Occurs to indicate progress while downloading media data. * -@@ -13479,7 +13522,9 @@ interface GlobalEventHandlers { +@@ -13465,7 +13508,9 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */ @@ -3612,7 +3692,7 @@ /** * Occurs when the playback rate is increased or decreased. * -@@ -13488,7 +13533,7 @@ interface GlobalEventHandlers { +@@ -13474,7 +13519,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */ @@ -3621,7 +3701,7 @@ /** * Fires when the user resets a form. * -@@ -13497,12 +13542,12 @@ interface GlobalEventHandlers { +@@ -13483,12 +13528,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */ @@ -3636,7 +3716,7 @@ /** * Fires when the user repositions the scroll box in the scroll bar on the * object. -@@ -13512,18 +13557,18 @@ interface GlobalEventHandlers { +@@ -13498,18 +13543,18 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */ @@ -3658,7 +3738,7 @@ | null; /** * Occurs when the seek operation ends. -@@ -13533,7 +13578,7 @@ interface GlobalEventHandlers { +@@ -13519,7 +13564,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */ @@ -3667,7 +3747,7 @@ /** * Occurs when the current playback position is moved. * -@@ -13542,7 +13587,7 @@ interface GlobalEventHandlers { +@@ -13528,7 +13573,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */ @@ -3676,7 +3756,7 @@ /** * Fires when the current selection changes. * -@@ -13551,22 +13596,22 @@ interface GlobalEventHandlers { +@@ -13537,22 +13582,22 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */ @@ -3703,7 +3783,7 @@ /** * Occurs when the download has stopped. * -@@ -13575,12 +13620,12 @@ interface GlobalEventHandlers { +@@ -13561,12 +13606,12 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */ @@ -3718,7 +3798,7 @@ /** * Occurs if the load operation has been intentionally halted. * -@@ -13589,7 +13634,7 @@ interface GlobalEventHandlers { +@@ -13575,7 +13620,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */ @@ -3727,7 +3807,7 @@ /** * Occurs to indicate the current playback position. * -@@ -13598,18 +13643,18 @@ interface GlobalEventHandlers { +@@ -13584,18 +13629,18 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */ @@ -3749,7 +3829,7 @@ | null | undefined; /** -@@ -13617,7 +13662,7 @@ interface GlobalEventHandlers { +@@ -13603,7 +13648,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event) */ ontouchend?: @@ -3758,7 +3838,7 @@ | null | undefined; /** -@@ -13625,7 +13670,7 @@ interface GlobalEventHandlers { +@@ -13611,7 +13656,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event) */ ontouchmove?: @@ -3767,7 +3847,7 @@ | null | undefined; /** -@@ -13633,7 +13678,7 @@ interface GlobalEventHandlers { +@@ -13619,7 +13664,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event) */ ontouchstart?: @@ -3776,7 +3856,7 @@ | null | undefined; /** -@@ -13641,28 +13686,28 @@ interface GlobalEventHandlers { +@@ -13627,28 +13672,28 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event) */ ontransitioncancel: @@ -3809,7 +3889,7 @@ | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. -@@ -13672,7 +13717,7 @@ interface GlobalEventHandlers { +@@ -13658,7 +13703,7 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */ @@ -3818,7 +3898,7 @@ /** * Occurs when playback stops because the next frame of a video resource is * not available. -@@ -13682,14 +13727,16 @@ interface GlobalEventHandlers { +@@ -13668,14 +13713,16 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */ @@ -3837,7 +3917,7 @@ /** * @deprecated This is a legacy alias of `onanimationiteration`. * -@@ -13697,7 +13744,7 @@ interface GlobalEventHandlers { +@@ -13683,7 +13730,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event) */ onwebkitanimationiteration: @@ -3846,7 +3926,7 @@ | null; /** * @deprecated This is a legacy alias of `onanimationstart`. -@@ -13706,7 +13753,7 @@ interface GlobalEventHandlers { +@@ -13692,7 +13739,7 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */ onwebkitanimationstart: @@ -3855,7 +3935,7 @@ | null; /** * @deprecated This is a legacy alias of `ontransitionend`. -@@ -13714,18 +13761,20 @@ interface GlobalEventHandlers { +@@ -13700,18 +13747,20 @@ interface GlobalEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event) */ @@ -3879,7 +3959,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13738,7 +13787,7 @@ interface GlobalEventHandlers { +@@ -13724,7 +13773,7 @@ interface GlobalEventHandlers { listener: ( this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K], @@ -3888,7 +3968,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13782,7 +13831,7 @@ interface HTMLAllCollection { +@@ -13768,7 +13817,7 @@ interface HTMLAllCollection { [index: number]: Element; } @@ -3897,7 +3977,7 @@ prototype: HTMLAllCollection; new (): HTMLAllCollection; }; -@@ -13893,7 +13942,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13868,7 +13917,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { type: string; addEventListener( type: K, @@ -3906,7 +3986,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13903,7 +13952,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13878,7 +13927,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; removeEventListener( type: K, @@ -3915,7 +3995,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13913,7 +13962,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13888,7 +13937,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; } @@ -3924,7 +4004,7 @@ prototype: HTMLAnchorElement; new (): HTMLAnchorElement; }; -@@ -13986,7 +14035,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13943,7 +13992,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { target: string; addEventListener( type: K, @@ -3933,7 +4013,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13996,7 +14045,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13953,7 +14002,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; removeEventListener( type: K, @@ -3942,7 +4022,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14006,7 +14055,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +@@ -13963,7 +14012,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { ): void; } @@ -3951,7 +4031,7 @@ prototype: HTMLAreaElement; new (): HTMLAreaElement; }; -@@ -14020,7 +14069,10 @@ declare var HTMLAreaElement: { +@@ -13977,7 +14026,10 @@ declare var HTMLAreaElement: { interface HTMLAudioElement extends HTMLMediaElement { addEventListener( type: K, @@ -3963,7 +4043,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14030,7 +14082,10 @@ interface HTMLAudioElement extends HTMLMediaElement { +@@ -13987,7 +14039,10 @@ interface HTMLAudioElement extends HTMLMediaElement { ): void; removeEventListener( type: K, @@ -3975,7 +4055,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14040,7 +14095,7 @@ interface HTMLAudioElement extends HTMLMediaElement { +@@ -13997,7 +14052,7 @@ interface HTMLAudioElement extends HTMLMediaElement { ): void; } @@ -3984,7 +4064,7 @@ prototype: HTMLAudioElement; new (): HTMLAudioElement; }; -@@ -14063,7 +14118,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14017,7 +14072,7 @@ interface HTMLBRElement extends HTMLElement { clear: string; addEventListener( type: K, @@ -3993,7 +4073,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14073,7 +14128,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14027,7 +14082,7 @@ interface HTMLBRElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4002,7 +4082,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14083,7 +14138,7 @@ interface HTMLBRElement extends HTMLElement { +@@ -14037,7 +14092,7 @@ interface HTMLBRElement extends HTMLElement { ): void; } @@ -4011,7 +4091,7 @@ prototype: HTMLBRElement; new (): HTMLBRElement; }; -@@ -14111,7 +14166,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14060,7 +14115,7 @@ interface HTMLBaseElement extends HTMLElement { target: string; addEventListener( type: K, @@ -4020,7 +4100,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14121,7 +14176,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14070,7 +14125,7 @@ interface HTMLBaseElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4029,7 +4109,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14131,7 +14186,7 @@ interface HTMLBaseElement extends HTMLElement { +@@ -14080,7 +14135,7 @@ interface HTMLBaseElement extends HTMLElement { ): void; } @@ -4038,7 +4118,7 @@ prototype: HTMLBaseElement; new (): HTMLBaseElement; }; -@@ -14191,7 +14246,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14110,7 +14165,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { vLink: string; addEventListener( type: K, @@ -4050,7 +4130,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14201,7 +14259,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14120,7 +14178,10 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { ): void; removeEventListener( type: K, @@ -4062,7 +4142,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14211,7 +14272,7 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { +@@ -14130,7 +14191,7 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { ): void; } @@ -4071,7 +4151,7 @@ prototype: HTMLBodyElement; new (): HTMLBodyElement; }; -@@ -14346,7 +14407,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14220,7 +14281,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -4080,7 +4160,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14356,7 +14417,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14230,7 +14291,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { ): void; removeEventListener( type: K, @@ -4089,7 +4169,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14366,7 +14427,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +@@ -14240,7 +14301,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { ): void; } @@ -4098,7 +4178,7 @@ prototype: HTMLButtonElement; new (): HTMLButtonElement; }; -@@ -14428,12 +14489,12 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14302,12 +14363,12 @@ interface HTMLCanvasElement extends HTMLElement { contextId: 'webgl2', options?: WebGLContextAttributes, ): WebGL2RenderingContext | null; @@ -4113,7 +4193,7 @@ /** * Returns the content of the current canvas as an image that you can use as a * source for another canvas or an HTML element. -@@ -14444,7 +14505,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14318,7 +14379,7 @@ interface HTMLCanvasElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toDataURL) */ @@ -4122,7 +4202,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen) -@@ -14452,7 +14513,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14326,7 +14387,7 @@ interface HTMLCanvasElement extends HTMLElement { transferControlToOffscreen(): OffscreenCanvas; addEventListener( type: K, @@ -4131,7 +4211,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14462,7 +14523,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14336,7 +14397,7 @@ interface HTMLCanvasElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4140,7 +4220,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14472,7 +14533,7 @@ interface HTMLCanvasElement extends HTMLElement { +@@ -14346,7 +14407,7 @@ interface HTMLCanvasElement extends HTMLElement { ): void; } @@ -4149,7 +4229,7 @@ prototype: HTMLCanvasElement; new (): HTMLCanvasElement; }; -@@ -14512,7 +14573,7 @@ interface HTMLCollection extends HTMLCollectionBase { +@@ -14386,7 +14447,7 @@ interface HTMLCollection extends HTMLCollectionBase { namedItem(name: string): Element | null; } @@ -4158,7 +4238,7 @@ prototype: HTMLCollection; new (): HTMLCollection; }; -@@ -14540,7 +14601,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14409,7 +14470,7 @@ interface HTMLDListElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -4167,7 +4247,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14550,7 +14611,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14419,7 +14480,7 @@ interface HTMLDListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4176,7 +4256,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14560,7 +14621,7 @@ interface HTMLDListElement extends HTMLElement { +@@ -14429,7 +14490,7 @@ interface HTMLDListElement extends HTMLElement { ): void; } @@ -4185,7 +4265,7 @@ prototype: HTMLDListElement; new (): HTMLDListElement; }; -@@ -14579,7 +14640,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14448,7 +14509,7 @@ interface HTMLDataElement extends HTMLElement { value: string; addEventListener( type: K, @@ -4194,7 +4274,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14589,7 +14650,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14458,7 +14519,7 @@ interface HTMLDataElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4203,7 +4283,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14599,7 +14660,7 @@ interface HTMLDataElement extends HTMLElement { +@@ -14468,7 +14529,7 @@ interface HTMLDataElement extends HTMLElement { ): void; } @@ -4212,7 +4292,7 @@ prototype: HTMLDataElement; new (): HTMLDataElement; }; -@@ -14622,7 +14683,10 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14486,7 +14547,10 @@ interface HTMLDataListElement extends HTMLElement { readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -4224,7 +4304,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14632,7 +14696,10 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14496,7 +14560,10 @@ interface HTMLDataListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4236,7 +4316,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14642,7 +14709,7 @@ interface HTMLDataListElement extends HTMLElement { +@@ -14506,7 +14573,7 @@ interface HTMLDataListElement extends HTMLElement { ): void; } @@ -4245,7 +4325,7 @@ prototype: HTMLDataListElement; new (): HTMLDataListElement; }; -@@ -14660,7 +14727,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14524,7 +14591,7 @@ interface HTMLDetailsElement extends HTMLElement { open: boolean; addEventListener( type: K, @@ -4254,7 +4334,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14670,7 +14737,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14534,7 +14601,7 @@ interface HTMLDetailsElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4263,7 +4343,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14680,7 +14747,7 @@ interface HTMLDetailsElement extends HTMLElement { +@@ -14544,7 +14611,7 @@ interface HTMLDetailsElement extends HTMLElement { ): void; } @@ -4272,7 +4352,7 @@ prototype: HTMLDetailsElement; new (): HTMLDetailsElement; }; -@@ -14720,7 +14787,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14584,7 +14651,7 @@ interface HTMLDialogElement extends HTMLElement { showModal(): void; addEventListener( type: K, @@ -4281,7 +4361,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14730,7 +14797,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14594,7 +14661,7 @@ interface HTMLDialogElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4290,7 +4370,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14740,7 +14807,7 @@ interface HTMLDialogElement extends HTMLElement { +@@ -14604,7 +14671,7 @@ interface HTMLDialogElement extends HTMLElement { ): void; } @@ -4299,7 +4379,7 @@ prototype: HTMLDialogElement; new (): HTMLDialogElement; }; -@@ -14751,7 +14818,10 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14615,7 +14682,10 @@ interface HTMLDirectoryElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -4311,7 +4391,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14761,7 +14831,10 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14625,7 +14695,10 @@ interface HTMLDirectoryElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4323,7 +4403,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14772,7 +14845,7 @@ interface HTMLDirectoryElement extends HTMLElement { +@@ -14636,7 +14709,7 @@ interface HTMLDirectoryElement extends HTMLElement { } /** @deprecated */ @@ -4332,7 +4412,7 @@ prototype: HTMLDirectoryElement; new (): HTMLDirectoryElement; }; -@@ -14795,7 +14868,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14656,7 +14729,7 @@ interface HTMLDivElement extends HTMLElement { align: string; addEventListener( type: K, @@ -4341,7 +4421,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14805,7 +14878,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14666,7 +14739,7 @@ interface HTMLDivElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4350,7 +4430,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14815,7 +14888,7 @@ interface HTMLDivElement extends HTMLElement { +@@ -14676,7 +14749,7 @@ interface HTMLDivElement extends HTMLElement { ): void; } @@ -4359,7 +4439,7 @@ prototype: HTMLDivElement; new (): HTMLDivElement; }; -@@ -14824,7 +14897,7 @@ declare var HTMLDivElement: { +@@ -14685,7 +14758,7 @@ declare var HTMLDivElement: { interface HTMLDocument extends Document { addEventListener( type: K, @@ -4368,7 +4448,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14834,7 +14907,7 @@ interface HTMLDocument extends Document { +@@ -14695,7 +14768,7 @@ interface HTMLDocument extends Document { ): void; removeEventListener( type: K, @@ -4377,7 +4457,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14845,7 +14918,7 @@ interface HTMLDocument extends Document { +@@ -14706,7 +14779,7 @@ interface HTMLDocument extends Document { } /** @deprecated */ @@ -4386,7 +4466,7 @@ prototype: HTMLDocument; new (): HTMLDocument; }; -@@ -14981,7 +15054,7 @@ interface HTMLElement +@@ -14846,7 +14919,7 @@ interface HTMLElement togglePopover(force?: boolean): boolean; addEventListener( type: K, @@ -4395,7 +4475,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14991,7 +15064,7 @@ interface HTMLElement +@@ -14856,7 +14929,7 @@ interface HTMLElement ): void; removeEventListener( type: K, @@ -4404,7 +4484,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15001,7 +15074,7 @@ interface HTMLElement +@@ -14866,7 +14939,7 @@ interface HTMLElement ): void; } @@ -4413,7 +4493,7 @@ prototype: HTMLElement; new (): HTMLElement; }; -@@ -15031,7 +15104,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14911,7 +14984,7 @@ interface HTMLEmbedElement extends HTMLElement { getSVGDocument(): Document | null; addEventListener( type: K, @@ -4422,7 +4502,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15041,7 +15114,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14921,7 +14994,7 @@ interface HTMLEmbedElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4431,7 +4511,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15051,7 +15124,7 @@ interface HTMLEmbedElement extends HTMLElement { +@@ -14931,7 +15004,7 @@ interface HTMLEmbedElement extends HTMLElement { ): void; } @@ -4440,7 +4520,7 @@ prototype: HTMLEmbedElement; new (): HTMLEmbedElement; }; -@@ -15141,7 +15214,10 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -14985,7 +15058,10 @@ interface HTMLFieldSetElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -4452,7 +4532,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15151,7 +15227,10 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -14995,7 +15071,10 @@ interface HTMLFieldSetElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4464,7 +4544,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15161,7 +15240,7 @@ interface HTMLFieldSetElement extends HTMLElement { +@@ -15005,7 +15084,7 @@ interface HTMLFieldSetElement extends HTMLElement { ): void; } @@ -4473,7 +4553,7 @@ prototype: HTMLFieldSetElement; new (): HTMLFieldSetElement; }; -@@ -15201,7 +15280,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15045,7 +15124,7 @@ interface HTMLFontElement extends HTMLElement { size: string; addEventListener( type: K, @@ -4482,7 +4562,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15211,7 +15290,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15055,7 +15134,7 @@ interface HTMLFontElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4491,7 +4571,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15222,7 +15301,7 @@ interface HTMLFontElement extends HTMLElement { +@@ -15066,7 +15145,7 @@ interface HTMLFontElement extends HTMLElement { } /** @deprecated */ @@ -4500,7 +4580,7 @@ prototype: HTMLFontElement; new (): HTMLFontElement; }; -@@ -15246,7 +15325,7 @@ interface HTMLFormControlsCollection extends HTMLCollectionBase { +@@ -15090,7 +15169,7 @@ interface HTMLFormControlsCollection extends HTMLCollectionBase { namedItem(name: string): RadioNodeList | Element | null; } @@ -4509,7 +4589,7 @@ prototype: HTMLFormControlsCollection; new (): HTMLFormControlsCollection; }; -@@ -15373,7 +15452,7 @@ interface HTMLFormElement extends HTMLElement { +@@ -15204,7 +15283,7 @@ interface HTMLFormElement extends HTMLElement { submit(): void; addEventListener( type: K, @@ -4518,7 +4598,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15383,7 +15462,7 @@ interface HTMLFormElement extends HTMLElement { +@@ -15214,7 +15293,7 @@ interface HTMLFormElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4527,7 +4607,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15392,10 +15471,10 @@ interface HTMLFormElement extends HTMLElement { +@@ -15223,10 +15302,10 @@ interface HTMLFormElement extends HTMLElement { options?: boolean | EventListenerOptions, ): void; [index: number]: Element; @@ -4540,7 +4620,7 @@ prototype: HTMLFormElement; new (): HTMLFormElement; }; -@@ -15500,7 +15579,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15297,7 +15376,7 @@ interface HTMLFrameElement extends HTMLElement { src: string; addEventListener( type: K, @@ -4549,7 +4629,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15510,7 +15589,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15307,7 +15386,7 @@ interface HTMLFrameElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4558,7 +4638,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15521,7 +15600,7 @@ interface HTMLFrameElement extends HTMLElement { +@@ -15318,7 +15397,7 @@ interface HTMLFrameElement extends HTMLElement { } /** @deprecated */ @@ -4567,7 +4647,7 @@ prototype: HTMLFrameElement; new (): HTMLFrameElement; }; -@@ -15557,7 +15636,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15354,7 +15433,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { listener: ( this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K], @@ -4576,7 +4656,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15570,7 +15649,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15367,7 +15446,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { listener: ( this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K], @@ -4585,7 +4665,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15581,7 +15660,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { +@@ -15378,7 +15457,7 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { } /** @deprecated */ @@ -4594,7 +4674,7 @@ prototype: HTMLFrameSetElement; new (): HTMLFrameSetElement; }; -@@ -15617,7 +15696,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15414,7 +15493,7 @@ interface HTMLHRElement extends HTMLElement { width: string; addEventListener( type: K, @@ -4603,7 +4683,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15627,7 +15706,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15424,7 +15503,7 @@ interface HTMLHRElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4612,7 +4692,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15637,7 +15716,7 @@ interface HTMLHRElement extends HTMLElement { +@@ -15434,7 +15513,7 @@ interface HTMLHRElement extends HTMLElement { ): void; } @@ -4621,7 +4701,7 @@ prototype: HTMLHRElement; new (): HTMLHRElement; }; -@@ -15652,7 +15731,7 @@ declare var HTMLHRElement: { +@@ -15449,7 +15528,7 @@ declare var HTMLHRElement: { interface HTMLHeadElement extends HTMLElement { addEventListener( type: K, @@ -4630,7 +4710,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15662,7 +15741,7 @@ interface HTMLHeadElement extends HTMLElement { +@@ -15459,7 +15538,7 @@ interface HTMLHeadElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4639,7 +4719,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15672,7 +15751,7 @@ interface HTMLHeadElement extends HTMLElement { +@@ -15469,7 +15548,7 @@ interface HTMLHeadElement extends HTMLElement { ): void; } @@ -4648,7 +4728,7 @@ prototype: HTMLHeadElement; new (): HTMLHeadElement; }; -@@ -15696,7 +15775,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15490,7 +15569,7 @@ interface HTMLHeadingElement extends HTMLElement { align: string; addEventListener( type: K, @@ -4657,7 +4737,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15706,7 +15785,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15500,7 +15579,7 @@ interface HTMLHeadingElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4666,7 +4746,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15716,7 +15795,7 @@ interface HTMLHeadingElement extends HTMLElement { +@@ -15510,7 +15589,7 @@ interface HTMLHeadingElement extends HTMLElement { ): void; } @@ -4675,7 +4755,7 @@ prototype: HTMLHeadingElement; new (): HTMLHeadingElement; }; -@@ -15739,7 +15818,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15533,7 +15612,7 @@ interface HTMLHtmlElement extends HTMLElement { version: string; addEventListener( type: K, @@ -4684,7 +4764,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -15749,7 +15828,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15543,7 +15622,7 @@ interface HTMLHtmlElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4693,7 +4773,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -15759,7 +15838,7 @@ interface HTMLHtmlElement extends HTMLElement { +@@ -15553,7 +15632,7 @@ interface HTMLHtmlElement extends HTMLElement { ): void; } @@ -4702,7 +4782,7 @@ prototype: HTMLHtmlElement; new (): HTMLHtmlElement; }; -@@ -15991,7 +16070,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15783,7 +15862,7 @@ interface HTMLIFrameElement extends HTMLElement { getSVGDocument(): Document | null; addEventListener( type: K, @@ -4711,7 +4791,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16001,7 +16080,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15793,7 +15872,7 @@ interface HTMLIFrameElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4720,7 +4800,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16011,7 +16090,7 @@ interface HTMLIFrameElement extends HTMLElement { +@@ -15803,7 +15882,7 @@ interface HTMLIFrameElement extends HTMLElement { ): void; } @@ -4729,7 +4809,7 @@ prototype: HTMLIFrameElement; new (): HTMLIFrameElement; }; -@@ -16208,7 +16287,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -15995,7 +16074,7 @@ interface HTMLImageElement extends HTMLElement { decode(): Promise; addEventListener( type: K, @@ -4738,7 +4818,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16218,7 +16297,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -16005,7 +16084,7 @@ interface HTMLImageElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4747,7 +4827,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16228,7 +16307,7 @@ interface HTMLImageElement extends HTMLElement { +@@ -16015,7 +16094,7 @@ interface HTMLImageElement extends HTMLElement { ): void; } @@ -4756,7 +4836,7 @@ prototype: HTMLImageElement; new (): HTMLImageElement; }; -@@ -16564,7 +16643,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16309,7 +16388,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { stepUp(n?: number): void; addEventListener( type: K, @@ -4765,7 +4845,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16574,7 +16653,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16319,7 +16398,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { ): void; removeEventListener( type: K, @@ -4774,7 +4854,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16584,7 +16663,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +@@ -16329,7 +16408,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { ): void; } @@ -4783,7 +4863,7 @@ prototype: HTMLInputElement; new (): HTMLInputElement; }; -@@ -16603,7 +16682,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16348,7 +16427,7 @@ interface HTMLLIElement extends HTMLElement { value: number; addEventListener( type: K, @@ -4792,7 +4872,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16613,7 +16692,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16358,7 +16437,7 @@ interface HTMLLIElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4801,7 +4881,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16623,7 +16702,7 @@ interface HTMLLIElement extends HTMLElement { +@@ -16368,7 +16447,7 @@ interface HTMLLIElement extends HTMLElement { ): void; } @@ -4810,7 +4890,7 @@ prototype: HTMLLIElement; new (): HTMLLIElement; }; -@@ -16658,7 +16737,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16403,7 +16482,7 @@ interface HTMLLabelElement extends HTMLElement { htmlFor: string; addEventListener( type: K, @@ -4819,7 +4899,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16668,7 +16747,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16413,7 +16492,7 @@ interface HTMLLabelElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4828,7 +4908,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16678,7 +16757,7 @@ interface HTMLLabelElement extends HTMLElement { +@@ -16423,7 +16502,7 @@ interface HTMLLabelElement extends HTMLElement { ): void; } @@ -4837,7 +4917,7 @@ prototype: HTMLLabelElement; new (): HTMLLabelElement; }; -@@ -16696,7 +16775,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16441,7 +16520,7 @@ interface HTMLLegendElement extends HTMLElement { readonly form: HTMLFormElement | null; addEventListener( type: K, @@ -4846,7 +4926,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16706,7 +16785,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16451,7 +16530,7 @@ interface HTMLLegendElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4855,7 +4935,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16716,7 +16795,7 @@ interface HTMLLegendElement extends HTMLElement { +@@ -16461,7 +16540,7 @@ interface HTMLLegendElement extends HTMLElement { ): void; } @@ -4864,7 +4944,7 @@ prototype: HTMLLegendElement; new (): HTMLLegendElement; }; -@@ -16810,7 +16889,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16559,7 +16638,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { type: string; addEventListener( type: K, @@ -4873,7 +4953,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16820,7 +16899,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16569,7 +16648,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { ): void; removeEventListener( type: K, @@ -4882,7 +4962,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16830,7 +16909,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { +@@ -16579,7 +16658,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { ): void; } @@ -4891,7 +4971,7 @@ prototype: HTMLLinkElement; new (): HTMLLinkElement; }; -@@ -16860,7 +16939,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16606,7 +16685,7 @@ interface HTMLMapElement extends HTMLElement { name: string; addEventListener( type: K, @@ -4900,7 +4980,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16870,7 +16949,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16616,7 +16695,7 @@ interface HTMLMapElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4909,7 +4989,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16880,7 +16959,7 @@ interface HTMLMapElement extends HTMLElement { +@@ -16626,7 +16705,7 @@ interface HTMLMapElement extends HTMLElement { ): void; } @@ -4918,7 +4998,7 @@ prototype: HTMLMapElement; new (): HTMLMapElement; }; -@@ -16922,7 +17001,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16668,7 +16747,7 @@ interface HTMLMarqueeElement extends HTMLElement { stop(): void; addEventListener( type: K, @@ -4927,7 +5007,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -16932,7 +17011,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16678,7 +16757,7 @@ interface HTMLMarqueeElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4936,7 +5016,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -16943,7 +17022,7 @@ interface HTMLMarqueeElement extends HTMLElement { +@@ -16689,7 +16768,7 @@ interface HTMLMarqueeElement extends HTMLElement { } /** @deprecated */ @@ -4945,23 +5025,19 @@ prototype: HTMLMarqueeElement; new (): HTMLMarqueeElement; }; -@@ -17081,13 +17160,13 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16827,9 +16906,9 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */ onencrypted: - | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) + | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ - onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null; + onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. * -@@ -17248,7 +17327,10 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16978,7 +17057,10 @@ interface HTMLMediaElement extends HTMLElement { readonly HAVE_ENOUGH_DATA: 4; addEventListener( type: K, @@ -4973,7 +5049,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17258,7 +17340,10 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16988,7 +17070,10 @@ interface HTMLMediaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -4985,7 +5061,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17268,7 +17353,7 @@ interface HTMLMediaElement extends HTMLElement { +@@ -16998,7 +17083,7 @@ interface HTMLMediaElement extends HTMLElement { ): void; } @@ -4994,7 +5070,7 @@ prototype: HTMLMediaElement; new (): HTMLMediaElement; readonly NETWORK_EMPTY: 0; -@@ -17293,7 +17378,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17018,7 +17103,7 @@ interface HTMLMenuElement extends HTMLElement { compact: boolean; addEventListener( type: K, @@ -5003,7 +5079,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17303,7 +17388,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17028,7 +17113,7 @@ interface HTMLMenuElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5012,7 +5088,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17313,7 +17398,7 @@ interface HTMLMenuElement extends HTMLElement { +@@ -17038,7 +17123,7 @@ interface HTMLMenuElement extends HTMLElement { ): void; } @@ -5021,7 +5097,7 @@ prototype: HTMLMenuElement; new (): HTMLMenuElement; }; -@@ -17347,7 +17432,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17090,7 +17175,7 @@ interface HTMLMetaElement extends HTMLElement { scheme: string; addEventListener( type: K, @@ -5030,7 +5106,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17357,7 +17442,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17100,7 +17185,7 @@ interface HTMLMetaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5039,7 +5115,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17367,7 +17452,7 @@ interface HTMLMetaElement extends HTMLElement { +@@ -17110,7 +17195,7 @@ interface HTMLMetaElement extends HTMLElement { ): void; } @@ -5048,7 +5124,7 @@ prototype: HTMLMetaElement; new (): HTMLMetaElement; }; -@@ -17418,7 +17503,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17137,7 +17222,7 @@ interface HTMLMeterElement extends HTMLElement { value: number; addEventListener( type: K, @@ -5057,7 +5133,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17428,7 +17513,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17147,7 +17232,7 @@ interface HTMLMeterElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5066,7 +5142,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17438,7 +17523,7 @@ interface HTMLMeterElement extends HTMLElement { +@@ -17157,7 +17242,7 @@ interface HTMLMeterElement extends HTMLElement { ): void; } @@ -5075,7 +5151,7 @@ prototype: HTMLMeterElement; new (): HTMLMeterElement; }; -@@ -17468,7 +17553,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17177,7 +17262,7 @@ interface HTMLModElement extends HTMLElement { dateTime: string; addEventListener( type: K, @@ -5084,7 +5160,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17478,7 +17563,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17187,7 +17272,7 @@ interface HTMLModElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5093,7 +5169,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17488,7 +17573,7 @@ interface HTMLModElement extends HTMLElement { +@@ -17197,7 +17282,7 @@ interface HTMLModElement extends HTMLElement { ): void; } @@ -5102,7 +5178,7 @@ prototype: HTMLModElement; new (): HTMLModElement; }; -@@ -17527,7 +17612,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17231,7 +17316,7 @@ interface HTMLOListElement extends HTMLElement { type: string; addEventListener( type: K, @@ -5111,7 +5187,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17537,7 +17622,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17241,7 +17326,7 @@ interface HTMLOListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5120,7 +5196,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17547,7 +17632,7 @@ interface HTMLOListElement extends HTMLElement { +@@ -17251,7 +17336,7 @@ interface HTMLOListElement extends HTMLElement { ): void; } @@ -5129,7 +5205,7 @@ prototype: HTMLOListElement; new (): HTMLOListElement; }; -@@ -17761,7 +17846,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17419,7 +17504,7 @@ interface HTMLObjectElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -5138,7 +5214,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17771,7 +17856,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17429,7 +17514,7 @@ interface HTMLObjectElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5147,7 +5223,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17781,7 +17866,7 @@ interface HTMLObjectElement extends HTMLElement { +@@ -17439,7 +17524,7 @@ interface HTMLObjectElement extends HTMLElement { ): void; } @@ -5156,7 +5232,7 @@ prototype: HTMLObjectElement; new (): HTMLObjectElement; }; -@@ -17810,7 +17895,10 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17461,7 +17546,10 @@ interface HTMLOptGroupElement extends HTMLElement { label: string; addEventListener( type: K, @@ -5168,7 +5244,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17820,7 +17908,10 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17471,7 +17559,10 @@ interface HTMLOptGroupElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5180,7 +5256,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17830,7 +17921,7 @@ interface HTMLOptGroupElement extends HTMLElement { +@@ -17481,7 +17572,7 @@ interface HTMLOptGroupElement extends HTMLElement { ): void; } @@ -5189,7 +5265,7 @@ prototype: HTMLOptGroupElement; new (): HTMLOptGroupElement; }; -@@ -17899,7 +17990,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17515,7 +17606,7 @@ interface HTMLOptionElement extends HTMLElement { value: string; addEventListener( type: K, @@ -5198,7 +5274,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -17909,7 +18000,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17525,7 +17616,7 @@ interface HTMLOptionElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5207,7 +5283,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -17919,7 +18010,7 @@ interface HTMLOptionElement extends HTMLElement { +@@ -17535,7 +17626,7 @@ interface HTMLOptionElement extends HTMLElement { ): void; } @@ -5216,7 +5292,7 @@ prototype: HTMLOptionElement; new (): HTMLOptionElement; }; -@@ -17986,7 +18077,7 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { +@@ -17588,7 +17679,7 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { remove(index: number): void; } @@ -5225,7 +5301,7 @@ prototype: HTMLOptionsCollection; new (): HTMLOptionsCollection; }; -@@ -18104,7 +18195,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17658,7 +17749,7 @@ interface HTMLOutputElement extends HTMLElement { setCustomValidity(error: string): void; addEventListener( type: K, @@ -5234,7 +5310,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18114,7 +18205,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17668,7 +17759,7 @@ interface HTMLOutputElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5243,7 +5319,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18124,7 +18215,7 @@ interface HTMLOutputElement extends HTMLElement { +@@ -17678,7 +17769,7 @@ interface HTMLOutputElement extends HTMLElement { ): void; } @@ -5252,7 +5328,7 @@ prototype: HTMLOutputElement; new (): HTMLOutputElement; }; -@@ -18148,7 +18239,10 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17699,7 +17790,10 @@ interface HTMLParagraphElement extends HTMLElement { align: string; addEventListener( type: K, @@ -5264,7 +5340,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18158,7 +18252,10 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17709,7 +17803,10 @@ interface HTMLParagraphElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5276,7 +5352,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18168,7 +18265,7 @@ interface HTMLParagraphElement extends HTMLElement { +@@ -17719,7 +17816,7 @@ interface HTMLParagraphElement extends HTMLElement { ): void; } @@ -5285,7 +5361,7 @@ prototype: HTMLParagraphElement; new (): HTMLParagraphElement; }; -@@ -18222,7 +18319,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17761,7 +17858,7 @@ interface HTMLParamElement extends HTMLElement { valueType: string; addEventListener( type: K, @@ -5294,7 +5370,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18232,7 +18329,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17771,7 +17868,7 @@ interface HTMLParamElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5303,7 +5379,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18243,7 +18340,7 @@ interface HTMLParamElement extends HTMLElement { +@@ -17782,7 +17879,7 @@ interface HTMLParamElement extends HTMLElement { } /** @deprecated */ @@ -5312,7 +5388,7 @@ prototype: HTMLParamElement; new (): HTMLParamElement; }; -@@ -18258,7 +18355,7 @@ declare var HTMLParamElement: { +@@ -17797,7 +17894,7 @@ declare var HTMLParamElement: { interface HTMLPictureElement extends HTMLElement { addEventListener( type: K, @@ -5321,7 +5397,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18268,7 +18365,7 @@ interface HTMLPictureElement extends HTMLElement { +@@ -17807,7 +17904,7 @@ interface HTMLPictureElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5330,7 +5406,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18278,7 +18375,7 @@ interface HTMLPictureElement extends HTMLElement { +@@ -17817,7 +17914,7 @@ interface HTMLPictureElement extends HTMLElement { ): void; } @@ -5339,7 +5415,7 @@ prototype: HTMLPictureElement; new (): HTMLPictureElement; }; -@@ -18303,7 +18400,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17839,7 +17936,7 @@ interface HTMLPreElement extends HTMLElement { width: number; addEventListener( type: K, @@ -5348,7 +5424,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18313,7 +18410,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17849,7 +17946,7 @@ interface HTMLPreElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5357,7 +5433,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18323,7 +18420,7 @@ interface HTMLPreElement extends HTMLElement { +@@ -17859,7 +17956,7 @@ interface HTMLPreElement extends HTMLElement { ): void; } @@ -5366,7 +5442,7 @@ prototype: HTMLPreElement; new (): HTMLPreElement; }; -@@ -18368,7 +18465,10 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17904,7 +18001,10 @@ interface HTMLProgressElement extends HTMLElement { value: number; addEventListener( type: K, @@ -5378,7 +5454,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18378,7 +18478,10 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17914,7 +18014,10 @@ interface HTMLProgressElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5390,7 +5466,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18388,7 +18491,7 @@ interface HTMLProgressElement extends HTMLElement { +@@ -17924,7 +18027,7 @@ interface HTMLProgressElement extends HTMLElement { ): void; } @@ -5399,7 +5475,7 @@ prototype: HTMLProgressElement; new (): HTMLProgressElement; }; -@@ -18410,7 +18513,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17941,7 +18044,7 @@ interface HTMLQuoteElement extends HTMLElement { cite: string; addEventListener( type: K, @@ -5408,7 +5484,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18420,7 +18523,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17951,7 +18054,7 @@ interface HTMLQuoteElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5417,7 +5493,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18430,7 +18533,7 @@ interface HTMLQuoteElement extends HTMLElement { +@@ -17961,7 +18064,7 @@ interface HTMLQuoteElement extends HTMLElement { ): void; } @@ -5426,7 +5502,7 @@ prototype: HTMLQuoteElement; new (): HTMLQuoteElement; }; -@@ -18488,7 +18591,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18053,7 +18156,7 @@ interface HTMLScriptElement extends HTMLElement { type: string; addEventListener( type: K, @@ -5435,7 +5511,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18498,7 +18601,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18063,7 +18166,7 @@ interface HTMLScriptElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5444,7 +5520,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18508,7 +18611,7 @@ interface HTMLScriptElement extends HTMLElement { +@@ -18073,7 +18176,7 @@ interface HTMLScriptElement extends HTMLElement { ): void; } @@ -5453,7 +5529,7 @@ prototype: HTMLScriptElement; new (): HTMLScriptElement; /** -@@ -18727,7 +18830,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18252,7 +18355,7 @@ interface HTMLSelectElement extends HTMLElement { showPicker(): void; addEventListener( type: K, @@ -5462,7 +5538,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18737,7 +18840,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18262,7 +18365,7 @@ interface HTMLSelectElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5471,7 +5547,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18748,7 +18851,7 @@ interface HTMLSelectElement extends HTMLElement { +@@ -18273,7 +18376,7 @@ interface HTMLSelectElement extends HTMLElement { [name: number]: HTMLOptionElement | HTMLOptGroupElement; } @@ -5480,7 +5556,7 @@ prototype: HTMLSelectElement; new (): HTMLSelectElement; }; -@@ -18777,7 +18880,7 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18302,7 +18405,7 @@ interface HTMLSlotElement extends HTMLElement { assignedNodes(options?: AssignedNodesOptions): Node[]; addEventListener( type: K, @@ -5489,7 +5565,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18787,7 +18890,7 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18312,7 +18415,7 @@ interface HTMLSlotElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5498,7 +5574,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18797,7 +18900,7 @@ interface HTMLSlotElement extends HTMLElement { +@@ -18322,7 +18425,7 @@ interface HTMLSlotElement extends HTMLElement { ): void; } @@ -5507,7 +5583,7 @@ prototype: HTMLSlotElement; new (): HTMLSlotElement; }; -@@ -18845,7 +18948,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18355,7 +18458,7 @@ interface HTMLSourceElement extends HTMLElement { width: number; addEventListener( type: K, @@ -5516,7 +5592,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18855,7 +18958,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18365,7 +18468,7 @@ interface HTMLSourceElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5525,7 +5601,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18865,7 +18968,7 @@ interface HTMLSourceElement extends HTMLElement { +@@ -18375,7 +18478,7 @@ interface HTMLSourceElement extends HTMLElement { ): void; } @@ -5534,7 +5610,7 @@ prototype: HTMLSourceElement; new (): HTMLSourceElement; }; -@@ -18879,7 +18982,7 @@ declare var HTMLSourceElement: { +@@ -18389,7 +18492,7 @@ declare var HTMLSourceElement: { interface HTMLSpanElement extends HTMLElement { addEventListener( type: K, @@ -5543,7 +5619,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18889,7 +18992,7 @@ interface HTMLSpanElement extends HTMLElement { +@@ -18399,7 +18502,7 @@ interface HTMLSpanElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5552,7 +5628,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18899,7 +19002,7 @@ interface HTMLSpanElement extends HTMLElement { +@@ -18409,7 +18512,7 @@ interface HTMLSpanElement extends HTMLElement { ): void; } @@ -5561,7 +5637,7 @@ prototype: HTMLSpanElement; new (): HTMLSpanElement; }; -@@ -18936,7 +19039,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18446,7 +18549,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { type: string; addEventListener( type: K, @@ -5570,7 +5646,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18946,7 +19049,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18456,7 +18559,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { ): void; removeEventListener( type: K, @@ -5579,7 +5655,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -18956,7 +19059,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { +@@ -18466,7 +18569,7 @@ interface HTMLStyleElement extends HTMLElement, LinkStyle { ): void; } @@ -5588,7 +5664,7 @@ prototype: HTMLStyleElement; new (): HTMLStyleElement; }; -@@ -18983,7 +19086,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18490,7 +18593,7 @@ interface HTMLTableCaptionElement extends HTMLElement { listener: ( this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K], @@ -5597,7 +5673,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -18996,7 +19099,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18503,7 +18606,7 @@ interface HTMLTableCaptionElement extends HTMLElement { listener: ( this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K], @@ -5606,7 +5682,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19006,7 +19109,7 @@ interface HTMLTableCaptionElement extends HTMLElement { +@@ -18513,7 +18616,7 @@ interface HTMLTableCaptionElement extends HTMLElement { ): void; } @@ -5615,7 +5691,7 @@ prototype: HTMLTableCaptionElement; new (): HTMLTableCaptionElement; }; -@@ -19142,7 +19245,10 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18640,7 +18743,10 @@ interface HTMLTableCellElement extends HTMLElement { width: string; addEventListener( type: K, @@ -5627,7 +5703,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19152,7 +19258,10 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18650,7 +18756,10 @@ interface HTMLTableCellElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5639,7 +5715,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19162,7 +19271,7 @@ interface HTMLTableCellElement extends HTMLElement { +@@ -18660,7 +18769,7 @@ interface HTMLTableCellElement extends HTMLElement { ): void; } @@ -5648,7 +5724,7 @@ prototype: HTMLTableCellElement; new (): HTMLTableCellElement; }; -@@ -19225,7 +19334,10 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18720,7 +18829,10 @@ interface HTMLTableColElement extends HTMLElement { width: string; addEventListener( type: K, @@ -5660,7 +5736,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19235,7 +19347,10 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18730,7 +18842,10 @@ interface HTMLTableColElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5672,7 +5748,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19245,7 +19360,7 @@ interface HTMLTableColElement extends HTMLElement { +@@ -18740,7 +18855,7 @@ interface HTMLTableColElement extends HTMLElement { ): void; } @@ -5681,7 +5757,7 @@ prototype: HTMLTableColElement; new (): HTMLTableColElement; }; -@@ -19257,7 +19372,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { +@@ -18752,7 +18867,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K], @@ -5690,7 +5766,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19270,7 +19385,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { +@@ -18765,7 +18880,7 @@ interface HTMLTableDataCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K], @@ -5699,7 +5775,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19478,7 +19593,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18973,7 +19088,7 @@ interface HTMLTableElement extends HTMLElement { insertRow(index?: number): HTMLTableRowElement; addEventListener( type: K, @@ -5708,7 +5784,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19488,7 +19603,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18983,7 +19098,7 @@ interface HTMLTableElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5717,7 +5793,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19498,7 +19613,7 @@ interface HTMLTableElement extends HTMLElement { +@@ -18993,7 +19108,7 @@ interface HTMLTableElement extends HTMLElement { ): void; } @@ -5726,7 +5802,7 @@ prototype: HTMLTableElement; new (): HTMLTableElement; }; -@@ -19510,7 +19625,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { +@@ -19005,7 +19120,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K], @@ -5735,7 +5811,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19523,7 +19638,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { +@@ -19018,7 +19133,7 @@ interface HTMLTableHeaderCellElement extends HTMLTableCellElement { listener: ( this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K], @@ -5744,7 +5820,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19626,7 +19741,10 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19113,7 +19228,10 @@ interface HTMLTableRowElement extends HTMLElement { insertCell(index?: number): HTMLTableCellElement; addEventListener( type: K, @@ -5756,7 +5832,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19636,7 +19754,10 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19123,7 +19241,10 @@ interface HTMLTableRowElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5768,7 +5844,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19646,7 +19767,7 @@ interface HTMLTableRowElement extends HTMLElement { +@@ -19133,7 +19254,7 @@ interface HTMLTableRowElement extends HTMLElement { ): void; } @@ -5777,7 +5853,7 @@ prototype: HTMLTableRowElement; new (): HTMLTableRowElement; }; -@@ -19726,7 +19847,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19205,7 +19326,7 @@ interface HTMLTableSectionElement extends HTMLElement { listener: ( this: HTMLTableSectionElement, ev: HTMLElementEventMap[K], @@ -5786,7 +5862,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19739,7 +19860,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19218,7 +19339,7 @@ interface HTMLTableSectionElement extends HTMLElement { listener: ( this: HTMLTableSectionElement, ev: HTMLElementEventMap[K], @@ -5795,7 +5871,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19749,7 +19870,7 @@ interface HTMLTableSectionElement extends HTMLElement { +@@ -19228,7 +19349,7 @@ interface HTMLTableSectionElement extends HTMLElement { ): void; } @@ -5804,8 +5880,8 @@ prototype: HTMLTableSectionElement; new (): HTMLTableSectionElement; }; -@@ -19771,7 +19892,10 @@ interface HTMLTemplateElement extends HTMLElement { - shadowRootMode: string; +@@ -19269,7 +19390,10 @@ interface HTMLTemplateElement extends HTMLElement { + shadowRootSerializable: boolean; addEventListener( type: K, - listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, @@ -5816,7 +5892,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19781,7 +19905,10 @@ interface HTMLTemplateElement extends HTMLElement { +@@ -19279,7 +19403,10 @@ interface HTMLTemplateElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5828,7 +5904,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19791,7 +19918,7 @@ interface HTMLTemplateElement extends HTMLElement { +@@ -19289,7 +19416,7 @@ interface HTMLTemplateElement extends HTMLElement { ): void; } @@ -5837,7 +5913,7 @@ prototype: HTMLTemplateElement; new (): HTMLTemplateElement; }; -@@ -19918,7 +20045,10 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19409,7 +19536,10 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; addEventListener( type: K, @@ -5849,7 +5925,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19928,7 +20058,10 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19419,7 +19549,10 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5861,7 +5937,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19938,7 +20071,7 @@ interface HTMLTextAreaElement extends HTMLElement { +@@ -19429,7 +19562,7 @@ interface HTMLTextAreaElement extends HTMLElement { ): void; } @@ -5870,7 +5946,7 @@ prototype: HTMLTextAreaElement; new (): HTMLTextAreaElement; }; -@@ -19957,7 +20090,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19448,7 +19581,7 @@ interface HTMLTimeElement extends HTMLElement { dateTime: string; addEventListener( type: K, @@ -5879,7 +5955,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -19967,7 +20100,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19458,7 +19591,7 @@ interface HTMLTimeElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5888,7 +5964,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -19977,7 +20110,7 @@ interface HTMLTimeElement extends HTMLElement { +@@ -19468,7 +19601,7 @@ interface HTMLTimeElement extends HTMLElement { ): void; } @@ -5897,7 +5973,7 @@ prototype: HTMLTimeElement; new (): HTMLTimeElement; }; -@@ -19998,7 +20131,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19489,7 +19622,7 @@ interface HTMLTitleElement extends HTMLElement { text: string; addEventListener( type: K, @@ -5906,7 +5982,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20008,7 +20141,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19499,7 +19632,7 @@ interface HTMLTitleElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5915,7 +5991,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20018,7 +20151,7 @@ interface HTMLTitleElement extends HTMLElement { +@@ -19509,7 +19642,7 @@ interface HTMLTitleElement extends HTMLElement { ): void; } @@ -5924,7 +6000,7 @@ prototype: HTMLTitleElement; new (): HTMLTitleElement; }; -@@ -20073,7 +20206,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19541,7 +19674,7 @@ interface HTMLTrackElement extends HTMLElement { readonly ERROR: 3; addEventListener( type: K, @@ -5933,7 +6009,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20083,7 +20216,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19551,7 +19684,7 @@ interface HTMLTrackElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5942,7 +6018,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20093,7 +20226,7 @@ interface HTMLTrackElement extends HTMLElement { +@@ -19561,7 +19694,7 @@ interface HTMLTrackElement extends HTMLElement { ): void; } @@ -5951,7 +6027,7 @@ prototype: HTMLTrackElement; new (): HTMLTrackElement; readonly NONE: 0; -@@ -20126,7 +20259,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19584,7 +19717,7 @@ interface HTMLUListElement extends HTMLElement { type: string; addEventListener( type: K, @@ -5960,7 +6036,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20136,7 +20269,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19594,7 +19727,7 @@ interface HTMLUListElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5969,7 +6045,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20146,7 +20279,7 @@ interface HTMLUListElement extends HTMLElement { +@@ -19604,7 +19737,7 @@ interface HTMLUListElement extends HTMLElement { ): void; } @@ -5978,7 +6054,7 @@ prototype: HTMLUListElement; new (): HTMLUListElement; }; -@@ -20161,7 +20294,7 @@ declare var HTMLUListElement: { +@@ -19619,7 +19752,7 @@ declare var HTMLUListElement: { interface HTMLUnknownElement extends HTMLElement { addEventListener( type: K, @@ -5987,7 +6063,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20171,7 +20304,7 @@ interface HTMLUnknownElement extends HTMLElement { +@@ -19629,7 +19762,7 @@ interface HTMLUnknownElement extends HTMLElement { ): void; removeEventListener( type: K, @@ -5996,7 +6072,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20181,7 +20314,7 @@ interface HTMLUnknownElement extends HTMLElement { +@@ -19639,7 +19772,7 @@ interface HTMLUnknownElement extends HTMLElement { ): void; } @@ -6005,7 +6081,7 @@ prototype: HTMLUnknownElement; new (): HTMLUnknownElement; }; -@@ -20214,12 +20347,16 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19672,12 +19805,16 @@ interface HTMLVideoElement extends HTMLMediaElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */ @@ -6024,7 +6100,7 @@ /** * Gets or sets the playsinline of the video element. for example, On iPhone, * video elements will now be allowed to play inline, and will not -@@ -20272,7 +20409,10 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19738,7 +19875,10 @@ interface HTMLVideoElement extends HTMLMediaElement { requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -6036,7 +6112,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20282,7 +20422,10 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19748,7 +19888,10 @@ interface HTMLVideoElement extends HTMLMediaElement { ): void; removeEventListener( type: K, @@ -6048,7 +6124,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20292,7 +20435,7 @@ interface HTMLVideoElement extends HTMLMediaElement { +@@ -19758,7 +19901,7 @@ interface HTMLVideoElement extends HTMLMediaElement { ): void; } @@ -6057,7 +6133,7 @@ prototype: HTMLVideoElement; new (): HTMLVideoElement; }; -@@ -20319,7 +20462,7 @@ interface HashChangeEvent extends Event { +@@ -19785,7 +19928,7 @@ interface HashChangeEvent extends Event { readonly oldURL: string; } @@ -6066,7 +6142,7 @@ prototype: HashChangeEvent; new (type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent; }; -@@ -20353,11 +20496,11 @@ interface Headers { +@@ -19819,11 +19962,11 @@ interface Headers { set(name: string, value: string): void; forEach( callbackfn: (value: string, key: string, parent: Headers) => void, @@ -6080,7 +6156,7 @@ prototype: Headers; new (init?: HeadersInit): Headers; }; -@@ -20377,13 +20520,13 @@ interface Highlight { +@@ -19843,13 +19986,13 @@ interface Highlight { key: AbstractRange, parent: Highlight, ) => void, @@ -6097,7 +6173,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry) */ -@@ -20394,11 +20537,11 @@ interface HighlightRegistry { +@@ -19860,11 +20003,11 @@ interface HighlightRegistry { key: string, parent: HighlightRegistry, ) => void, @@ -6111,7 +6187,7 @@ prototype: HighlightRegistry; new (): HighlightRegistry; }; -@@ -20418,7 +20561,7 @@ interface History { +@@ -19884,7 +20027,7 @@ interface History { */ scrollRestoration: ScrollRestoration; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/state) */ @@ -6120,7 +6196,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/back) */ back(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/forward) */ -@@ -20429,15 +20572,15 @@ interface History { +@@ -19895,15 +20038,15 @@ interface History { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/History/pushState) */ @@ -6139,7 +6215,7 @@ prototype: History; new (): History; }; -@@ -20527,10 +20670,10 @@ interface IDBCursor { +@@ -19993,10 +20136,10 @@ interface IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update) */ @@ -6152,7 +6228,7 @@ prototype: IDBCursor; new (): IDBCursor; }; -@@ -20550,10 +20693,10 @@ interface IDBCursorWithValue extends IDBCursor { +@@ -20016,10 +20159,10 @@ interface IDBCursorWithValue extends IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value) */ @@ -6165,7 +6241,7 @@ prototype: IDBCursorWithValue; new (): IDBCursorWithValue; }; -@@ -20588,19 +20731,19 @@ interface IDBDatabase extends EventTarget { +@@ -20054,19 +20197,19 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames) */ readonly objectStoreNames: DOMStringList; @@ -6189,7 +6265,7 @@ | null; /** * Returns the version of the database. -@@ -20648,13 +20791,13 @@ interface IDBDatabase extends EventTarget { +@@ -20114,13 +20257,13 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) */ transaction( @@ -6205,7 +6281,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -20664,7 +20807,7 @@ interface IDBDatabase extends EventTarget { +@@ -20130,7 +20273,7 @@ interface IDBDatabase extends EventTarget { ): void; removeEventListener( type: K, @@ -6214,7 +6290,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -20674,7 +20817,7 @@ interface IDBDatabase extends EventTarget { +@@ -20140,7 +20283,7 @@ interface IDBDatabase extends EventTarget { ): void; } @@ -6223,7 +6299,7 @@ prototype: IDBDatabase; new (): IDBDatabase; }; -@@ -20695,7 +20838,7 @@ interface IDBFactory { +@@ -20161,7 +20304,7 @@ interface IDBFactory { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp) */ @@ -6232,7 +6308,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/databases) -@@ -20721,7 +20864,7 @@ interface IDBFactory { +@@ -20187,7 +20330,7 @@ interface IDBFactory { open(name: string, version?: number): IDBOpenDBRequest; } @@ -6241,7 +6317,7 @@ prototype: IDBFactory; new (): IDBFactory; }; -@@ -20739,7 +20882,7 @@ interface IDBIndex { +@@ -20205,7 +20348,7 @@ interface IDBIndex { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath) */ @@ -6250,7 +6326,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry) -@@ -20778,7 +20921,7 @@ interface IDBIndex { +@@ -20244,7 +20387,7 @@ interface IDBIndex { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get) */ @@ -6259,7 +6335,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -20790,7 +20933,7 @@ interface IDBIndex { +@@ -20256,7 +20399,7 @@ interface IDBIndex { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6268,7 +6344,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -20844,7 +20987,7 @@ interface IDBIndex { +@@ -20310,7 +20453,7 @@ interface IDBIndex { ): IDBRequest; } @@ -6277,7 +6353,7 @@ prototype: IDBIndex; new (): IDBIndex; }; -@@ -20866,7 +21009,7 @@ interface IDBKeyRange { +@@ -20332,7 +20475,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower) */ @@ -6286,7 +6362,7 @@ /** * Returns true if the lower open flag is set, and false otherwise. * -@@ -20880,7 +21023,7 @@ interface IDBKeyRange { +@@ -20346,7 +20489,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper) */ @@ -6295,7 +6371,7 @@ /** * Returns true if the upper open flag is set, and false otherwise. * -@@ -20894,10 +21037,10 @@ interface IDBKeyRange { +@@ -20360,10 +20503,10 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes) */ @@ -6308,7 +6384,7 @@ prototype: IDBKeyRange; new (): IDBKeyRange; /** -@@ -20909,8 +21052,8 @@ declare var IDBKeyRange: { +@@ -20375,8 +20518,8 @@ declare var IDBKeyRange: { * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static) */ bound( @@ -6319,7 +6395,7 @@ lowerOpen?: boolean, upperOpen?: boolean, ): IDBKeyRange; -@@ -20921,14 +21064,14 @@ declare var IDBKeyRange: { +@@ -20387,14 +20530,14 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static) */ @@ -6336,7 +6412,7 @@ /** * Returns a new IDBKeyRange with no lower bound and ending at key. If open is * true, key is not included in the range. -@@ -20936,7 +21079,7 @@ declare var IDBKeyRange: { +@@ -20402,7 +20545,7 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static) */ @@ -6345,7 +6421,7 @@ }; /** -@@ -20969,7 +21112,7 @@ interface IDBObjectStore { +@@ -20435,7 +20578,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath) */ @@ -6354,7 +6430,7 @@ /** * Returns the name of the store. * -@@ -20999,7 +21142,7 @@ interface IDBObjectStore { +@@ -20465,7 +20608,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add) */ @@ -6363,7 +6439,7 @@ /** * Deletes all records in store. * -@@ -21033,7 +21176,7 @@ interface IDBObjectStore { +@@ -20499,7 +20642,7 @@ interface IDBObjectStore { */ createIndex( name: string, @@ -6372,7 +6448,7 @@ options?: IDBIndexParameters, ): IDBIndex; /** -@@ -21066,7 +21209,7 @@ interface IDBObjectStore { +@@ -20532,7 +20675,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get) */ @@ -6381,7 +6457,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -21079,7 +21222,7 @@ interface IDBObjectStore { +@@ -20545,7 +20688,7 @@ interface IDBObjectStore { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -6390,7 +6466,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -21152,10 +21295,10 @@ interface IDBObjectStore { +@@ -20618,10 +20761,10 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put) */ @@ -6403,7 +6479,7 @@ prototype: IDBObjectStore; new (): IDBObjectStore; }; -@@ -21176,18 +21319,21 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20642,18 +20785,21 @@ interface IDBOpenDBRequest extends IDBRequest { * Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */ onblocked: @@ -6428,7 +6504,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21197,7 +21343,10 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20663,7 +20809,10 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; removeEventListener( type: K, @@ -6440,7 +6516,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21207,7 +21356,7 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -20673,7 +20822,7 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; } @@ -6449,7 +6525,7 @@ prototype: IDBOpenDBRequest; new (): IDBOpenDBRequest; }; -@@ -21225,7 +21374,7 @@ interface IDBRequestEventMap { +@@ -20691,7 +20840,7 @@ interface IDBRequestEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest) */ @@ -6458,7 +6534,7 @@ /** * When a request is completed, returns the error (a DOMException), or null if * the request succeeded. Throws a "InvalidStateError" DOMException if the -@@ -21239,12 +21388,12 @@ interface IDBRequest extends EventTarget { +@@ -20705,12 +20854,12 @@ interface IDBRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */ @@ -6473,7 +6549,7 @@ /** * Returns "pending" until a request is complete, then returns "done". * -@@ -21280,7 +21429,7 @@ interface IDBRequest extends EventTarget { +@@ -20746,7 +20895,7 @@ interface IDBRequest extends EventTarget { readonly transaction: IDBTransaction | null; addEventListener( type: K, @@ -6482,7 +6558,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21290,7 +21439,7 @@ interface IDBRequest extends EventTarget { +@@ -20756,7 +20905,7 @@ interface IDBRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -6491,7 +6567,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21300,7 +21449,7 @@ interface IDBRequest extends EventTarget { +@@ -20766,7 +20915,7 @@ interface IDBRequest extends EventTarget { ): void; } @@ -6500,7 +6576,7 @@ prototype: IDBRequest; new (): IDBRequest; }; -@@ -21353,17 +21502,17 @@ interface IDBTransaction extends EventTarget { +@@ -20819,17 +20968,17 @@ interface IDBTransaction extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -6521,7 +6597,7 @@ /** * Aborts the transaction. All pending requests will fail with a "AbortError" * DOMException and all changes made to the database will be reverted. -@@ -21386,7 +21535,7 @@ interface IDBTransaction extends EventTarget { +@@ -20852,7 +21001,7 @@ interface IDBTransaction extends EventTarget { objectStore(name: string): IDBObjectStore; addEventListener( type: K, @@ -6530,7 +6606,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -21396,7 +21545,7 @@ interface IDBTransaction extends EventTarget { +@@ -20862,7 +21011,7 @@ interface IDBTransaction extends EventTarget { ): void; removeEventListener( type: K, @@ -6539,7 +6615,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -21406,7 +21555,7 @@ interface IDBTransaction extends EventTarget { +@@ -20872,7 +21021,7 @@ interface IDBTransaction extends EventTarget { ): void; } @@ -6548,7 +6624,7 @@ prototype: IDBTransaction; new (): IDBTransaction; }; -@@ -21432,7 +21581,7 @@ interface IDBVersionChangeEvent extends Event { +@@ -20898,7 +21047,7 @@ interface IDBVersionChangeEvent extends Event { readonly oldVersion: number; } @@ -6557,7 +6633,7 @@ prototype: IDBVersionChangeEvent; new ( type: string, -@@ -21461,7 +21610,7 @@ interface IIRFilterNode extends AudioNode { +@@ -20927,7 +21076,7 @@ interface IIRFilterNode extends AudioNode { ): void; } @@ -6566,7 +6642,7 @@ prototype: IIRFilterNode; new (context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode; }; -@@ -21480,7 +21629,7 @@ interface IdleDeadline { +@@ -20946,7 +21095,7 @@ interface IdleDeadline { timeRemaining(): DOMHighResTimeStamp; } @@ -6575,7 +6651,7 @@ prototype: IdleDeadline; new (): IdleDeadline; }; -@@ -21510,7 +21659,7 @@ interface ImageBitmap { +@@ -20976,7 +21125,7 @@ interface ImageBitmap { close(): void; } @@ -6584,7 +6660,7 @@ prototype: ImageBitmap; new (): ImageBitmap; }; -@@ -21533,7 +21682,7 @@ interface ImageBitmapRenderingContext { +@@ -20999,7 +21148,7 @@ interface ImageBitmapRenderingContext { transferFromImageBitmap(bitmap: ImageBitmap | null): void; } @@ -6593,7 +6669,7 @@ prototype: ImageBitmapRenderingContext; new (): ImageBitmapRenderingContext; }; -@@ -21577,7 +21726,7 @@ interface ImageData { +@@ -21043,7 +21192,7 @@ interface ImageData { readonly width: number; } @@ -6602,7 +6678,7 @@ prototype: ImageData; new (sw: number, sh: number, settings?: ImageDataSettings): ImageData; new ( -@@ -21609,7 +21758,7 @@ interface InputDeviceInfo extends MediaDeviceInfo { +@@ -21072,7 +21221,7 @@ interface InputDeviceInfo extends MediaDeviceInfo { getCapabilities(): MediaTrackCapabilities; } @@ -6611,7 +6687,7 @@ prototype: InputDeviceInfo; new (): InputDeviceInfo; }; -@@ -21640,7 +21789,7 @@ interface InputEvent extends UIEvent { +@@ -21103,7 +21252,7 @@ interface InputEvent extends UIEvent { getTargetRanges(): StaticRange[]; } @@ -6620,7 +6696,7 @@ prototype: InputEvent; new (type: string, eventInitDict?: InputEventInit): InputEvent; }; -@@ -21691,7 +21840,7 @@ interface IntersectionObserver { +@@ -21154,7 +21303,7 @@ interface IntersectionObserver { unobserve(target: Element): void; } @@ -6629,7 +6705,7 @@ prototype: IntersectionObserver; new ( callback: IntersectionObserverCallback, -@@ -21745,7 +21894,7 @@ interface IntersectionObserverEntry { +@@ -21208,7 +21357,7 @@ interface IntersectionObserverEntry { readonly time: DOMHighResTimeStamp; } @@ -6638,7 +6714,7 @@ prototype: IntersectionObserverEntry; new ( intersectionObserverEntryInit: IntersectionObserverEntryInit, -@@ -21856,7 +22005,7 @@ interface KeyboardEvent extends UIEvent { +@@ -21319,7 +21468,7 @@ interface KeyboardEvent extends UIEvent { readonly DOM_KEY_LOCATION_NUMPAD: 0x03; } @@ -6647,7 +6723,7 @@ prototype: KeyboardEvent; new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent; readonly DOM_KEY_LOCATION_STANDARD: 0x00; -@@ -21896,14 +22045,16 @@ interface KeyframeEffect extends AnimationEffect { +@@ -21359,14 +21508,16 @@ interface KeyframeEffect extends AnimationEffect { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/setKeyframes) */ @@ -6667,7 +6743,20 @@ options?: number | KeyframeEffectOptions, ): KeyframeEffect; new (source: KeyframeEffect): KeyframeEffect; -@@ -22036,7 +22187,7 @@ interface Location { +@@ -21411,10 +21562,10 @@ interface LargestContentfulPaint extends PerformanceEntry { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ +- toJSON(): any; ++ toJSON(): unknown; + } + +-declare var LargestContentfulPaint: { ++declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; + }; +@@ -21546,7 +21697,7 @@ interface Location { replace(url: string | URL): void; } @@ -6676,7 +6765,7 @@ prototype: Location; new (): Location; }; -@@ -22053,7 +22204,7 @@ interface Lock { +@@ -21563,7 +21714,7 @@ interface Lock { readonly name: string; } @@ -6685,7 +6774,7 @@ prototype: Lock; new (): Lock; }; -@@ -22073,15 +22224,15 @@ interface LockManager { +@@ -21583,15 +21734,15 @@ interface LockManager { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request) */ @@ -6704,7 +6793,7 @@ prototype: LockManager; new (): LockManager; }; -@@ -22105,7 +22256,7 @@ interface MIDIAccess extends EventTarget { +@@ -21615,7 +21766,7 @@ interface MIDIAccess extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */ @@ -6713,7 +6802,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs) -@@ -22118,7 +22269,7 @@ interface MIDIAccess extends EventTarget { +@@ -21628,7 +21779,7 @@ interface MIDIAccess extends EventTarget { readonly sysexEnabled: boolean; addEventListener( type: K, @@ -6722,7 +6811,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22128,7 +22279,7 @@ interface MIDIAccess extends EventTarget { +@@ -21638,7 +21789,7 @@ interface MIDIAccess extends EventTarget { ): void; removeEventListener( type: K, @@ -6731,7 +6820,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22138,7 +22289,7 @@ interface MIDIAccess extends EventTarget { +@@ -21648,7 +21799,7 @@ interface MIDIAccess extends EventTarget { ): void; } @@ -6740,7 +6829,7 @@ prototype: MIDIAccess; new (): MIDIAccess; }; -@@ -22157,7 +22308,7 @@ interface MIDIConnectionEvent extends Event { +@@ -21667,7 +21818,7 @@ interface MIDIConnectionEvent extends Event { readonly port: MIDIPort | null; } @@ -6749,7 +6838,7 @@ prototype: MIDIConnectionEvent; new ( type: string, -@@ -22179,10 +22330,10 @@ interface MIDIInput extends MIDIPort { +@@ -21689,10 +21840,10 @@ interface MIDIInput extends MIDIPort { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */ @@ -6762,7 +6851,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22192,7 +22343,7 @@ interface MIDIInput extends MIDIPort { +@@ -21702,7 +21853,7 @@ interface MIDIInput extends MIDIPort { ): void; removeEventListener( type: K, @@ -6771,7 +6860,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22202,7 +22353,7 @@ interface MIDIInput extends MIDIPort { +@@ -21712,7 +21863,7 @@ interface MIDIInput extends MIDIPort { ): void; } @@ -6780,7 +6869,7 @@ prototype: MIDIInput; new (): MIDIInput; }; -@@ -22215,11 +22366,11 @@ declare var MIDIInput: { +@@ -21725,11 +21876,11 @@ declare var MIDIInput: { interface MIDIInputMap { forEach( callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, @@ -6794,7 +6883,7 @@ prototype: MIDIInputMap; new (): MIDIInputMap; }; -@@ -22237,7 +22388,7 @@ interface MIDIMessageEvent extends Event { +@@ -21747,7 +21898,7 @@ interface MIDIMessageEvent extends Event { readonly data: Uint8Array | null; } @@ -6803,7 +6892,7 @@ prototype: MIDIMessageEvent; new (type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent; }; -@@ -22249,10 +22400,10 @@ declare var MIDIMessageEvent: { +@@ -21759,10 +21910,10 @@ declare var MIDIMessageEvent: { */ interface MIDIOutput extends MIDIPort { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */ @@ -6816,7 +6905,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22262,7 +22413,7 @@ interface MIDIOutput extends MIDIPort { +@@ -21772,7 +21923,7 @@ interface MIDIOutput extends MIDIPort { ): void; removeEventListener( type: K, @@ -6825,7 +6914,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22272,7 +22423,7 @@ interface MIDIOutput extends MIDIPort { +@@ -21782,7 +21933,7 @@ interface MIDIOutput extends MIDIPort { ): void; } @@ -6834,7 +6923,7 @@ prototype: MIDIOutput; new (): MIDIOutput; }; -@@ -22285,11 +22436,11 @@ declare var MIDIOutput: { +@@ -21795,11 +21946,11 @@ declare var MIDIOutput: { interface MIDIOutputMap { forEach( callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, @@ -6848,7 +6937,7 @@ prototype: MIDIOutputMap; new (): MIDIOutputMap; }; -@@ -22322,7 +22473,7 @@ interface MIDIPort extends EventTarget { +@@ -21832,7 +21983,7 @@ interface MIDIPort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */ @@ -6857,7 +6946,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state) */ readonly state: MIDIPortDeviceState; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type) */ -@@ -22338,7 +22489,7 @@ interface MIDIPort extends EventTarget { +@@ -21848,7 +21999,7 @@ interface MIDIPort extends EventTarget { open(): Promise; addEventListener( type: K, @@ -6866,7 +6955,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22348,7 +22499,7 @@ interface MIDIPort extends EventTarget { +@@ -21858,7 +22009,7 @@ interface MIDIPort extends EventTarget { ): void; removeEventListener( type: K, @@ -6875,7 +6964,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22358,7 +22509,7 @@ interface MIDIPort extends EventTarget { +@@ -21868,7 +22019,7 @@ interface MIDIPort extends EventTarget { ): void; } @@ -6884,7 +6973,7 @@ prototype: MIDIPort; new (): MIDIPort; }; -@@ -22375,7 +22526,7 @@ interface MathMLElement +@@ -21885,7 +22036,7 @@ interface MathMLElement HTMLOrSVGElement { addEventListener( type: K, @@ -6893,7 +6982,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22385,7 +22536,7 @@ interface MathMLElement +@@ -21895,7 +22046,7 @@ interface MathMLElement ): void; removeEventListener( type: K, @@ -6902,7 +6991,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22395,7 +22546,7 @@ interface MathMLElement +@@ -21905,7 +22056,7 @@ interface MathMLElement ): void; } @@ -6911,7 +7000,7 @@ prototype: MathMLElement; new (): MathMLElement; }; -@@ -22418,7 +22569,7 @@ interface MediaCapabilities { +@@ -21928,7 +22079,7 @@ interface MediaCapabilities { ): Promise; } @@ -6920,7 +7009,7 @@ prototype: MediaCapabilities; new (): MediaCapabilities; }; -@@ -22454,10 +22605,10 @@ interface MediaDeviceInfo { +@@ -21964,10 +22115,10 @@ interface MediaDeviceInfo { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/toJSON) */ @@ -6933,7 +7022,7 @@ prototype: MediaDeviceInfo; new (): MediaDeviceInfo; }; -@@ -22478,7 +22629,7 @@ interface MediaDevices extends EventTarget { +@@ -21988,7 +22139,7 @@ interface MediaDevices extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/devicechange_event) */ @@ -6942,7 +7031,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/enumerateDevices) -@@ -22501,7 +22652,7 @@ interface MediaDevices extends EventTarget { +@@ -22011,7 +22162,7 @@ interface MediaDevices extends EventTarget { getUserMedia(constraints?: MediaStreamConstraints): Promise; addEventListener( type: K, @@ -6951,7 +7040,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22511,7 +22662,7 @@ interface MediaDevices extends EventTarget { +@@ -22021,7 +22172,7 @@ interface MediaDevices extends EventTarget { ): void; removeEventListener( type: K, @@ -6960,7 +7049,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22521,7 +22672,7 @@ interface MediaDevices extends EventTarget { +@@ -22031,7 +22182,7 @@ interface MediaDevices extends EventTarget { ): void; } @@ -6969,7 +7058,7 @@ prototype: MediaDevices; new (): MediaDevices; }; -@@ -22544,7 +22695,7 @@ interface MediaElementAudioSourceNode extends AudioNode { +@@ -22054,7 +22205,7 @@ interface MediaElementAudioSourceNode extends AudioNode { readonly mediaElement: HTMLMediaElement; } @@ -6978,7 +7067,7 @@ prototype: MediaElementAudioSourceNode; new ( context: AudioContext, -@@ -22569,7 +22720,7 @@ interface MediaEncryptedEvent extends Event { +@@ -22079,7 +22230,7 @@ interface MediaEncryptedEvent extends Event { readonly initDataType: string; } @@ -6987,7 +7076,7 @@ prototype: MediaEncryptedEvent; new ( type: string, -@@ -22597,7 +22748,7 @@ interface MediaError { +@@ -22107,7 +22258,7 @@ interface MediaError { readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4; } @@ -6996,7 +7085,7 @@ prototype: MediaError; new (): MediaError; readonly MEDIA_ERR_ABORTED: 1; -@@ -22627,7 +22778,7 @@ interface MediaKeyMessageEvent extends Event { +@@ -22137,7 +22288,7 @@ interface MediaKeyMessageEvent extends Event { readonly messageType: MediaKeyMessageType; } @@ -7005,7 +7094,7 @@ prototype: MediaKeyMessageEvent; new ( type: string, -@@ -22667,12 +22818,14 @@ interface MediaKeySession extends EventTarget { +@@ -22177,12 +22328,14 @@ interface MediaKeySession extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/keystatuseschange_event) */ @@ -7022,7 +7111,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/sessionId) -@@ -22705,7 +22858,10 @@ interface MediaKeySession extends EventTarget { +@@ -22215,7 +22368,10 @@ interface MediaKeySession extends EventTarget { update(response: BufferSource): Promise; addEventListener( type: K, @@ -7034,7 +7123,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22715,7 +22871,10 @@ interface MediaKeySession extends EventTarget { +@@ -22225,7 +22381,10 @@ interface MediaKeySession extends EventTarget { ): void; removeEventListener( type: K, @@ -7046,7 +7135,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22725,7 +22884,7 @@ interface MediaKeySession extends EventTarget { +@@ -22235,7 +22394,7 @@ interface MediaKeySession extends EventTarget { ): void; } @@ -7055,7 +7144,7 @@ prototype: MediaKeySession; new (): MediaKeySession; }; -@@ -22758,11 +22917,11 @@ interface MediaKeyStatusMap { +@@ -22268,11 +22427,11 @@ interface MediaKeyStatusMap { key: BufferSource, parent: MediaKeyStatusMap, ) => void, @@ -7069,7 +7158,7 @@ prototype: MediaKeyStatusMap; new (): MediaKeyStatusMap; }; -@@ -22794,7 +22953,7 @@ interface MediaKeySystemAccess { +@@ -22304,7 +22463,7 @@ interface MediaKeySystemAccess { getConfiguration(): MediaKeySystemConfiguration; } @@ -7078,7 +7167,7 @@ prototype: MediaKeySystemAccess; new (): MediaKeySystemAccess; }; -@@ -22819,7 +22978,7 @@ interface MediaKeys { +@@ -22330,7 +22489,7 @@ interface MediaKeys { setServerCertificate(serverCertificate: BufferSource): Promise; } @@ -7087,7 +7176,7 @@ prototype: MediaKeys; new (): MediaKeys; }; -@@ -22852,7 +23011,7 @@ interface MediaList { +@@ -22363,7 +22522,7 @@ interface MediaList { [index: number]: string; } @@ -7096,7 +7185,7 @@ prototype: MediaList; new (): MediaList; }; -@@ -22881,7 +23040,7 @@ interface MediaMetadata { +@@ -22392,7 +22551,7 @@ interface MediaMetadata { title: string; } @@ -7105,7 +7194,7 @@ prototype: MediaMetadata; new (init?: MediaMetadataInit): MediaMetadata; }; -@@ -22912,7 +23071,7 @@ interface MediaQueryList extends EventTarget { +@@ -22423,7 +22582,7 @@ interface MediaQueryList extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/change_event) */ @@ -7114,7 +7203,7 @@ /** * @deprecated * -@@ -22920,7 +23079,9 @@ interface MediaQueryList extends EventTarget { +@@ -22431,7 +22590,9 @@ interface MediaQueryList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/addListener) */ addListener( @@ -7125,7 +7214,7 @@ ): void; /** * @deprecated -@@ -22929,11 +23090,13 @@ interface MediaQueryList extends EventTarget { +@@ -22440,11 +22601,13 @@ interface MediaQueryList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/removeListener) */ removeListener( @@ -7141,7 +7230,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -22943,7 +23106,7 @@ interface MediaQueryList extends EventTarget { +@@ -22454,7 +22617,7 @@ interface MediaQueryList extends EventTarget { ): void; removeEventListener( type: K, @@ -7150,7 +7239,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -22953,7 +23116,7 @@ interface MediaQueryList extends EventTarget { +@@ -22464,7 +22627,7 @@ interface MediaQueryList extends EventTarget { ): void; } @@ -7159,7 +7248,7 @@ prototype: MediaQueryList; new (): MediaQueryList; }; -@@ -22975,7 +23138,7 @@ interface MediaQueryListEvent extends Event { +@@ -22486,7 +22649,7 @@ interface MediaQueryListEvent extends Event { readonly media: string; } @@ -7168,7 +7257,7 @@ prototype: MediaQueryListEvent; new ( type: string, -@@ -23008,32 +23171,32 @@ interface MediaRecorder extends EventTarget { +@@ -22519,32 +22682,32 @@ interface MediaRecorder extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */ @@ -7207,7 +7296,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/state) -@@ -23076,7 +23239,7 @@ interface MediaRecorder extends EventTarget { +@@ -22587,7 +22750,7 @@ interface MediaRecorder extends EventTarget { stop(): void; addEventListener( type: K, @@ -7216,7 +7305,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23086,7 +23249,7 @@ interface MediaRecorder extends EventTarget { +@@ -22597,7 +22760,7 @@ interface MediaRecorder extends EventTarget { ): void; removeEventListener( type: K, @@ -7225,7 +7314,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23096,7 +23259,7 @@ interface MediaRecorder extends EventTarget { +@@ -22607,7 +22770,7 @@ interface MediaRecorder extends EventTarget { ): void; } @@ -7234,7 +7323,7 @@ prototype: MediaRecorder; new (stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder; /** -@@ -23133,7 +23296,7 @@ interface MediaSession { +@@ -22644,7 +22807,7 @@ interface MediaSession { setPositionState(state?: MediaPositionState): void; } @@ -7243,28 +7332,20 @@ prototype: MediaSession; new (): MediaSession; }; -@@ -23166,17 +23329,17 @@ interface MediaSource extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) +@@ -22673,9 +22836,9 @@ interface MediaSource extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ + duration: number; - onsourceclose: ((this: MediaSource, ev: Event) => any) | null; -+ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ - onsourceended: ((this: MediaSource, ev: Event) => any) | null; -+ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ - onsourceopen: ((this: MediaSource, ev: Event) => any) | null; ++ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; ++ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; + onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState) -@@ -23214,7 +23377,7 @@ interface MediaSource extends EventTarget { +@@ -22713,7 +22876,7 @@ interface MediaSource extends EventTarget { setLiveSeekableRange(start: number, end: number): void; addEventListener( type: K, @@ -7273,7 +7354,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23224,7 +23387,7 @@ interface MediaSource extends EventTarget { +@@ -22723,7 +22886,7 @@ interface MediaSource extends EventTarget { ): void; removeEventListener( type: K, @@ -7282,7 +7363,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23234,7 +23397,7 @@ interface MediaSource extends EventTarget { +@@ -22733,7 +22896,7 @@ interface MediaSource extends EventTarget { ): void; } @@ -7291,7 +7372,16 @@ prototype: MediaSource; new (): MediaSource; /** -@@ -23267,12 +23430,16 @@ interface MediaStream extends EventTarget { +@@ -22751,7 +22914,7 @@ declare var MediaSource: { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ + interface MediaSourceHandle {} + +-declare var MediaSourceHandle: { ++declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; + }; +@@ -22779,12 +22942,16 @@ interface MediaStream extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addtrack_event) */ @@ -7310,7 +7400,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addTrack) -@@ -23310,7 +23477,7 @@ interface MediaStream extends EventTarget { +@@ -22822,7 +22989,7 @@ interface MediaStream extends EventTarget { removeTrack(track: MediaStreamTrack): void; addEventListener( type: K, @@ -7319,7 +7409,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23320,7 +23487,7 @@ interface MediaStream extends EventTarget { +@@ -22832,7 +22999,7 @@ interface MediaStream extends EventTarget { ): void; removeEventListener( type: K, @@ -7328,7 +7418,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23330,11 +23497,11 @@ interface MediaStream extends EventTarget { +@@ -22842,11 +23009,11 @@ interface MediaStream extends EventTarget { ): void; } @@ -7342,7 +7432,7 @@ }; /** -@@ -23349,7 +23516,7 @@ interface MediaStreamAudioDestinationNode extends AudioNode { +@@ -22861,7 +23028,7 @@ interface MediaStreamAudioDestinationNode extends AudioNode { readonly stream: MediaStream; } @@ -7351,7 +7441,7 @@ prototype: MediaStreamAudioDestinationNode; new ( context: AudioContext, -@@ -23373,7 +23540,7 @@ interface MediaStreamAudioSourceNode extends AudioNode { +@@ -22885,7 +23052,7 @@ interface MediaStreamAudioSourceNode extends AudioNode { readonly mediaStream: MediaStream; } @@ -7360,7 +7450,7 @@ prototype: MediaStreamAudioSourceNode; new ( context: AudioContext, -@@ -23428,17 +23595,17 @@ interface MediaStreamTrack extends EventTarget { +@@ -22940,17 +23107,17 @@ interface MediaStreamTrack extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/ended_event) */ @@ -7381,7 +7471,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/readyState) -@@ -23476,7 +23643,10 @@ interface MediaStreamTrack extends EventTarget { +@@ -22988,7 +23155,10 @@ interface MediaStreamTrack extends EventTarget { stop(): void; addEventListener( type: K, @@ -7393,7 +7483,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23486,7 +23656,10 @@ interface MediaStreamTrack extends EventTarget { +@@ -22998,7 +23168,10 @@ interface MediaStreamTrack extends EventTarget { ): void; removeEventListener( type: K, @@ -7405,7 +7495,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23496,7 +23669,7 @@ interface MediaStreamTrack extends EventTarget { +@@ -23008,7 +23181,7 @@ interface MediaStreamTrack extends EventTarget { ): void; } @@ -7414,7 +7504,7 @@ prototype: MediaStreamTrack; new (): MediaStreamTrack; }; -@@ -23517,7 +23690,7 @@ interface MediaStreamTrackEvent extends Event { +@@ -23029,7 +23202,7 @@ interface MediaStreamTrackEvent extends Event { readonly track: MediaStreamTrack; } @@ -7423,7 +7513,7 @@ prototype: MediaStreamTrackEvent; new ( type: string, -@@ -23548,7 +23721,7 @@ interface MessageChannel { +@@ -23060,7 +23233,7 @@ interface MessageChannel { readonly port2: MessagePort; } @@ -7432,7 +7522,7 @@ prototype: MessageChannel; new (): MessageChannel; }; -@@ -23558,7 +23731,7 @@ declare var MessageChannel: { +@@ -23070,7 +23243,7 @@ declare var MessageChannel: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent) */ @@ -7441,7 +7531,7 @@ /** * Returns the data of the message. * -@@ -23608,15 +23781,15 @@ interface MessageEvent extends Event { +@@ -23115,15 +23288,15 @@ interface MessageEvent extends Event { type: string, bubbles?: boolean, cancelable?: boolean, @@ -7460,7 +7550,7 @@ prototype: MessageEvent; new (type: string, eventInitDict?: MessageEventInit): MessageEvent; }; -@@ -23638,12 +23811,12 @@ interface MessagePort extends EventTarget { +@@ -23145,12 +23318,12 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/message_event) */ @@ -7475,7 +7565,7 @@ /** * Disconnects the port, so that it is no longer active. * -@@ -23662,8 +23835,8 @@ interface MessagePort extends EventTarget { +@@ -23169,8 +23342,8 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) */ @@ -7486,7 +7576,7 @@ /** * Begins dispatching messages received on the port. * -@@ -23673,7 +23846,7 @@ interface MessagePort extends EventTarget { +@@ -23180,7 +23353,7 @@ interface MessagePort extends EventTarget { start(): void; addEventListener( type: K, @@ -7495,7 +7585,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -23683,7 +23856,7 @@ interface MessagePort extends EventTarget { +@@ -23190,7 +23363,7 @@ interface MessagePort extends EventTarget { ): void; removeEventListener( type: K, @@ -7504,7 +7594,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -23693,7 +23866,7 @@ interface MessagePort extends EventTarget { +@@ -23200,7 +23373,7 @@ interface MessagePort extends EventTarget { ): void; } @@ -7513,7 +7603,7 @@ prototype: MessagePort; new (): MessagePort; }; -@@ -23745,7 +23918,7 @@ interface MimeType { +@@ -23241,7 +23414,7 @@ interface MimeType { } /** @deprecated */ @@ -7522,7 +7612,7 @@ prototype: MimeType; new (): MimeType; }; -@@ -23785,7 +23958,7 @@ interface MimeTypeArray { +@@ -23266,7 +23439,7 @@ interface MimeTypeArray { } /** @deprecated */ @@ -7531,7 +7621,7 @@ prototype: MimeTypeArray; new (): MimeTypeArray; }; -@@ -23927,7 +24100,7 @@ interface MouseEvent extends UIEvent { +@@ -23408,7 +23581,7 @@ interface MouseEvent extends UIEvent { ): void; } @@ -7540,7 +7630,7 @@ prototype: MouseEvent; new (type: string, eventInitDict?: MouseEventInit): MouseEvent; }; -@@ -24002,7 +24175,7 @@ interface MutationEvent extends Event { +@@ -23483,7 +23656,7 @@ interface MutationEvent extends Event { } /** @deprecated */ @@ -7549,7 +7639,7 @@ prototype: MutationEvent; new (): MutationEvent; readonly MODIFICATION: 1; -@@ -24046,7 +24219,7 @@ interface MutationObserver { +@@ -23527,7 +23700,7 @@ interface MutationObserver { takeRecords(): MutationRecord[]; } @@ -7558,7 +7648,7 @@ prototype: MutationObserver; new (callback: MutationCallback): MutationObserver; }; -@@ -24132,7 +24305,7 @@ interface MutationRecord { +@@ -23613,7 +23786,7 @@ interface MutationRecord { readonly type: MutationRecordType; } @@ -7567,7 +7657,7 @@ prototype: MutationRecord; new (): MutationRecord; }; -@@ -24188,7 +24361,7 @@ interface NamedNodeMap { +@@ -23669,7 +23842,7 @@ interface NamedNodeMap { [index: number]: Attr; } @@ -7576,7 +7666,7 @@ prototype: NamedNodeMap; new (): NamedNodeMap; }; -@@ -24222,7 +24395,7 @@ interface NavigationPreloadManager { +@@ -23703,7 +23876,7 @@ interface NavigationPreloadManager { setHeaderValue(value: string): Promise; } @@ -7585,7 +7675,7 @@ prototype: NavigationPreloadManager; new (): NavigationPreloadManager; }; -@@ -24336,7 +24509,7 @@ interface Navigator +@@ -23817,7 +23990,7 @@ interface Navigator */ requestMediaKeySystemAccess( keySystem: string, @@ -7594,7 +7684,7 @@ ): Promise; /** * [MDN -@@ -24356,7 +24529,7 @@ interface Navigator +@@ -23837,7 +24010,7 @@ interface Navigator vibrate(pattern: VibratePattern): boolean; } @@ -7603,7 +7693,7 @@ prototype: Navigator; new (): Navigator; }; -@@ -24749,7 +24922,7 @@ interface Node extends EventTarget { +@@ -24230,7 +24403,7 @@ interface Node extends EventTarget { readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20; } @@ -7612,7 +7702,7 @@ prototype: Node; new (): Node; /** Node is an element. */ -@@ -24836,7 +25009,7 @@ interface NodeIterator { +@@ -24317,7 +24490,7 @@ interface NodeIterator { previousNode(): Node | null; } @@ -7621,7 +7711,7 @@ prototype: NodeIterator; new (): NodeIterator; }; -@@ -24872,12 +25045,12 @@ interface NodeList { +@@ -24353,12 +24526,12 @@ interface NodeList { */ forEach( callbackfn: (value: Node, key: number, parent: NodeList) => void, @@ -7636,7 +7726,7 @@ prototype: NodeList; new (): NodeList; }; -@@ -24895,7 +25068,7 @@ interface NodeListOf extends NodeList { +@@ -24376,7 +24549,7 @@ interface NodeListOf extends NodeList { */ forEach( callbackfn: (value: TNode, key: number, parent: NodeListOf) => void, @@ -7645,7 +7735,7 @@ ): void; [index: number]: TNode; } -@@ -24955,7 +25128,7 @@ interface Notification extends EventTarget { +@@ -24436,7 +24609,7 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/data) */ @@ -7654,7 +7744,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir) -@@ -24975,22 +25148,22 @@ interface Notification extends EventTarget { +@@ -24456,22 +24629,22 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */ @@ -7681,7 +7771,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) -@@ -25018,7 +25191,7 @@ interface Notification extends EventTarget { +@@ -24499,7 +24672,7 @@ interface Notification extends EventTarget { close(): void; addEventListener( type: K, @@ -7690,7 +7780,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25028,7 +25201,7 @@ interface Notification extends EventTarget { +@@ -24509,7 +24682,7 @@ interface Notification extends EventTarget { ): void; removeEventListener( type: K, @@ -7699,7 +7789,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25038,7 +25211,7 @@ interface Notification extends EventTarget { +@@ -24519,7 +24692,7 @@ interface Notification extends EventTarget { ): void; } @@ -7708,7 +7798,7 @@ prototype: Notification; new (title: string, options?: NotificationOptions): Notification; /** -@@ -25241,7 +25414,7 @@ interface OfflineAudioCompletionEvent extends Event { +@@ -24722,7 +24895,7 @@ interface OfflineAudioCompletionEvent extends Event { readonly renderedBuffer: AudioBuffer; } @@ -7717,7 +7807,7 @@ prototype: OfflineAudioCompletionEvent; new ( type: string, -@@ -25274,7 +25447,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24755,7 +24928,7 @@ interface OfflineAudioContext extends BaseAudioContext { * Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/complete_event) */ oncomplete: @@ -7726,7 +7816,7 @@ | null; /** * [MDN -@@ -25296,7 +25469,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24777,7 +24950,7 @@ interface OfflineAudioContext extends BaseAudioContext { listener: ( this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K], @@ -7735,7 +7825,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25309,7 +25482,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24790,7 +24963,7 @@ interface OfflineAudioContext extends BaseAudioContext { listener: ( this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K], @@ -7744,7 +7834,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25319,7 +25492,7 @@ interface OfflineAudioContext extends BaseAudioContext { +@@ -24800,7 +24973,7 @@ interface OfflineAudioContext extends BaseAudioContext { ): void; } @@ -7753,18 +7843,22 @@ prototype: OfflineAudioContext; new (contextOptions: OfflineAudioContextOptions): OfflineAudioContext; new ( -@@ -25347,8 +25520,8 @@ interface OffscreenCanvas extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) +@@ -24832,12 +25005,12 @@ interface OffscreenCanvas extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ - height: number; - oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; -- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ +- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's * bitmap. -@@ -25394,17 +25567,23 @@ interface OffscreenCanvas extends EventTarget { +@@ -24883,17 +25056,23 @@ interface OffscreenCanvas extends EventTarget { */ getContext( contextId: '2d', @@ -7793,7 +7887,7 @@ ): OffscreenRenderingContext | null; /** * Returns a newly created ImageBitmap object with the image in the -@@ -25417,7 +25596,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -24906,7 +25085,10 @@ interface OffscreenCanvas extends EventTarget { transferToImageBitmap(): ImageBitmap; addEventListener( type: K, @@ -7805,7 +7899,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25427,7 +25609,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -24916,7 +25098,10 @@ interface OffscreenCanvas extends EventTarget { ): void; removeEventListener( type: K, @@ -7817,7 +7911,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25437,7 +25622,7 @@ interface OffscreenCanvas extends EventTarget { +@@ -24926,7 +25111,7 @@ interface OffscreenCanvas extends EventTarget { ): void; } @@ -7826,8 +7920,8 @@ prototype: OffscreenCanvas; new (width: number, height: number): OffscreenCanvas; }; -@@ -25470,7 +25655,7 @@ interface OffscreenCanvasRenderingContext2D - commit(): void; +@@ -24954,7 +25139,7 @@ interface OffscreenCanvasRenderingContext2D + readonly canvas: OffscreenCanvas; } -declare var OffscreenCanvasRenderingContext2D: { @@ -7835,7 +7929,7 @@ prototype: OffscreenCanvasRenderingContext2D; new (): OffscreenCanvasRenderingContext2D; }; -@@ -25509,7 +25694,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -24993,7 +25178,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { listener: ( this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -7844,7 +7938,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25522,7 +25707,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -25006,7 +25191,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { listener: ( this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K], @@ -7853,7 +7947,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25532,7 +25717,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { +@@ -25016,7 +25201,7 @@ interface OscillatorNode extends AudioScheduledSourceNode { ): void; } @@ -7862,7 +7956,7 @@ prototype: OscillatorNode; new (context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode; }; -@@ -25549,7 +25734,7 @@ interface OverconstrainedError extends DOMException { +@@ -25033,7 +25218,7 @@ interface OverconstrainedError extends DOMException { readonly constraint: string; } @@ -7871,7 +7965,7 @@ prototype: OverconstrainedError; new (constraint: string, message?: string): OverconstrainedError; }; -@@ -25582,7 +25767,7 @@ interface PageTransitionEvent extends Event { +@@ -25066,7 +25251,7 @@ interface PageTransitionEvent extends Event { readonly persisted: boolean; } @@ -7880,7 +7974,7 @@ prototype: PageTransitionEvent; new ( type: string, -@@ -25684,7 +25869,7 @@ interface PannerNode extends AudioNode { +@@ -25168,7 +25353,7 @@ interface PannerNode extends AudioNode { setPosition(x: number, y: number, z: number): void; } @@ -7889,7 +7983,7 @@ prototype: PannerNode; new (context: BaseAudioContext, options?: PannerOptions): PannerNode; }; -@@ -25811,7 +25996,7 @@ interface Path2D extends CanvasPath { +@@ -25295,7 +25480,7 @@ interface Path2D extends CanvasPath { addPath(path: Path2D, transform?: DOMMatrix2DInit): void; } @@ -7898,7 +7992,7 @@ prototype: Path2D; new (path?: Path2D | string): Path2D; }; -@@ -25827,7 +26012,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { +@@ -25311,7 +25496,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodDetails) */ @@ -7907,7 +8001,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodName) -@@ -25835,7 +26020,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { +@@ -25319,7 +25504,7 @@ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { readonly methodName: string; } @@ -7916,7 +8010,7 @@ prototype: PaymentMethodChangeEvent; new ( type: string, -@@ -25864,7 +26049,7 @@ interface PaymentRequest extends EventTarget { +@@ -25348,7 +25533,7 @@ interface PaymentRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */ @@ -7925,7 +8019,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) -@@ -25884,7 +26069,7 @@ interface PaymentRequest extends EventTarget { +@@ -25368,7 +25553,7 @@ interface PaymentRequest extends EventTarget { ): Promise; addEventListener( type: K, @@ -7934,7 +8028,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -25894,7 +26079,7 @@ interface PaymentRequest extends EventTarget { +@@ -25378,7 +25563,7 @@ interface PaymentRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -7943,7 +8037,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -25904,10 +26089,10 @@ interface PaymentRequest extends EventTarget { +@@ -25388,10 +25573,10 @@ interface PaymentRequest extends EventTarget { ): void; } @@ -7956,7 +8050,7 @@ details: PaymentDetailsInit, ): PaymentRequest; }; -@@ -25930,7 +26115,7 @@ interface PaymentRequestUpdateEvent extends Event { +@@ -25414,7 +25599,7 @@ interface PaymentRequestUpdateEvent extends Event { ): void; } @@ -7965,7 +8059,7 @@ prototype: PaymentRequestUpdateEvent; new ( type: string, -@@ -25949,7 +26134,7 @@ interface PaymentResponse extends EventTarget { +@@ -25433,7 +25618,7 @@ interface PaymentResponse extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details) */ @@ -7974,7 +8068,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) -@@ -25974,10 +26159,10 @@ interface PaymentResponse extends EventTarget { +@@ -25458,10 +25643,10 @@ interface PaymentResponse extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */ @@ -7987,7 +8081,7 @@ prototype: PaymentResponse; new (): PaymentResponse; }; -@@ -26011,7 +26196,9 @@ interface Performance extends EventTarget { +@@ -25495,7 +25680,9 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */ @@ -7998,7 +8092,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin) -@@ -26079,10 +26266,10 @@ interface Performance extends EventTarget { +@@ -25563,10 +25750,10 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON) */ @@ -8011,7 +8105,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26092,7 +26279,7 @@ interface Performance extends EventTarget { +@@ -25576,7 +25763,7 @@ interface Performance extends EventTarget { ): void; removeEventListener( type: K, @@ -8020,7 +8114,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26102,7 +26289,7 @@ interface Performance extends EventTarget { +@@ -25586,7 +25773,7 @@ interface Performance extends EventTarget { ): void; } @@ -8029,7 +8123,7 @@ prototype: Performance; new (): Performance; }; -@@ -26141,10 +26328,10 @@ interface PerformanceEntry { +@@ -25625,10 +25812,10 @@ interface PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON) */ @@ -8042,7 +8136,7 @@ prototype: PerformanceEntry; new (): PerformanceEntry; }; -@@ -26178,10 +26365,10 @@ interface PerformanceEventTiming extends PerformanceEntry { +@@ -25662,10 +25849,10 @@ interface PerformanceEventTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/toJSON) */ @@ -8055,7 +8149,7 @@ prototype: PerformanceEventTiming; new (): PerformanceEventTiming; }; -@@ -26199,10 +26386,10 @@ interface PerformanceMark extends PerformanceEntry { +@@ -25683,10 +25870,10 @@ interface PerformanceMark extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail) */ @@ -8068,7 +8162,7 @@ prototype: PerformanceMark; new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; }; -@@ -26221,10 +26408,10 @@ interface PerformanceMeasure extends PerformanceEntry { +@@ -25705,10 +25892,10 @@ interface PerformanceMeasure extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail) */ @@ -8081,7 +8175,7 @@ prototype: PerformanceMeasure; new (): PerformanceMeasure; }; -@@ -26261,7 +26448,7 @@ interface PerformanceNavigation { +@@ -25745,7 +25932,7 @@ interface PerformanceNavigation { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation/toJSON) */ @@ -8090,7 +8184,7 @@ readonly TYPE_NAVIGATE: 0; readonly TYPE_RELOAD: 1; readonly TYPE_BACK_FORWARD: 2; -@@ -26269,7 +26456,7 @@ interface PerformanceNavigation { +@@ -25753,7 +25940,7 @@ interface PerformanceNavigation { } /** @deprecated */ @@ -8099,7 +8193,7 @@ prototype: PerformanceNavigation; new (): PerformanceNavigation; readonly TYPE_NAVIGATE: 0; -@@ -26341,10 +26528,10 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming { +@@ -25825,10 +26012,10 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/toJSON) */ @@ -8112,7 +8206,7 @@ prototype: PerformanceNavigationTiming; new (): PerformanceNavigationTiming; }; -@@ -26371,7 +26558,7 @@ interface PerformanceObserver { +@@ -25855,7 +26042,7 @@ interface PerformanceObserver { takeRecords(): PerformanceEntryList; } @@ -8121,7 +8215,7 @@ prototype: PerformanceObserver; new (callback: PerformanceObserverCallback): PerformanceObserver; /** -@@ -26403,7 +26590,7 @@ interface PerformanceObserverEntryList { +@@ -25887,7 +26074,7 @@ interface PerformanceObserverEntryList { getEntriesByType(type: string): PerformanceEntryList; } @@ -8130,7 +8224,7 @@ prototype: PerformanceObserverEntryList; new (): PerformanceObserverEntryList; }; -@@ -26414,7 +26601,7 @@ declare var PerformanceObserverEntryList: { +@@ -25898,7 +26085,7 @@ declare var PerformanceObserverEntryList: { */ interface PerformancePaintTiming extends PerformanceEntry {} @@ -8139,7 +8233,7 @@ prototype: PerformancePaintTiming; new (): PerformancePaintTiming; }; -@@ -26523,10 +26710,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { +@@ -26007,10 +26194,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON) */ @@ -8152,7 +8246,7 @@ prototype: PerformanceResourceTiming; new (): PerformanceResourceTiming; }; -@@ -26555,10 +26742,10 @@ interface PerformanceServerTiming { +@@ -26039,10 +26226,10 @@ interface PerformanceServerTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON) */ @@ -8165,7 +8259,7 @@ prototype: PerformanceServerTiming; new (): PerformanceServerTiming; }; -@@ -26729,11 +26916,11 @@ interface PerformanceTiming { +@@ -26213,11 +26400,11 @@ interface PerformanceTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/toJSON) */ @@ -8179,7 +8273,7 @@ prototype: PerformanceTiming; new (): PerformanceTiming; }; -@@ -26747,7 +26934,7 @@ declare var PerformanceTiming: { +@@ -26231,7 +26418,7 @@ declare var PerformanceTiming: { */ interface PeriodicWave {} @@ -8188,7 +8282,7 @@ prototype: PeriodicWave; new (context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave; }; -@@ -26767,7 +26954,7 @@ interface PermissionStatus extends EventTarget { +@@ -26251,7 +26438,7 @@ interface PermissionStatus extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */ @@ -8197,7 +8291,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state) -@@ -26775,7 +26962,10 @@ interface PermissionStatus extends EventTarget { +@@ -26259,7 +26446,10 @@ interface PermissionStatus extends EventTarget { readonly state: PermissionState; addEventListener( type: K, @@ -8209,7 +8303,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26785,7 +26975,10 @@ interface PermissionStatus extends EventTarget { +@@ -26269,7 +26459,10 @@ interface PermissionStatus extends EventTarget { ): void; removeEventListener( type: K, @@ -8221,7 +8315,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26795,7 +26988,7 @@ interface PermissionStatus extends EventTarget { +@@ -26279,7 +26472,7 @@ interface PermissionStatus extends EventTarget { ): void; } @@ -8230,7 +8324,7 @@ prototype: PermissionStatus; new (): PermissionStatus; }; -@@ -26809,7 +27002,7 @@ interface Permissions { +@@ -26293,7 +26486,7 @@ interface Permissions { query(permissionDesc: PermissionDescriptor): Promise; } @@ -8239,7 +8333,7 @@ prototype: Permissions; new (): Permissions; }; -@@ -26826,7 +27019,7 @@ interface PictureInPictureEvent extends Event { +@@ -26310,7 +26503,7 @@ interface PictureInPictureEvent extends Event { readonly pictureInPictureWindow: PictureInPictureWindow; } @@ -8248,7 +8342,7 @@ prototype: PictureInPictureEvent; new ( type: string, -@@ -26852,7 +27045,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26336,7 +26529,7 @@ interface PictureInPictureWindow extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event) */ @@ -8257,7 +8351,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width) -@@ -26863,7 +27056,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26347,7 +26540,7 @@ interface PictureInPictureWindow extends EventTarget { listener: ( this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K], @@ -8266,7 +8360,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -26876,7 +27069,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26360,7 +26553,7 @@ interface PictureInPictureWindow extends EventTarget { listener: ( this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K], @@ -8275,7 +8369,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -26886,7 +27079,7 @@ interface PictureInPictureWindow extends EventTarget { +@@ -26370,7 +26563,7 @@ interface PictureInPictureWindow extends EventTarget { ): void; } @@ -8284,7 +8378,7 @@ prototype: PictureInPictureWindow; new (): PictureInPictureWindow; }; -@@ -26951,7 +27144,7 @@ interface Plugin { +@@ -26421,7 +26614,7 @@ interface Plugin { } /** @deprecated */ @@ -8293,7 +8387,7 @@ prototype: Plugin; new (): Plugin; }; -@@ -27000,7 +27193,7 @@ interface PluginArray { +@@ -26450,7 +26643,7 @@ interface PluginArray { } /** @deprecated */ @@ -8302,7 +8396,7 @@ prototype: PluginArray; new (): PluginArray; }; -@@ -27077,7 +27270,7 @@ interface PointerEvent extends MouseEvent { +@@ -26527,7 +26720,7 @@ interface PointerEvent extends MouseEvent { getPredictedEvents(): PointerEvent[]; } @@ -8311,7 +8405,7 @@ prototype: PointerEvent; new (type: string, eventInitDict?: PointerEventInit): PointerEvent; }; -@@ -27095,10 +27288,10 @@ interface PopStateEvent extends Event { +@@ -26546,10 +26739,10 @@ interface PopStateEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/state) */ @@ -8324,7 +8418,7 @@ prototype: PopStateEvent; new (type: string, eventInitDict?: PopStateEventInit): PopStateEvent; }; -@@ -27132,7 +27325,7 @@ interface ProcessingInstruction extends CharacterData, LinkStyle { +@@ -26583,7 +26776,7 @@ interface ProcessingInstruction extends CharacterData, LinkStyle { readonly target: string; } @@ -8333,7 +8427,7 @@ prototype: ProcessingInstruction; new (): ProcessingInstruction; }; -@@ -27163,7 +27356,7 @@ interface ProgressEvent extends Event { +@@ -26614,7 +26807,7 @@ interface ProgressEvent extends Event { readonly total: number; } @@ -8342,7 +8436,7 @@ prototype: ProgressEvent; new (type: string, eventInitDict?: ProgressEventInit): ProgressEvent; }; -@@ -27177,15 +27370,15 @@ interface PromiseRejectionEvent extends Event { +@@ -26628,15 +26821,15 @@ interface PromiseRejectionEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */ @@ -8361,7 +8455,7 @@ prototype: PromiseRejectionEvent; new ( type: string, -@@ -27218,7 +27411,7 @@ interface PublicKeyCredential extends Credential { +@@ -26673,7 +26866,7 @@ interface PublicKeyCredential extends Credential { getClientExtensionResults(): AuthenticationExtensionsClientOutputs; } @@ -8370,7 +8464,7 @@ prototype: PublicKeyCredential; new (): PublicKeyCredential; /** -@@ -27260,7 +27453,7 @@ interface PushManager { +@@ -26715,7 +26908,7 @@ interface PushManager { subscribe(options?: PushSubscriptionOptionsInit): Promise; } @@ -8379,7 +8473,7 @@ prototype: PushManager; new (): PushManager; /** -@@ -27309,7 +27502,7 @@ interface PushSubscription { +@@ -26764,7 +26957,7 @@ interface PushSubscription { unsubscribe(): Promise; } @@ -8388,7 +8482,7 @@ prototype: PushSubscription; new (): PushSubscription; }; -@@ -27333,7 +27526,7 @@ interface PushSubscriptionOptions { +@@ -26788,7 +26981,7 @@ interface PushSubscriptionOptions { readonly userVisibleOnly: boolean; } @@ -8397,7 +8491,7 @@ prototype: PushSubscriptionOptions; new (): PushSubscriptionOptions; }; -@@ -27352,7 +27545,7 @@ interface RTCCertificate { +@@ -26807,7 +27000,7 @@ interface RTCCertificate { getFingerprints(): RTCDtlsFingerprint[]; } @@ -8406,7 +8500,7 @@ prototype: RTCCertificate; new (): RTCCertificate; }; -@@ -27373,7 +27566,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26828,7 +27021,7 @@ interface RTCDTMFSender extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/tonechange_event) */ ontonechange: @@ -8415,7 +8509,7 @@ | null; /** * [MDN -@@ -27387,7 +27580,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26842,7 +27035,7 @@ interface RTCDTMFSender extends EventTarget { insertDTMF(tones: string, duration?: number, interToneGap?: number): void; addEventListener( type: K, @@ -8424,7 +8518,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27397,7 +27590,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26852,7 +27045,7 @@ interface RTCDTMFSender extends EventTarget { ): void; removeEventListener( type: K, @@ -8433,7 +8527,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27407,7 +27600,7 @@ interface RTCDTMFSender extends EventTarget { +@@ -26862,7 +27055,7 @@ interface RTCDTMFSender extends EventTarget { ): void; } @@ -8442,7 +8536,7 @@ prototype: RTCDTMFSender; new (): RTCDTMFSender; }; -@@ -27427,7 +27620,7 @@ interface RTCDTMFToneChangeEvent extends Event { +@@ -26882,7 +27075,7 @@ interface RTCDTMFToneChangeEvent extends Event { readonly tone: string; } @@ -8451,7 +8545,7 @@ prototype: RTCDTMFToneChangeEvent; new ( type: string, -@@ -27490,32 +27683,32 @@ interface RTCDataChannel extends EventTarget { +@@ -26945,32 +27138,32 @@ interface RTCDataChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedamountlow_event) */ @@ -8490,7 +8584,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/ordered) -@@ -27546,7 +27739,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27001,7 +27194,7 @@ interface RTCDataChannel extends EventTarget { send(data: ArrayBufferView): void; addEventListener( type: K, @@ -8499,7 +8593,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27556,7 +27749,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27011,7 +27204,7 @@ interface RTCDataChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -8508,7 +8602,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27566,7 +27759,7 @@ interface RTCDataChannel extends EventTarget { +@@ -27021,7 +27214,7 @@ interface RTCDataChannel extends EventTarget { ): void; } @@ -8517,7 +8611,7 @@ prototype: RTCDataChannel; new (): RTCDataChannel; }; -@@ -27583,7 +27776,7 @@ interface RTCDataChannelEvent extends Event { +@@ -27038,7 +27231,7 @@ interface RTCDataChannelEvent extends Event { readonly channel: RTCDataChannel; } @@ -8526,22 +8620,18 @@ prototype: RTCDataChannelEvent; new ( type: string, -@@ -27603,12 +27796,12 @@ interface RTCDtlsTransport extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) - */ - readonly iceTransport: RTCIceTransport; -- onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; -+ onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; - /** +@@ -27062,8 +27255,8 @@ interface RTCDtlsTransport extends EventTarget { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ +- onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; - onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; ++ onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; + onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) -@@ -27621,7 +27814,10 @@ interface RTCDtlsTransport extends EventTarget { +@@ -27072,7 +27265,10 @@ interface RTCDtlsTransport extends EventTarget { getRemoteCertificates(): ArrayBuffer[]; addEventListener( type: K, @@ -8553,7 +8643,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27631,7 +27827,10 @@ interface RTCDtlsTransport extends EventTarget { +@@ -27082,7 +27278,10 @@ interface RTCDtlsTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -8565,7 +8655,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27641,7 +27840,7 @@ interface RTCDtlsTransport extends EventTarget { +@@ -27092,7 +27291,7 @@ interface RTCDtlsTransport extends EventTarget { ): void; } @@ -8574,7 +8664,7 @@ prototype: RTCDtlsTransport; new (): RTCDtlsTransport; }; -@@ -27668,7 +27867,7 @@ interface RTCEncodedAudioFrame { +@@ -27119,7 +27318,7 @@ interface RTCEncodedAudioFrame { getMetadata(): RTCEncodedAudioFrameMetadata; } @@ -8583,7 +8673,7 @@ prototype: RTCEncodedAudioFrame; new (): RTCEncodedAudioFrame; }; -@@ -27700,7 +27899,7 @@ interface RTCEncodedVideoFrame { +@@ -27151,7 +27350,7 @@ interface RTCEncodedVideoFrame { getMetadata(): RTCEncodedVideoFrameMetadata; } @@ -8592,7 +8682,7 @@ prototype: RTCEncodedVideoFrame; new (): RTCEncodedVideoFrame; }; -@@ -27734,7 +27933,7 @@ interface RTCError extends DOMException { +@@ -27185,7 +27384,7 @@ interface RTCError extends DOMException { readonly sentAlert: number | null; } @@ -8601,7 +8691,7 @@ prototype: RTCError; new (init: RTCErrorInit, message?: string): RTCError; }; -@@ -27748,7 +27947,7 @@ interface RTCErrorEvent extends Event { +@@ -27199,7 +27398,7 @@ interface RTCErrorEvent extends Event { readonly error: RTCError; } @@ -8610,7 +8700,7 @@ prototype: RTCErrorEvent; new (type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent; }; -@@ -27838,7 +28037,7 @@ interface RTCIceCandidate { +@@ -27289,7 +27488,7 @@ interface RTCIceCandidate { toJSON(): RTCIceCandidateInit; } @@ -8619,7 +8709,7 @@ prototype: RTCIceCandidate; new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; -@@ -27865,19 +28064,21 @@ interface RTCIceTransport extends EventTarget { +@@ -27321,19 +27520,21 @@ interface RTCIceTransport extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/gatheringstatechange_event) */ @@ -8644,7 +8734,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/state) -@@ -27890,7 +28091,10 @@ interface RTCIceTransport extends EventTarget { +@@ -27346,7 +27547,10 @@ interface RTCIceTransport extends EventTarget { getSelectedCandidatePair(): RTCIceCandidatePair | null; addEventListener( type: K, @@ -8656,7 +8746,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -27900,7 +28104,10 @@ interface RTCIceTransport extends EventTarget { +@@ -27356,7 +27560,10 @@ interface RTCIceTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -8668,7 +8758,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -27910,7 +28117,7 @@ interface RTCIceTransport extends EventTarget { +@@ -27366,7 +27573,7 @@ interface RTCIceTransport extends EventTarget { ): void; } @@ -8677,7 +8767,7 @@ prototype: RTCIceTransport; new (): RTCIceTransport; }; -@@ -27974,57 +28181,61 @@ interface RTCPeerConnection extends EventTarget { +@@ -27430,57 +27637,61 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/connectionstatechange_event) */ @@ -8748,7 +8838,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/pendingLocalDescription) -@@ -28065,7 +28276,10 @@ interface RTCPeerConnection extends EventTarget { +@@ -27521,7 +27732,10 @@ interface RTCPeerConnection extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */ @@ -8760,7 +8850,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) -@@ -28177,7 +28391,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27633,7 +27847,7 @@ interface RTCPeerConnection extends EventTarget { listener: ( this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K], @@ -8769,7 +8859,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -28190,7 +28404,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27646,7 +27860,7 @@ interface RTCPeerConnection extends EventTarget { listener: ( this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K], @@ -8778,7 +8868,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -28200,7 +28414,7 @@ interface RTCPeerConnection extends EventTarget { +@@ -27656,7 +27870,7 @@ interface RTCPeerConnection extends EventTarget { ): void; } @@ -8787,7 +8877,7 @@ prototype: RTCPeerConnection; new (configuration?: RTCConfiguration): RTCPeerConnection; /** -@@ -28240,7 +28454,7 @@ interface RTCPeerConnectionIceErrorEvent extends Event { +@@ -27684,7 +27898,7 @@ interface RTCPeerConnectionIceErrorEvent extends Event { readonly url: string; } @@ -8796,7 +8886,7 @@ prototype: RTCPeerConnectionIceErrorEvent; new ( type: string, -@@ -28263,7 +28477,7 @@ interface RTCPeerConnectionIceEvent extends Event { +@@ -27707,7 +27921,7 @@ interface RTCPeerConnectionIceEvent extends Event { readonly candidate: RTCIceCandidate | null; } @@ -8805,7 +8895,7 @@ prototype: RTCPeerConnectionIceEvent; new ( type: string, -@@ -28315,7 +28529,7 @@ interface RTCRtpReceiver { +@@ -27764,7 +27978,7 @@ interface RTCRtpReceiver { getSynchronizationSources(): RTCRtpSynchronizationSource[]; } @@ -8814,7 +8904,7 @@ prototype: RTCRtpReceiver; new (): RTCRtpReceiver; /** -@@ -28331,9 +28545,13 @@ declare var RTCRtpReceiver: { +@@ -27780,9 +27994,13 @@ declare var RTCRtpReceiver: { */ interface RTCRtpScriptTransform {} @@ -8830,7 +8920,7 @@ }; /** -@@ -28390,10 +28608,10 @@ interface RTCRtpSender { +@@ -27839,10 +28057,10 @@ interface RTCRtpSender { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setStreams) */ @@ -8843,16 +8933,16 @@ prototype: RTCRtpSender; new (): RTCRtpSender; /** -@@ -28434,7 +28652,7 @@ interface RTCRtpTransceiver { +@@ -27883,7 +28101,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ -- setCodecPreferences(codecs: RTCRtpCodecCapability[]): void; -+ setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; +- setCodecPreferences(codecs: RTCRtpCodec[]): void; ++ setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) -@@ -28442,7 +28660,7 @@ interface RTCRtpTransceiver { +@@ -27891,7 +28109,7 @@ interface RTCRtpTransceiver { stop(): void; } @@ -8861,16 +8951,16 @@ prototype: RTCRtpTransceiver; new (): RTCRtpTransceiver; }; -@@ -28463,7 +28681,7 @@ interface RTCSctpTransport extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) +@@ -27916,7 +28134,7 @@ interface RTCSctpTransport extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */ - readonly maxMessageSize: number; - onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null; + onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state) -@@ -28476,7 +28694,10 @@ interface RTCSctpTransport extends EventTarget { +@@ -27929,7 +28147,10 @@ interface RTCSctpTransport extends EventTarget { readonly transport: RTCDtlsTransport; addEventListener( type: K, @@ -8882,7 +8972,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -28486,7 +28707,10 @@ interface RTCSctpTransport extends EventTarget { +@@ -27939,7 +28160,10 @@ interface RTCSctpTransport extends EventTarget { ): void; removeEventListener( type: K, @@ -8894,7 +8984,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -28496,7 +28720,7 @@ interface RTCSctpTransport extends EventTarget { +@@ -27949,7 +28173,7 @@ interface RTCSctpTransport extends EventTarget { ): void; } @@ -8903,12 +8993,8 @@ prototype: RTCSctpTransport; new (): RTCSctpTransport; }; -@@ -28525,10 +28749,10 @@ interface RTCSessionDescription { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) - */ -- toJSON(): any; -+ toJSON(): unknown; +@@ -27981,7 +28205,7 @@ interface RTCSessionDescription { + toJSON(): RTCSessionDescriptionInit; } -declare var RTCSessionDescription: { @@ -8916,7 +9002,7 @@ prototype: RTCSessionDescription; new (descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription; }; -@@ -28536,12 +28760,12 @@ declare var RTCSessionDescription: { +@@ -27989,12 +28213,12 @@ declare var RTCSessionDescription: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCStatsReport) */ interface RTCStatsReport { forEach( @@ -8932,7 +9018,7 @@ prototype: RTCStatsReport; new (): RTCStatsReport; }; -@@ -28570,7 +28794,7 @@ interface RTCTrackEvent extends Event { +@@ -28023,7 +28247,7 @@ interface RTCTrackEvent extends Event { readonly transceiver: RTCRtpTransceiver; } @@ -8941,7 +9027,7 @@ prototype: RTCTrackEvent; new (type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent; }; -@@ -28584,7 +28808,7 @@ interface RadioNodeList extends NodeList { +@@ -28037,7 +28261,7 @@ interface RadioNodeList extends NodeList { value: string; } @@ -8950,7 +9036,7 @@ prototype: RadioNodeList; new (): RadioNodeList; }; -@@ -28718,7 +28942,7 @@ interface Range extends AbstractRange { +@@ -28171,7 +28395,7 @@ interface Range extends AbstractRange { readonly END_TO_START: 3; } @@ -8959,7 +9045,7 @@ prototype: Range; new (): Range; readonly START_TO_START: 0; -@@ -28756,10 +28980,10 @@ interface ReadableByteStreamController { +@@ -28209,10 +28433,10 @@ interface ReadableByteStreamController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */ @@ -8972,7 +9058,7 @@ prototype: ReadableByteStreamController; new (): ReadableByteStreamController; }; -@@ -28771,7 +28995,7 @@ declare var ReadableByteStreamController: { +@@ -28224,7 +28448,7 @@ declare var ReadableByteStreamController: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream) */ @@ -8981,7 +9067,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) -@@ -28781,7 +29005,7 @@ interface ReadableStream { +@@ -28234,7 +28458,7 @@ interface ReadableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */ @@ -8990,7 +9076,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) -@@ -28812,17 +29036,17 @@ interface ReadableStream { +@@ -28265,17 +28489,17 @@ interface ReadableStream { tee(): [ReadableStream, ReadableStream]; } @@ -9011,7 +9097,7 @@ underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy, ): ReadableStream; -@@ -28847,7 +29071,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { +@@ -28300,7 +28524,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { releaseLock(): void; } @@ -9020,7 +9106,7 @@ prototype: ReadableStreamBYOBReader; new (stream: ReadableStream): ReadableStreamBYOBReader; }; -@@ -28874,7 +29098,7 @@ interface ReadableStreamBYOBRequest { +@@ -28327,7 +28551,7 @@ interface ReadableStreamBYOBRequest { respondWithNewView(view: ArrayBufferView): void; } @@ -9029,7 +9115,7 @@ prototype: ReadableStreamBYOBRequest; new (): ReadableStreamBYOBRequest; }; -@@ -28883,7 +29107,7 @@ declare var ReadableStreamBYOBRequest: { +@@ -28336,7 +28560,7 @@ declare var ReadableStreamBYOBRequest: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */ @@ -9038,7 +9124,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) -@@ -28903,10 +29127,10 @@ interface ReadableStreamDefaultController { +@@ -28356,10 +28580,10 @@ interface ReadableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */ @@ -9051,7 +9137,7 @@ prototype: ReadableStreamDefaultController; new (): ReadableStreamDefaultController; }; -@@ -28915,7 +29139,7 @@ declare var ReadableStreamDefaultController: { +@@ -28368,7 +28592,7 @@ declare var ReadableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */ @@ -9060,7 +9146,7 @@ extends ReadableStreamGenericReader { /** * [MDN -@@ -28929,9 +29153,9 @@ interface ReadableStreamDefaultReader +@@ -28382,9 +28606,9 @@ interface ReadableStreamDefaultReader releaseLock(): void; } @@ -9072,7 +9158,7 @@ }; interface ReadableStreamGenericReader { -@@ -28944,7 +29168,7 @@ interface ReadableStreamGenericReader { +@@ -28397,7 +28621,7 @@ interface ReadableStreamGenericReader { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */ @@ -9081,7 +9167,7 @@ } interface RemotePlaybackEventMap { -@@ -28959,17 +29183,17 @@ interface RemotePlayback extends EventTarget { +@@ -28412,17 +28636,17 @@ interface RemotePlayback extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/connect_event) */ @@ -9102,7 +9188,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/state) -@@ -28994,7 +29218,7 @@ interface RemotePlayback extends EventTarget { +@@ -28447,7 +28671,7 @@ interface RemotePlayback extends EventTarget { ): Promise; addEventListener( type: K, @@ -9111,7 +9197,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29004,7 +29228,7 @@ interface RemotePlayback extends EventTarget { +@@ -28457,7 +28681,7 @@ interface RemotePlayback extends EventTarget { ): void; removeEventListener( type: K, @@ -9120,7 +9206,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29014,7 +29238,7 @@ interface RemotePlayback extends EventTarget { +@@ -28467,7 +28691,7 @@ interface RemotePlayback extends EventTarget { ): void; } @@ -9129,7 +9215,7 @@ prototype: RemotePlayback; new (): RemotePlayback; }; -@@ -29027,20 +29251,20 @@ interface Report { +@@ -28480,10 +28704,10 @@ interface Report { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) */ readonly url: string; @@ -9142,9 +9228,10 @@ prototype: Report; new (): Report; }; - - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ - interface ReportBody { +@@ -28494,10 +28718,10 @@ interface ReportBody { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ - toJSON(): any; + toJSON(): unknown; } @@ -9154,7 +9241,7 @@ prototype: ReportBody; new (): ReportBody; }; -@@ -29064,7 +29288,7 @@ interface ReportingObserver { +@@ -28521,7 +28745,7 @@ interface ReportingObserver { takeRecords(): ReportList; } @@ -9163,7 +9250,7 @@ prototype: ReportingObserver; new ( callback: ReportingObserverCallback, -@@ -29133,7 +29357,7 @@ interface Request extends Body { +@@ -28587,7 +28811,7 @@ interface Request extends Body { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method) */ @@ -9172,7 +9259,7 @@ /** * Returns the mode associated with request, which is a string indicating * whether the request will use CORS, or will be restricted to same-origin -@@ -29188,7 +29412,7 @@ interface Request extends Body { +@@ -28642,7 +28866,7 @@ interface Request extends Body { clone(): Request; } @@ -9181,7 +9268,7 @@ prototype: Request; new (input: RequestInfo | URL, init?: RequestInit): Request; }; -@@ -29212,7 +29436,7 @@ interface ResizeObserver { +@@ -28666,7 +28890,7 @@ interface ResizeObserver { unobserve(target: Element): void; } @@ -9190,7 +9277,7 @@ prototype: ResizeObserver; new (callback: ResizeObserverCallback): ResizeObserver; }; -@@ -29245,7 +29469,7 @@ interface ResizeObserverEntry { +@@ -28703,7 +28927,7 @@ interface ResizeObserverEntry { readonly target: Element; } @@ -9199,7 +9286,7 @@ prototype: ResizeObserverEntry; new (): ResizeObserverEntry; }; -@@ -29267,7 +29491,7 @@ interface ResizeObserverSize { +@@ -28725,7 +28949,7 @@ interface ResizeObserverSize { readonly inlineSize: number; } @@ -9208,7 +9295,7 @@ prototype: ResizeObserverSize; new (): ResizeObserverSize; }; -@@ -29305,7 +29529,7 @@ interface Response extends Body { +@@ -28763,7 +28987,7 @@ interface Response extends Body { clone(): Response; } @@ -9217,7 +9304,7 @@ prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; /** -@@ -29317,7 +29541,7 @@ declare var Response: { +@@ -28775,7 +28999,7 @@ declare var Response: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */ @@ -9226,7 +9313,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) -@@ -29341,7 +29565,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28799,7 +29023,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { readonly target: SVGAnimatedString; addEventListener( type: K, @@ -9235,7 +9322,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29351,7 +29575,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28809,7 +29033,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -9244,7 +9331,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29361,7 +29585,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { +@@ -28819,7 +29043,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -9253,7 +9340,7 @@ prototype: SVGAElement; new (): SVGAElement; }; -@@ -29386,7 +29610,7 @@ interface SVGAngle { +@@ -28844,7 +29068,7 @@ interface SVGAngle { readonly SVG_ANGLETYPE_GRAD: 4; } @@ -9262,7 +9349,7 @@ prototype: SVGAngle; new (): SVGAngle; readonly SVG_ANGLETYPE_UNKNOWN: 0; -@@ -29400,7 +29624,7 @@ declare var SVGAngle: { +@@ -28858,7 +29082,7 @@ declare var SVGAngle: { interface SVGAnimateElement extends SVGAnimationElement { addEventListener( type: K, @@ -9271,7 +9358,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29410,7 +29634,7 @@ interface SVGAnimateElement extends SVGAnimationElement { +@@ -28868,7 +29092,7 @@ interface SVGAnimateElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -9280,7 +9367,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29420,7 +29644,7 @@ interface SVGAnimateElement extends SVGAnimationElement { +@@ -28878,7 +29102,7 @@ interface SVGAnimateElement extends SVGAnimationElement { ): void; } @@ -9289,7 +9376,7 @@ prototype: SVGAnimateElement; new (): SVGAnimateElement; }; -@@ -29432,7 +29656,10 @@ declare var SVGAnimateElement: { +@@ -28890,7 +29114,10 @@ declare var SVGAnimateElement: { interface SVGAnimateMotionElement extends SVGAnimationElement { addEventListener( type: K, @@ -9301,7 +9388,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29442,7 +29669,10 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { +@@ -28900,7 +29127,10 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -9313,7 +9400,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29452,7 +29682,7 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { +@@ -28910,7 +29140,7 @@ interface SVGAnimateMotionElement extends SVGAnimationElement { ): void; } @@ -9322,7 +9409,7 @@ prototype: SVGAnimateMotionElement; new (): SVGAnimateMotionElement; }; -@@ -29467,7 +29697,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28925,7 +29155,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { listener: ( this: SVGAnimateTransformElement, ev: SVGElementEventMap[K], @@ -9331,7 +9418,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29480,7 +29710,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28938,7 +29168,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { listener: ( this: SVGAnimateTransformElement, ev: SVGElementEventMap[K], @@ -9340,7 +9427,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29490,7 +29720,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { +@@ -28948,7 +29178,7 @@ interface SVGAnimateTransformElement extends SVGAnimationElement { ): void; } @@ -9349,7 +9436,7 @@ prototype: SVGAnimateTransformElement; new (): SVGAnimateTransformElement; }; -@@ -29505,7 +29735,7 @@ interface SVGAnimatedAngle { +@@ -28963,7 +29193,7 @@ interface SVGAnimatedAngle { readonly baseVal: SVGAngle; } @@ -9358,7 +9445,7 @@ prototype: SVGAnimatedAngle; new (): SVGAnimatedAngle; }; -@@ -29521,7 +29751,7 @@ interface SVGAnimatedBoolean { +@@ -28979,7 +29209,7 @@ interface SVGAnimatedBoolean { baseVal: boolean; } @@ -9367,7 +9454,7 @@ prototype: SVGAnimatedBoolean; new (): SVGAnimatedBoolean; }; -@@ -29538,7 +29768,7 @@ interface SVGAnimatedEnumeration { +@@ -29004,7 +29234,7 @@ interface SVGAnimatedEnumeration { baseVal: number; } @@ -9376,7 +9463,7 @@ prototype: SVGAnimatedEnumeration; new (): SVGAnimatedEnumeration; }; -@@ -29554,7 +29784,7 @@ interface SVGAnimatedInteger { +@@ -29020,7 +29250,7 @@ interface SVGAnimatedInteger { baseVal: number; } @@ -9385,7 +9472,7 @@ prototype: SVGAnimatedInteger; new (): SVGAnimatedInteger; }; -@@ -29569,7 +29799,7 @@ interface SVGAnimatedLength { +@@ -29043,7 +29273,7 @@ interface SVGAnimatedLength { readonly baseVal: SVGLength; } @@ -9394,7 +9481,7 @@ prototype: SVGAnimatedLength; new (): SVGAnimatedLength; }; -@@ -29585,7 +29815,7 @@ interface SVGAnimatedLengthList { +@@ -29059,7 +29289,7 @@ interface SVGAnimatedLengthList { readonly baseVal: SVGLengthList; } @@ -9403,7 +9490,7 @@ prototype: SVGAnimatedLengthList; new (): SVGAnimatedLengthList; }; -@@ -29600,7 +29830,7 @@ interface SVGAnimatedNumber { +@@ -29074,7 +29304,7 @@ interface SVGAnimatedNumber { baseVal: number; } @@ -9412,7 +9499,7 @@ prototype: SVGAnimatedNumber; new (): SVGAnimatedNumber; }; -@@ -29617,7 +29847,7 @@ interface SVGAnimatedNumberList { +@@ -29091,7 +29321,7 @@ interface SVGAnimatedNumberList { readonly baseVal: SVGNumberList; } @@ -9421,7 +9508,7 @@ prototype: SVGAnimatedNumberList; new (): SVGAnimatedNumberList; }; -@@ -29638,7 +29868,7 @@ interface SVGAnimatedPreserveAspectRatio { +@@ -29112,7 +29342,7 @@ interface SVGAnimatedPreserveAspectRatio { readonly baseVal: SVGPreserveAspectRatio; } @@ -9430,7 +9517,7 @@ prototype: SVGAnimatedPreserveAspectRatio; new (): SVGAnimatedPreserveAspectRatio; }; -@@ -29653,7 +29883,7 @@ interface SVGAnimatedRect { +@@ -29127,7 +29357,7 @@ interface SVGAnimatedRect { readonly baseVal: DOMRect; } @@ -9439,7 +9526,7 @@ prototype: SVGAnimatedRect; new (): SVGAnimatedRect; }; -@@ -29678,7 +29908,7 @@ interface SVGAnimatedString { +@@ -29152,7 +29382,7 @@ interface SVGAnimatedString { baseVal: string; } @@ -9448,7 +9535,7 @@ prototype: SVGAnimatedString; new (): SVGAnimatedString; }; -@@ -29694,7 +29924,7 @@ interface SVGAnimatedTransformList { +@@ -29168,7 +29398,7 @@ interface SVGAnimatedTransformList { readonly baseVal: SVGTransformList; } @@ -9457,7 +9544,7 @@ prototype: SVGAnimatedTransformList; new (): SVGAnimatedTransformList; }; -@@ -29718,7 +29948,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29192,7 +29422,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { getStartTime(): number; addEventListener( type: K, @@ -9466,7 +9553,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29728,7 +29958,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29202,7 +29432,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { ): void; removeEventListener( type: K, @@ -9475,7 +9562,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29738,7 +29968,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { +@@ -29212,7 +29442,7 @@ interface SVGAnimationElement extends SVGElement, SVGTests { ): void; } @@ -9484,7 +9571,7 @@ prototype: SVGAnimationElement; new (): SVGAnimationElement; }; -@@ -29768,7 +29998,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29242,7 +29472,7 @@ interface SVGCircleElement extends SVGGeometryElement { readonly r: SVGAnimatedLength; addEventListener( type: K, @@ -9493,7 +9580,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29778,7 +30008,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29252,7 +29482,7 @@ interface SVGCircleElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -9502,7 +9589,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29788,7 +30018,7 @@ interface SVGCircleElement extends SVGGeometryElement { +@@ -29262,7 +29492,7 @@ interface SVGCircleElement extends SVGGeometryElement { ): void; } @@ -9511,7 +9598,7 @@ prototype: SVGCircleElement; new (): SVGCircleElement; }; -@@ -29813,7 +30043,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29287,7 +29517,7 @@ interface SVGClipPathElement extends SVGElement { readonly transform: SVGAnimatedTransformList; addEventListener( type: K, @@ -9520,7 +9607,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29823,7 +30053,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29297,7 +29527,7 @@ interface SVGClipPathElement extends SVGElement { ): void; removeEventListener( type: K, @@ -9529,7 +9616,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29833,7 +30063,7 @@ interface SVGClipPathElement extends SVGElement { +@@ -29307,7 +29537,7 @@ interface SVGClipPathElement extends SVGElement { ): void; } @@ -9538,7 +9625,7 @@ prototype: SVGClipPathElement; new (): SVGClipPathElement; }; -@@ -29863,7 +30093,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29337,7 +29567,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { listener: ( this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K], @@ -9547,7 +9634,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29876,7 +30106,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29350,7 +29580,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { listener: ( this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K], @@ -9556,7 +9643,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29886,7 +30116,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { +@@ -29360,7 +29590,7 @@ interface SVGComponentTransferFunctionElement extends SVGElement { ): void; } @@ -9565,7 +9652,7 @@ prototype: SVGComponentTransferFunctionElement; new (): SVGComponentTransferFunctionElement; readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0; -@@ -29905,7 +30135,7 @@ declare var SVGComponentTransferFunctionElement: { +@@ -29379,7 +29609,7 @@ declare var SVGComponentTransferFunctionElement: { interface SVGDefsElement extends SVGGraphicsElement { addEventListener( type: K, @@ -9574,7 +9661,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29915,7 +30145,7 @@ interface SVGDefsElement extends SVGGraphicsElement { +@@ -29389,7 +29619,7 @@ interface SVGDefsElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -9583,7 +9670,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29925,7 +30155,7 @@ interface SVGDefsElement extends SVGGraphicsElement { +@@ -29399,7 +29629,7 @@ interface SVGDefsElement extends SVGGraphicsElement { ): void; } @@ -9592,7 +9679,7 @@ prototype: SVGDefsElement; new (): SVGDefsElement; }; -@@ -29938,7 +30168,7 @@ declare var SVGDefsElement: { +@@ -29412,7 +29642,7 @@ declare var SVGDefsElement: { interface SVGDescElement extends SVGElement { addEventListener( type: K, @@ -9601,7 +9688,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29948,7 +30178,7 @@ interface SVGDescElement extends SVGElement { +@@ -29422,7 +29652,7 @@ interface SVGDescElement extends SVGElement { ): void; removeEventListener( type: K, @@ -9610,7 +9697,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -29958,7 +30188,7 @@ interface SVGDescElement extends SVGElement { +@@ -29432,7 +29662,7 @@ interface SVGDescElement extends SVGElement { ): void; } @@ -9619,7 +9706,7 @@ prototype: SVGDescElement; new (): SVGDescElement; }; -@@ -29979,12 +30209,12 @@ interface SVGElement +@@ -29453,12 +29683,12 @@ interface SVGElement GlobalEventHandlers, HTMLOrSVGElement { /** @deprecated */ @@ -9634,7 +9721,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -29994,7 +30224,7 @@ interface SVGElement +@@ -29468,7 +29698,7 @@ interface SVGElement ): void; removeEventListener( type: K, @@ -9643,7 +9730,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30004,7 +30234,7 @@ interface SVGElement +@@ -29478,7 +29708,7 @@ interface SVGElement ): void; } @@ -9652,7 +9739,7 @@ prototype: SVGElement; new (): SVGElement; }; -@@ -30021,7 +30251,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29495,7 +29725,7 @@ interface SVGEllipseElement extends SVGGeometryElement { readonly ry: SVGAnimatedLength; addEventListener( type: K, @@ -9661,7 +9748,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30031,7 +30261,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29505,7 +29735,7 @@ interface SVGEllipseElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -9670,7 +9757,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30041,7 +30271,7 @@ interface SVGEllipseElement extends SVGGeometryElement { +@@ -29515,7 +29745,7 @@ interface SVGEllipseElement extends SVGGeometryElement { ): void; } @@ -9679,7 +9766,7 @@ prototype: SVGEllipseElement; new (): SVGEllipseElement; }; -@@ -30076,7 +30306,7 @@ interface SVGFEBlendElement +@@ -29550,7 +29780,7 @@ interface SVGFEBlendElement readonly SVG_FEBLEND_MODE_LUMINOSITY: 16; addEventListener( type: K, @@ -9688,7 +9775,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30086,7 +30316,7 @@ interface SVGFEBlendElement +@@ -29560,7 +29790,7 @@ interface SVGFEBlendElement ): void; removeEventListener( type: K, @@ -9697,7 +9784,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30096,7 +30326,7 @@ interface SVGFEBlendElement +@@ -29570,7 +29800,7 @@ interface SVGFEBlendElement ): void; } @@ -9706,7 +9793,7 @@ prototype: SVGFEBlendElement; new (): SVGFEBlendElement; readonly SVG_FEBLEND_MODE_UNKNOWN: 0; -@@ -30149,7 +30379,10 @@ interface SVGFEColorMatrixElement +@@ -29611,7 +29841,10 @@ interface SVGFEColorMatrixElement readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4; addEventListener( type: K, @@ -9718,7 +9805,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30159,7 +30392,10 @@ interface SVGFEColorMatrixElement +@@ -29621,7 +29854,10 @@ interface SVGFEColorMatrixElement ): void; removeEventListener( type: K, @@ -9730,7 +9817,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30169,7 +30405,7 @@ interface SVGFEColorMatrixElement +@@ -29631,7 +29867,7 @@ interface SVGFEColorMatrixElement ): void; } @@ -9739,7 +9826,7 @@ prototype: SVGFEColorMatrixElement; new (): SVGFEColorMatrixElement; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; -@@ -30194,7 +30430,7 @@ interface SVGFEComponentTransferElement +@@ -29656,7 +29892,7 @@ interface SVGFEComponentTransferElement listener: ( this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K], @@ -9748,7 +9835,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30207,7 +30443,7 @@ interface SVGFEComponentTransferElement +@@ -29669,7 +29905,7 @@ interface SVGFEComponentTransferElement listener: ( this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K], @@ -9757,7 +9844,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30217,7 +30453,7 @@ interface SVGFEComponentTransferElement +@@ -29679,7 +29915,7 @@ interface SVGFEComponentTransferElement ): void; } @@ -9766,7 +9853,7 @@ prototype: SVGFEComponentTransferElement; new (): SVGFEComponentTransferElement; }; -@@ -30247,7 +30483,10 @@ interface SVGFECompositeElement +@@ -29709,7 +29945,10 @@ interface SVGFECompositeElement readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6; addEventListener( type: K, @@ -9778,7 +9865,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30257,7 +30496,10 @@ interface SVGFECompositeElement +@@ -29719,7 +29958,10 @@ interface SVGFECompositeElement ): void; removeEventListener( type: K, @@ -9790,7 +9877,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30267,7 +30509,7 @@ interface SVGFECompositeElement +@@ -29729,7 +29971,7 @@ interface SVGFECompositeElement ): void; } @@ -9799,7 +9886,7 @@ prototype: SVGFECompositeElement; new (): SVGFECompositeElement; readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: 0; -@@ -30309,7 +30551,7 @@ interface SVGFEConvolveMatrixElement +@@ -29771,7 +30013,7 @@ interface SVGFEConvolveMatrixElement listener: ( this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K], @@ -9808,7 +9895,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30322,7 +30564,7 @@ interface SVGFEConvolveMatrixElement +@@ -29784,7 +30026,7 @@ interface SVGFEConvolveMatrixElement listener: ( this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K], @@ -9817,7 +9904,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30332,7 +30574,7 @@ interface SVGFEConvolveMatrixElement +@@ -29794,7 +30036,7 @@ interface SVGFEConvolveMatrixElement ): void; } @@ -9826,7 +9913,7 @@ prototype: SVGFEConvolveMatrixElement; new (): SVGFEConvolveMatrixElement; readonly SVG_EDGEMODE_UNKNOWN: 0; -@@ -30360,7 +30602,7 @@ interface SVGFEDiffuseLightingElement +@@ -29822,7 +30064,7 @@ interface SVGFEDiffuseLightingElement listener: ( this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K], @@ -9835,7 +9922,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30373,7 +30615,7 @@ interface SVGFEDiffuseLightingElement +@@ -29835,7 +30077,7 @@ interface SVGFEDiffuseLightingElement listener: ( this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K], @@ -9844,7 +9931,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30383,7 +30625,7 @@ interface SVGFEDiffuseLightingElement +@@ -29845,7 +30087,7 @@ interface SVGFEDiffuseLightingElement ): void; } @@ -9853,7 +9940,7 @@ prototype: SVGFEDiffuseLightingElement; new (): SVGFEDiffuseLightingElement; }; -@@ -30412,7 +30654,7 @@ interface SVGFEDisplacementMapElement +@@ -29874,7 +30116,7 @@ interface SVGFEDisplacementMapElement listener: ( this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K], @@ -9862,7 +9949,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30425,7 +30667,7 @@ interface SVGFEDisplacementMapElement +@@ -29887,7 +30129,7 @@ interface SVGFEDisplacementMapElement listener: ( this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K], @@ -9871,7 +9958,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30435,7 +30677,7 @@ interface SVGFEDisplacementMapElement +@@ -29897,7 +30139,7 @@ interface SVGFEDisplacementMapElement ): void; } @@ -9880,7 +9967,7 @@ prototype: SVGFEDisplacementMapElement; new (): SVGFEDisplacementMapElement; readonly SVG_CHANNEL_UNKNOWN: 0; -@@ -30459,7 +30701,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29921,7 +30163,7 @@ interface SVGFEDistantLightElement extends SVGElement { listener: ( this: SVGFEDistantLightElement, ev: SVGElementEventMap[K], @@ -9889,7 +9976,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30472,7 +30714,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29934,7 +30176,7 @@ interface SVGFEDistantLightElement extends SVGElement { listener: ( this: SVGFEDistantLightElement, ev: SVGElementEventMap[K], @@ -9898,7 +9985,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30482,7 +30724,7 @@ interface SVGFEDistantLightElement extends SVGElement { +@@ -29944,7 +30186,7 @@ interface SVGFEDistantLightElement extends SVGElement { ): void; } @@ -9907,7 +9994,7 @@ prototype: SVGFEDistantLightElement; new (): SVGFEDistantLightElement; }; -@@ -30502,7 +30744,10 @@ interface SVGFEDropShadowElement +@@ -29964,7 +30206,10 @@ interface SVGFEDropShadowElement setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; addEventListener( type: K, @@ -9919,7 +10006,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30512,7 +30757,10 @@ interface SVGFEDropShadowElement +@@ -29974,7 +30219,10 @@ interface SVGFEDropShadowElement ): void; removeEventListener( type: K, @@ -9931,7 +10018,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30522,7 +30770,7 @@ interface SVGFEDropShadowElement +@@ -29984,7 +30232,7 @@ interface SVGFEDropShadowElement ): void; } @@ -9940,7 +10027,7 @@ prototype: SVGFEDropShadowElement; new (): SVGFEDropShadowElement; }; -@@ -30537,7 +30785,7 @@ interface SVGFEFloodElement +@@ -29999,7 +30247,7 @@ interface SVGFEFloodElement SVGFilterPrimitiveStandardAttributes { addEventListener( type: K, @@ -9949,7 +10036,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30547,7 +30795,7 @@ interface SVGFEFloodElement +@@ -30009,7 +30257,7 @@ interface SVGFEFloodElement ): void; removeEventListener( type: K, @@ -9958,7 +10045,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30557,7 +30805,7 @@ interface SVGFEFloodElement +@@ -30019,7 +30267,7 @@ interface SVGFEFloodElement ): void; } @@ -9967,7 +10054,7 @@ prototype: SVGFEFloodElement; new (): SVGFEFloodElement; }; -@@ -30570,7 +30818,7 @@ declare var SVGFEFloodElement: { +@@ -30032,7 +30280,7 @@ declare var SVGFEFloodElement: { interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -9976,7 +10063,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30580,7 +30828,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +@@ -30042,7 +30290,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -9985,7 +10072,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30590,7 +30838,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +@@ -30052,7 +30300,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { ): void; } @@ -9994,7 +10081,7 @@ prototype: SVGFEFuncAElement; new (): SVGFEFuncAElement; }; -@@ -30603,7 +30851,7 @@ declare var SVGFEFuncAElement: { +@@ -30065,7 +30313,7 @@ declare var SVGFEFuncAElement: { interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10003,7 +10090,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30613,7 +30861,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +@@ -30075,7 +30323,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10012,7 +10099,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30623,7 +30871,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +@@ -30085,7 +30333,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10021,7 +10108,7 @@ prototype: SVGFEFuncBElement; new (): SVGFEFuncBElement; }; -@@ -30636,7 +30884,7 @@ declare var SVGFEFuncBElement: { +@@ -30098,7 +30346,7 @@ declare var SVGFEFuncBElement: { interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10030,7 +10117,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30646,7 +30894,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +@@ -30108,7 +30356,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10039,7 +10126,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30656,7 +30904,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +@@ -30118,7 +30366,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10048,7 +10135,7 @@ prototype: SVGFEFuncGElement; new (): SVGFEFuncGElement; }; -@@ -30669,7 +30917,7 @@ declare var SVGFEFuncGElement: { +@@ -30131,7 +30379,7 @@ declare var SVGFEFuncGElement: { interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { addEventListener( type: K, @@ -10057,7 +10144,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30679,7 +30927,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +@@ -30141,7 +30389,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { ): void; removeEventListener( type: K, @@ -10066,7 +10153,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30689,7 +30937,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +@@ -30151,7 +30399,7 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { ): void; } @@ -10075,7 +10162,7 @@ prototype: SVGFEFuncRElement; new (): SVGFEFuncRElement; }; -@@ -30712,7 +30960,7 @@ interface SVGFEGaussianBlurElement +@@ -30174,7 +30422,7 @@ interface SVGFEGaussianBlurElement listener: ( this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K], @@ -10084,7 +10171,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30725,7 +30973,7 @@ interface SVGFEGaussianBlurElement +@@ -30187,7 +30435,7 @@ interface SVGFEGaussianBlurElement listener: ( this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K], @@ -10093,7 +10180,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30735,7 +30983,7 @@ interface SVGFEGaussianBlurElement +@@ -30197,7 +30445,7 @@ interface SVGFEGaussianBlurElement ): void; } @@ -10102,7 +10189,7 @@ prototype: SVGFEGaussianBlurElement; new (): SVGFEGaussianBlurElement; }; -@@ -30752,7 +31000,7 @@ interface SVGFEImageElement +@@ -30214,7 +30462,7 @@ interface SVGFEImageElement readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; addEventListener( type: K, @@ -10111,7 +10198,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30762,7 +31010,7 @@ interface SVGFEImageElement +@@ -30224,7 +30472,7 @@ interface SVGFEImageElement ): void; removeEventListener( type: K, @@ -10120,7 +10207,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30772,7 +31020,7 @@ interface SVGFEImageElement +@@ -30234,7 +30482,7 @@ interface SVGFEImageElement ): void; } @@ -10129,7 +10216,7 @@ prototype: SVGFEImageElement; new (): SVGFEImageElement; }; -@@ -30787,7 +31035,7 @@ interface SVGFEMergeElement +@@ -30249,7 +30497,7 @@ interface SVGFEMergeElement SVGFilterPrimitiveStandardAttributes { addEventListener( type: K, @@ -10138,7 +10225,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30797,7 +31045,7 @@ interface SVGFEMergeElement +@@ -30259,7 +30507,7 @@ interface SVGFEMergeElement ): void; removeEventListener( type: K, @@ -10147,7 +10234,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30807,7 +31055,7 @@ interface SVGFEMergeElement +@@ -30269,7 +30517,7 @@ interface SVGFEMergeElement ): void; } @@ -10156,7 +10243,7 @@ prototype: SVGFEMergeElement; new (): SVGFEMergeElement; }; -@@ -30822,7 +31070,10 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30284,7 +30532,10 @@ interface SVGFEMergeNodeElement extends SVGElement { readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10168,7 +10255,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30832,7 +31083,10 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30294,7 +30545,10 @@ interface SVGFEMergeNodeElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10180,7 +10267,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30842,7 +31096,7 @@ interface SVGFEMergeNodeElement extends SVGElement { +@@ -30304,7 +30558,7 @@ interface SVGFEMergeNodeElement extends SVGElement { ): void; } @@ -10189,7 +10276,7 @@ prototype: SVGFEMergeNodeElement; new (): SVGFEMergeNodeElement; }; -@@ -30865,7 +31119,10 @@ interface SVGFEMorphologyElement +@@ -30327,7 +30581,10 @@ interface SVGFEMorphologyElement readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2; addEventListener( type: K, @@ -10201,7 +10288,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30875,7 +31132,10 @@ interface SVGFEMorphologyElement +@@ -30337,7 +30594,10 @@ interface SVGFEMorphologyElement ): void; removeEventListener( type: K, @@ -10213,7 +10300,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30885,7 +31145,7 @@ interface SVGFEMorphologyElement +@@ -30347,7 +30607,7 @@ interface SVGFEMorphologyElement ): void; } @@ -10222,7 +10309,7 @@ prototype: SVGFEMorphologyElement; new (): SVGFEMorphologyElement; readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0; -@@ -30907,7 +31167,7 @@ interface SVGFEOffsetElement +@@ -30369,7 +30629,7 @@ interface SVGFEOffsetElement readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10231,7 +10318,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30917,7 +31177,7 @@ interface SVGFEOffsetElement +@@ -30379,7 +30639,7 @@ interface SVGFEOffsetElement ): void; removeEventListener( type: K, @@ -10240,7 +10327,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30927,7 +31187,7 @@ interface SVGFEOffsetElement +@@ -30389,7 +30649,7 @@ interface SVGFEOffsetElement ): void; } @@ -10249,7 +10336,7 @@ prototype: SVGFEOffsetElement; new (): SVGFEOffsetElement; }; -@@ -30944,7 +31204,10 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30406,7 +30666,10 @@ interface SVGFEPointLightElement extends SVGElement { readonly z: SVGAnimatedNumber; addEventListener( type: K, @@ -10261,7 +10348,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -30954,7 +31217,10 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30416,7 +30679,10 @@ interface SVGFEPointLightElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10273,7 +10360,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -30964,7 +31230,7 @@ interface SVGFEPointLightElement extends SVGElement { +@@ -30426,7 +30692,7 @@ interface SVGFEPointLightElement extends SVGElement { ): void; } @@ -10282,7 +10369,7 @@ prototype: SVGFEPointLightElement; new (): SVGFEPointLightElement; }; -@@ -30989,7 +31255,7 @@ interface SVGFESpecularLightingElement +@@ -30451,7 +30717,7 @@ interface SVGFESpecularLightingElement listener: ( this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K], @@ -10291,7 +10378,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31002,7 +31268,7 @@ interface SVGFESpecularLightingElement +@@ -30464,7 +30730,7 @@ interface SVGFESpecularLightingElement listener: ( this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K], @@ -10300,7 +10387,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31012,7 +31278,7 @@ interface SVGFESpecularLightingElement +@@ -30474,7 +30740,7 @@ interface SVGFESpecularLightingElement ): void; } @@ -10309,7 +10396,7 @@ prototype: SVGFESpecularLightingElement; new (): SVGFESpecularLightingElement; }; -@@ -31034,7 +31300,10 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30496,7 +30762,10 @@ interface SVGFESpotLightElement extends SVGElement { readonly z: SVGAnimatedNumber; addEventListener( type: K, @@ -10321,7 +10408,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31044,7 +31313,10 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30506,7 +30775,10 @@ interface SVGFESpotLightElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10333,7 +10420,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31054,7 +31326,7 @@ interface SVGFESpotLightElement extends SVGElement { +@@ -30516,7 +30788,7 @@ interface SVGFESpotLightElement extends SVGElement { ): void; } @@ -10342,7 +10429,7 @@ prototype: SVGFESpotLightElement; new (): SVGFESpotLightElement; }; -@@ -31070,7 +31342,7 @@ interface SVGFETileElement +@@ -30532,7 +30804,7 @@ interface SVGFETileElement readonly in1: SVGAnimatedString; addEventListener( type: K, @@ -10351,7 +10438,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31080,7 +31352,7 @@ interface SVGFETileElement +@@ -30542,7 +30814,7 @@ interface SVGFETileElement ): void; removeEventListener( type: K, @@ -10360,7 +10447,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31090,7 +31362,7 @@ interface SVGFETileElement +@@ -30552,7 +30824,7 @@ interface SVGFETileElement ): void; } @@ -10369,7 +10456,7 @@ prototype: SVGFETileElement; new (): SVGFETileElement; }; -@@ -31118,7 +31390,10 @@ interface SVGFETurbulenceElement +@@ -30580,7 +30852,10 @@ interface SVGFETurbulenceElement readonly SVG_STITCHTYPE_NOSTITCH: 2; addEventListener( type: K, @@ -10381,7 +10468,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31128,7 +31403,10 @@ interface SVGFETurbulenceElement +@@ -30590,7 +30865,10 @@ interface SVGFETurbulenceElement ): void; removeEventListener( type: K, @@ -10393,7 +10480,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31138,7 +31416,7 @@ interface SVGFETurbulenceElement +@@ -30600,7 +30878,7 @@ interface SVGFETurbulenceElement ): void; } @@ -10402,7 +10489,7 @@ prototype: SVGFETurbulenceElement; new (): SVGFETurbulenceElement; readonly SVG_TURBULENCE_TYPE_UNKNOWN: 0; -@@ -31164,7 +31442,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30626,7 +30904,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10411,7 +10498,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31174,7 +31452,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30636,7 +30914,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10420,7 +10507,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31184,7 +31462,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { +@@ -30646,7 +30924,7 @@ interface SVGFilterElement extends SVGElement, SVGURIReference { ): void; } @@ -10429,7 +10516,7 @@ prototype: SVGFilterElement; new (): SVGFilterElement; }; -@@ -31224,7 +31502,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30686,7 +30964,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10441,7 +10528,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31234,7 +31515,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30696,7 +30977,10 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10453,7 +10540,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31244,7 +31528,7 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { +@@ -30706,7 +30990,7 @@ interface SVGForeignObjectElement extends SVGGraphicsElement { ): void; } @@ -10462,7 +10549,7 @@ prototype: SVGForeignObjectElement; new (): SVGForeignObjectElement; }; -@@ -31257,7 +31541,7 @@ declare var SVGForeignObjectElement: { +@@ -30719,7 +31003,7 @@ declare var SVGForeignObjectElement: { interface SVGGElement extends SVGGraphicsElement { addEventListener( type: K, @@ -10471,7 +10558,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31267,7 +31551,7 @@ interface SVGGElement extends SVGGraphicsElement { +@@ -30729,7 +31013,7 @@ interface SVGGElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10480,7 +10567,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31277,7 +31561,7 @@ interface SVGGElement extends SVGGraphicsElement { +@@ -30739,7 +31023,7 @@ interface SVGGElement extends SVGGraphicsElement { ): void; } @@ -10489,7 +10576,7 @@ prototype: SVGGElement; new (): SVGGElement; }; -@@ -31314,7 +31598,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30776,7 +31060,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { isPointInStroke(point?: DOMPointInit): boolean; addEventListener( type: K, @@ -10498,7 +10585,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31324,7 +31608,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30786,7 +31070,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -10507,7 +10594,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31334,7 +31618,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { +@@ -30796,7 +31080,7 @@ interface SVGGeometryElement extends SVGGraphicsElement { ): void; } @@ -10516,7 +10603,7 @@ prototype: SVGGeometryElement; new (): SVGGeometryElement; }; -@@ -31356,7 +31640,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30818,7 +31102,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { readonly SVG_SPREADMETHOD_REPEAT: 3; addEventListener( type: K, @@ -10525,7 +10612,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31366,7 +31650,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30828,7 +31112,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10534,7 +10621,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31376,7 +31660,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { +@@ -30838,7 +31122,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference { ): void; } @@ -10543,7 +10630,7 @@ prototype: SVGGradientElement; new (): SVGGradientElement; readonly SVG_SPREADMETHOD_UNKNOWN: 0; -@@ -31403,7 +31687,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30865,7 +31149,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { getScreenCTM(): DOMMatrix | null; addEventListener( type: K, @@ -10552,7 +10639,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31413,7 +31697,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30875,7 +31159,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { ): void; removeEventListener( type: K, @@ -10561,7 +10648,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31423,7 +31707,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { +@@ -30885,7 +31169,7 @@ interface SVGGraphicsElement extends SVGElement, SVGTests { ): void; } @@ -10570,7 +10657,7 @@ prototype: SVGGraphicsElement; new (): SVGGraphicsElement; }; -@@ -31466,7 +31750,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30924,7 +31208,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10579,7 +10666,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31476,7 +31760,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30934,7 +31218,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10588,7 +10675,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31486,7 +31770,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { +@@ -30944,7 +31228,7 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -10597,7 +10684,7 @@ prototype: SVGImageElement; new (): SVGImageElement; }; -@@ -31516,7 +31800,7 @@ interface SVGLength { +@@ -30974,7 +31258,7 @@ interface SVGLength { readonly SVG_LENGTHTYPE_PC: 10; } @@ -10606,7 +10693,7 @@ prototype: SVGLength; new (): SVGLength; readonly SVG_LENGTHTYPE_UNKNOWN: 0; -@@ -31550,7 +31834,7 @@ interface SVGLengthList { +@@ -31008,7 +31292,7 @@ interface SVGLengthList { [index: number]: SVGLength; } @@ -10615,7 +10702,7 @@ prototype: SVGLengthList; new (): SVGLengthList; }; -@@ -31568,7 +31852,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31026,7 +31310,7 @@ interface SVGLineElement extends SVGGeometryElement { readonly y2: SVGAnimatedLength; addEventListener( type: K, @@ -10624,7 +10711,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31578,7 +31862,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31036,7 +31320,7 @@ interface SVGLineElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -10633,7 +10720,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31588,7 +31872,7 @@ interface SVGLineElement extends SVGGeometryElement { +@@ -31046,7 +31330,7 @@ interface SVGLineElement extends SVGGeometryElement { ): void; } @@ -10642,7 +10729,7 @@ prototype: SVGLineElement; new (): SVGLineElement; }; -@@ -31609,7 +31893,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31067,7 +31351,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { listener: ( this: SVGLinearGradientElement, ev: SVGElementEventMap[K], @@ -10651,7 +10738,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31622,7 +31906,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31080,7 +31364,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { listener: ( this: SVGLinearGradientElement, ev: SVGElementEventMap[K], @@ -10660,7 +10747,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31632,7 +31916,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { +@@ -31090,7 +31374,7 @@ interface SVGLinearGradientElement extends SVGGradientElement { ): void; } @@ -10669,7 +10756,7 @@ prototype: SVGLinearGradientElement; new (): SVGLinearGradientElement; }; -@@ -31641,7 +31925,7 @@ declare var SVGLinearGradientElement: { +@@ -31099,7 +31383,7 @@ declare var SVGLinearGradientElement: { interface SVGMPathElement extends SVGElement, SVGURIReference { addEventListener( type: K, @@ -10678,7 +10765,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31651,7 +31935,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { +@@ -31109,7 +31393,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -10687,7 +10774,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31661,7 +31945,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { +@@ -31119,7 +31403,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference { ): void; } @@ -10696,7 +10783,7 @@ prototype: SVGMPathElement; new (): SVGMPathElement; }; -@@ -31721,7 +32005,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31179,7 +31463,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { readonly SVG_MARKER_ORIENT_ANGLE: 2; addEventListener( type: K, @@ -10705,7 +10792,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31731,7 +32015,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31189,7 +31473,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -10714,7 +10801,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31741,7 +32025,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { +@@ -31199,7 +31483,7 @@ interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -10723,7 +10810,7 @@ prototype: SVGMarkerElement; new (): SVGMarkerElement; readonly SVG_MARKERUNITS_UNKNOWN: 0; -@@ -31791,7 +32075,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31249,7 +31533,7 @@ interface SVGMaskElement extends SVGElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10732,7 +10819,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31801,7 +32085,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31259,7 +31543,7 @@ interface SVGMaskElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10741,7 +10828,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31811,7 +32095,7 @@ interface SVGMaskElement extends SVGElement { +@@ -31269,7 +31553,7 @@ interface SVGMaskElement extends SVGElement { ): void; } @@ -10750,7 +10837,7 @@ prototype: SVGMaskElement; new (): SVGMaskElement; }; -@@ -31825,7 +32109,7 @@ declare var SVGMaskElement: { +@@ -31283,7 +31567,7 @@ declare var SVGMaskElement: { interface SVGMetadataElement extends SVGElement { addEventListener( type: K, @@ -10759,7 +10846,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31835,7 +32119,7 @@ interface SVGMetadataElement extends SVGElement { +@@ -31293,7 +31577,7 @@ interface SVGMetadataElement extends SVGElement { ): void; removeEventListener( type: K, @@ -10768,7 +10855,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31845,7 +32129,7 @@ interface SVGMetadataElement extends SVGElement { +@@ -31303,7 +31587,7 @@ interface SVGMetadataElement extends SVGElement { ): void; } @@ -10777,7 +10864,7 @@ prototype: SVGMetadataElement; new (): SVGMetadataElement; }; -@@ -31859,7 +32143,7 @@ interface SVGNumber { +@@ -31317,7 +31601,7 @@ interface SVGNumber { value: number; } @@ -10786,7 +10873,7 @@ prototype: SVGNumber; new (): SVGNumber; }; -@@ -31882,7 +32166,7 @@ interface SVGNumberList { +@@ -31340,7 +31624,7 @@ interface SVGNumberList { [index: number]: SVGNumber; } @@ -10795,7 +10882,7 @@ prototype: SVGNumberList; new (): SVGNumberList; }; -@@ -31895,7 +32179,7 @@ declare var SVGNumberList: { +@@ -31353,7 +31637,7 @@ declare var SVGNumberList: { interface SVGPathElement extends SVGGeometryElement { addEventListener( type: K, @@ -10804,7 +10891,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31905,7 +32189,7 @@ interface SVGPathElement extends SVGGeometryElement { +@@ -31363,7 +31647,7 @@ interface SVGPathElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -10813,7 +10900,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31915,7 +32199,7 @@ interface SVGPathElement extends SVGGeometryElement { +@@ -31373,7 +31657,7 @@ interface SVGPathElement extends SVGGeometryElement { ): void; } @@ -10822,7 +10909,7 @@ prototype: SVGPathElement; new (): SVGPathElement; }; -@@ -31938,7 +32222,7 @@ interface SVGPatternElement +@@ -31396,7 +31680,7 @@ interface SVGPatternElement readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10831,7 +10918,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -31948,7 +32232,7 @@ interface SVGPatternElement +@@ -31406,7 +31690,7 @@ interface SVGPatternElement ): void; removeEventListener( type: K, @@ -10840,7 +10927,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -31958,7 +32242,7 @@ interface SVGPatternElement +@@ -31416,7 +31700,7 @@ interface SVGPatternElement ): void; } @@ -10849,7 +10936,7 @@ prototype: SVGPatternElement; new (): SVGPatternElement; }; -@@ -32013,7 +32297,7 @@ interface SVGPointList { +@@ -31471,7 +31755,7 @@ interface SVGPointList { [index: number]: DOMPoint; } @@ -10858,7 +10945,7 @@ prototype: SVGPointList; new (): SVGPointList; }; -@@ -32027,7 +32311,7 @@ declare var SVGPointList: { +@@ -31485,7 +31769,7 @@ declare var SVGPointList: { interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener( type: K, @@ -10867,7 +10954,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32037,7 +32321,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31495,7 +31779,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; removeEventListener( type: K, @@ -10876,7 +10963,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32047,7 +32331,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31505,7 +31789,7 @@ interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; } @@ -10885,7 +10972,7 @@ prototype: SVGPolygonElement; new (): SVGPolygonElement; }; -@@ -32062,7 +32346,7 @@ declare var SVGPolygonElement: { +@@ -31520,7 +31804,7 @@ declare var SVGPolygonElement: { interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener( type: K, @@ -10894,7 +10981,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32072,7 +32356,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31530,7 +31814,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; removeEventListener( type: K, @@ -10903,7 +10990,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32082,7 +32366,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { +@@ -31540,7 +31824,7 @@ interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { ): void; } @@ -10912,7 +10999,7 @@ prototype: SVGPolylineElement; new (): SVGPolylineElement; }; -@@ -32113,7 +32397,7 @@ interface SVGPreserveAspectRatio { +@@ -31571,7 +31855,7 @@ interface SVGPreserveAspectRatio { readonly SVG_MEETORSLICE_SLICE: 2; } @@ -10921,7 +11008,7 @@ prototype: SVGPreserveAspectRatio; new (): SVGPreserveAspectRatio; readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0; -@@ -32150,7 +32434,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31608,7 +31892,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { listener: ( this: SVGRadialGradientElement, ev: SVGElementEventMap[K], @@ -10930,7 +11017,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32163,7 +32447,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31621,7 +31905,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { listener: ( this: SVGRadialGradientElement, ev: SVGElementEventMap[K], @@ -10939,7 +11026,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32173,7 +32457,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { +@@ -31631,7 +31915,7 @@ interface SVGRadialGradientElement extends SVGGradientElement { ): void; } @@ -10948,7 +11035,7 @@ prototype: SVGRadialGradientElement; new (): SVGRadialGradientElement; }; -@@ -32193,7 +32477,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31651,7 +31935,7 @@ interface SVGRectElement extends SVGGeometryElement { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -10957,7 +11044,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32203,7 +32487,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31661,7 +31945,7 @@ interface SVGRectElement extends SVGGeometryElement { ): void; removeEventListener( type: K, @@ -10966,7 +11053,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32213,7 +32497,7 @@ interface SVGRectElement extends SVGGeometryElement { +@@ -31671,7 +31955,7 @@ interface SVGRectElement extends SVGGeometryElement { ): void; } @@ -10975,7 +11062,7 @@ prototype: SVGRectElement; new (): SVGRectElement; }; -@@ -32297,7 +32581,7 @@ interface SVGSVGElement +@@ -31755,7 +32039,7 @@ interface SVGSVGElement unsuspendRedrawAll(): void; addEventListener( type: K, @@ -10984,7 +11071,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32307,7 +32591,7 @@ interface SVGSVGElement +@@ -31765,7 +32049,7 @@ interface SVGSVGElement ): void; removeEventListener( type: K, @@ -10993,7 +11080,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32317,7 +32601,7 @@ interface SVGSVGElement +@@ -31775,7 +32059,7 @@ interface SVGSVGElement ): void; } @@ -11002,7 +11089,7 @@ prototype: SVGSVGElement; new (): SVGSVGElement; }; -@@ -32331,7 +32615,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31789,7 +32073,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { type: string; addEventListener( type: K, @@ -11011,7 +11098,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32341,7 +32625,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31799,7 +32083,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11020,7 +11107,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32351,7 +32635,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { +@@ -31809,7 +32093,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference { ): void; } @@ -11029,7 +11116,7 @@ prototype: SVGScriptElement; new (): SVGScriptElement; }; -@@ -32360,7 +32644,7 @@ declare var SVGScriptElement: { +@@ -31818,7 +32102,7 @@ declare var SVGScriptElement: { interface SVGSetElement extends SVGAnimationElement { addEventListener( type: K, @@ -11038,7 +11125,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32370,7 +32654,7 @@ interface SVGSetElement extends SVGAnimationElement { +@@ -31828,7 +32112,7 @@ interface SVGSetElement extends SVGAnimationElement { ): void; removeEventListener( type: K, @@ -11047,7 +11134,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32380,7 +32664,7 @@ interface SVGSetElement extends SVGAnimationElement { +@@ -31838,7 +32122,7 @@ interface SVGSetElement extends SVGAnimationElement { ): void; } @@ -11056,7 +11143,7 @@ prototype: SVGSetElement; new (): SVGSetElement; }; -@@ -32394,7 +32678,7 @@ interface SVGStopElement extends SVGElement { +@@ -31852,7 +32136,7 @@ interface SVGStopElement extends SVGElement { readonly offset: SVGAnimatedNumber; addEventListener( type: K, @@ -11065,7 +11152,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32404,7 +32688,7 @@ interface SVGStopElement extends SVGElement { +@@ -31862,7 +32146,7 @@ interface SVGStopElement extends SVGElement { ): void; removeEventListener( type: K, @@ -11074,7 +11161,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32414,7 +32698,7 @@ interface SVGStopElement extends SVGElement { +@@ -31872,7 +32156,7 @@ interface SVGStopElement extends SVGElement { ): void; } @@ -11083,7 +11170,7 @@ prototype: SVGStopElement; new (): SVGStopElement; }; -@@ -32437,7 +32721,7 @@ interface SVGStringList { +@@ -31895,7 +32179,7 @@ interface SVGStringList { [index: number]: string; } @@ -11092,7 +11179,7 @@ prototype: SVGStringList; new (): SVGStringList; }; -@@ -32468,7 +32752,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31926,7 +32210,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { type: string; addEventListener( type: K, @@ -11101,7 +11188,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32478,7 +32762,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31936,7 +32220,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { ): void; removeEventListener( type: K, @@ -11110,7 +11197,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32488,7 +32772,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { +@@ -31946,7 +32230,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle { ): void; } @@ -11119,7 +11206,7 @@ prototype: SVGStyleElement; new (): SVGStyleElement; }; -@@ -32501,7 +32785,7 @@ declare var SVGStyleElement: { +@@ -31959,7 +32243,7 @@ declare var SVGStyleElement: { interface SVGSwitchElement extends SVGGraphicsElement { addEventListener( type: K, @@ -11128,7 +11215,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32511,7 +32795,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { +@@ -31969,7 +32253,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -11137,7 +11224,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32521,7 +32805,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { +@@ -31979,7 +32263,7 @@ interface SVGSwitchElement extends SVGGraphicsElement { ): void; } @@ -11146,7 +11233,7 @@ prototype: SVGSwitchElement; new (): SVGSwitchElement; }; -@@ -32534,7 +32818,7 @@ declare var SVGSwitchElement: { +@@ -31992,7 +32276,7 @@ declare var SVGSwitchElement: { interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { addEventListener( type: K, @@ -11155,7 +11242,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32544,7 +32828,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { +@@ -32002,7 +32286,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -11164,7 +11251,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32554,7 +32838,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { +@@ -32012,7 +32296,7 @@ interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -11173,7 +11260,7 @@ prototype: SVGSymbolElement; new (): SVGSymbolElement; }; -@@ -32567,7 +32851,7 @@ declare var SVGSymbolElement: { +@@ -32025,7 +32309,7 @@ declare var SVGSymbolElement: { interface SVGTSpanElement extends SVGTextPositioningElement { addEventListener( type: K, @@ -11182,7 +11269,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32577,7 +32861,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { +@@ -32035,7 +32319,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { ): void; removeEventListener( type: K, @@ -11191,7 +11278,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32587,7 +32871,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { +@@ -32045,7 +32329,7 @@ interface SVGTSpanElement extends SVGTextPositioningElement { ): void; } @@ -11200,7 +11287,7 @@ prototype: SVGTSpanElement; new (): SVGTSpanElement; }; -@@ -32623,7 +32907,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32081,7 +32365,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { readonly LENGTHADJUST_SPACINGANDGLYPHS: 2; addEventListener( type: K, @@ -11212,7 +11299,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32633,7 +32920,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32091,7 +32378,10 @@ interface SVGTextContentElement extends SVGGraphicsElement { ): void; removeEventListener( type: K, @@ -11224,7 +11311,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32643,7 +32933,7 @@ interface SVGTextContentElement extends SVGGraphicsElement { +@@ -32101,7 +32391,7 @@ interface SVGTextContentElement extends SVGGraphicsElement { ): void; } @@ -11233,7 +11320,7 @@ prototype: SVGTextContentElement; new (): SVGTextContentElement; readonly LENGTHADJUST_UNKNOWN: 0; -@@ -32659,7 +32949,7 @@ declare var SVGTextContentElement: { +@@ -32117,7 +32407,7 @@ declare var SVGTextContentElement: { interface SVGTextElement extends SVGTextPositioningElement { addEventListener( type: K, @@ -11242,7 +11329,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32669,7 +32959,7 @@ interface SVGTextElement extends SVGTextPositioningElement { +@@ -32127,7 +32417,7 @@ interface SVGTextElement extends SVGTextPositioningElement { ): void; removeEventListener( type: K, @@ -11251,7 +11338,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32679,7 +32969,7 @@ interface SVGTextElement extends SVGTextPositioningElement { +@@ -32137,7 +32427,7 @@ interface SVGTextElement extends SVGTextPositioningElement { ): void; } @@ -11260,7 +11347,7 @@ prototype: SVGTextElement; new (): SVGTextElement; }; -@@ -32702,7 +32992,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32160,7 +32450,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { readonly TEXTPATH_SPACINGTYPE_EXACT: 2; addEventListener( type: K, @@ -11269,7 +11356,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32712,7 +33002,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32170,7 +32460,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11278,7 +11365,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32722,7 +33012,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { +@@ -32180,7 +32470,7 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { ): void; } @@ -11287,7 +11374,7 @@ prototype: SVGTextPathElement; new (): SVGTextPathElement; readonly TEXTPATH_METHODTYPE_UNKNOWN: 0; -@@ -32752,7 +33042,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32210,7 +32500,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { listener: ( this: SVGTextPositioningElement, ev: SVGElementEventMap[K], @@ -11296,7 +11383,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32765,7 +33055,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32223,7 +32513,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { listener: ( this: SVGTextPositioningElement, ev: SVGElementEventMap[K], @@ -11305,7 +11392,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32775,7 +33065,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { +@@ -32233,7 +32523,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement { ): void; } @@ -11314,7 +11401,7 @@ prototype: SVGTextPositioningElement; new (): SVGTextPositioningElement; }; -@@ -32788,7 +33078,7 @@ declare var SVGTextPositioningElement: { +@@ -32246,7 +32536,7 @@ declare var SVGTextPositioningElement: { interface SVGTitleElement extends SVGElement { addEventListener( type: K, @@ -11323,7 +11410,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32798,7 +33088,7 @@ interface SVGTitleElement extends SVGElement { +@@ -32256,7 +32546,7 @@ interface SVGTitleElement extends SVGElement { ): void; removeEventListener( type: K, @@ -11332,7 +11419,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32808,7 +33098,7 @@ interface SVGTitleElement extends SVGElement { +@@ -32266,7 +32556,7 @@ interface SVGTitleElement extends SVGElement { ): void; } @@ -11341,7 +11428,7 @@ prototype: SVGTitleElement; new (): SVGTitleElement; }; -@@ -32839,7 +33129,7 @@ interface SVGTransform { +@@ -32297,7 +32587,7 @@ interface SVGTransform { readonly SVG_TRANSFORM_SKEWY: 6; } @@ -11350,7 +11437,7 @@ prototype: SVGTransform; new (): SVGTransform; readonly SVG_TRANSFORM_UNKNOWN: 0; -@@ -32871,7 +33161,7 @@ interface SVGTransformList { +@@ -32329,7 +32619,7 @@ interface SVGTransformList { [index: number]: SVGTransform; } @@ -11359,7 +11446,7 @@ prototype: SVGTransformList; new (): SVGTransformList; }; -@@ -32892,7 +33182,7 @@ interface SVGUnitTypes { +@@ -32350,7 +32640,7 @@ interface SVGUnitTypes { readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2; } @@ -11368,7 +11455,7 @@ prototype: SVGUnitTypes; new (): SVGUnitTypes; readonly SVG_UNIT_TYPE_UNKNOWN: 0; -@@ -32912,7 +33202,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32370,7 +32660,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { readonly y: SVGAnimatedLength; addEventListener( type: K, @@ -11377,7 +11464,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32922,7 +33212,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32380,7 +32670,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { ): void; removeEventListener( type: K, @@ -11386,7 +11473,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32932,7 +33222,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { +@@ -32390,7 +32680,7 @@ interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { ): void; } @@ -11395,7 +11482,7 @@ prototype: SVGUseElement; new (): SVGUseElement; }; -@@ -32946,7 +33236,7 @@ declare var SVGUseElement: { +@@ -32404,7 +32694,7 @@ declare var SVGUseElement: { interface SVGViewElement extends SVGElement, SVGFitToViewBox { addEventListener( type: K, @@ -11404,7 +11491,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -32956,7 +33246,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { +@@ -32414,7 +32704,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { ): void; removeEventListener( type: K, @@ -11413,7 +11500,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -32966,7 +33256,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { +@@ -32424,7 +32714,7 @@ interface SVGViewElement extends SVGElement, SVGFitToViewBox { ): void; } @@ -11422,7 +11509,7 @@ prototype: SVGViewElement; new (): SVGViewElement; }; -@@ -33009,7 +33299,7 @@ interface Screen { +@@ -32467,7 +32757,7 @@ interface Screen { readonly width: number; } @@ -11431,16 +11518,16 @@ prototype: Screen; new (): Screen; }; -@@ -33025,7 +33315,7 @@ interface ScreenOrientation extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) +@@ -32487,7 +32777,7 @@ interface ScreenOrientation extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */ - readonly angle: number; - onchange: ((this: ScreenOrientation, ev: Event) => any) | null; + onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) -@@ -33041,7 +33331,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32503,7 +32793,7 @@ interface ScreenOrientation extends EventTarget { listener: ( this: ScreenOrientation, ev: ScreenOrientationEventMap[K], @@ -11449,7 +11536,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33054,7 +33344,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32516,7 +32806,7 @@ interface ScreenOrientation extends EventTarget { listener: ( this: ScreenOrientation, ev: ScreenOrientationEventMap[K], @@ -11458,7 +11545,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33064,7 +33354,7 @@ interface ScreenOrientation extends EventTarget { +@@ -32526,7 +32816,7 @@ interface ScreenOrientation extends EventTarget { ): void; } @@ -11467,7 +11554,7 @@ prototype: ScreenOrientation; new (): ScreenOrientation; }; -@@ -33098,14 +33388,14 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32560,14 +32850,14 @@ interface ScriptProcessorNode extends AudioNode { * Reference](https://developer.mozilla.org/docs/Web/API/ScriptProcessorNode/audioprocess_event) */ onaudioprocess: @@ -11484,7 +11571,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33118,7 +33408,7 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32580,7 +32870,7 @@ interface ScriptProcessorNode extends AudioNode { listener: ( this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K], @@ -11493,7 +11580,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33129,7 +33419,7 @@ interface ScriptProcessorNode extends AudioNode { +@@ -32591,7 +32881,7 @@ interface ScriptProcessorNode extends AudioNode { } /** @deprecated */ @@ -11502,7 +11589,7 @@ prototype: ScriptProcessorNode; new (): ScriptProcessorNode; }; -@@ -33204,7 +33494,7 @@ interface SecurityPolicyViolationEvent extends Event { +@@ -32666,7 +32956,7 @@ interface SecurityPolicyViolationEvent extends Event { readonly violatedDirective: string; } @@ -11511,7 +11598,7 @@ prototype: SecurityPolicyViolationEvent; new ( type: string, -@@ -33335,7 +33625,7 @@ interface Selection { +@@ -32802,7 +33092,7 @@ interface Selection { toString(): string; } @@ -11520,7 +11607,7 @@ prototype: Selection; new (): Selection; }; -@@ -33357,7 +33647,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32824,7 +33114,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */ @@ -11529,7 +11616,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL) -@@ -33372,11 +33662,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32839,11 +33129,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage) */ @@ -11544,7 +11631,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33386,7 +33676,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32853,7 +33143,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -11553,7 +11640,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33396,7 +33686,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -32863,7 +33153,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; } @@ -11562,7 +11649,7 @@ prototype: ServiceWorker; new (): ServiceWorker; }; -@@ -33427,18 +33717,22 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32894,18 +33184,22 @@ interface ServiceWorkerContainer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */ @@ -11588,7 +11675,7 @@ | null; /** * [MDN -@@ -33475,7 +33769,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32942,7 +33236,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -11597,7 +11684,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33488,7 +33782,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32955,7 +33249,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -11606,7 +11693,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33498,7 +33792,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -32965,7 +33259,7 @@ interface ServiceWorkerContainer extends EventTarget { ): void; } @@ -11615,7 +11702,7 @@ prototype: ServiceWorkerContainer; new (): ServiceWorkerContainer; }; -@@ -33535,7 +33829,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33002,7 +33296,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */ @@ -11626,7 +11713,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager) -@@ -33581,7 +33877,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33048,7 +33344,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -11635,7 +11722,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33594,7 +33890,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33061,7 +33357,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -11644,7 +11731,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33604,7 +33900,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -33071,7 +33367,7 @@ interface ServiceWorkerRegistration extends EventTarget { ): void; } @@ -11653,16 +11740,16 @@ prototype: ServiceWorkerRegistration; new (): ServiceWorkerRegistration; }; -@@ -33624,7 +33920,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { - readonly host: Element; +@@ -33101,7 +33397,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; - onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; + onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) -@@ -33636,7 +33932,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) +@@ -33128,7 +33424,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ addEventListener( type: K, @@ -11671,7 +11758,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33646,7 +33942,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +@@ -33138,7 +33434,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { ): void; removeEventListener( type: K, @@ -11680,7 +11767,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33656,7 +33952,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +@@ -33148,7 +33444,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { ): void; } @@ -11689,7 +11776,7 @@ prototype: ShadowRoot; new (): ShadowRoot; }; -@@ -33673,7 +33969,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33165,7 +33461,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { readonly port: MessagePort; addEventListener( type: K, @@ -11698,7 +11785,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33683,7 +33979,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33175,7 +33471,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -11707,7 +11794,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33693,7 +33989,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { +@@ -33185,7 +33481,7 @@ interface SharedWorker extends EventTarget, AbstractWorker { ): void; } @@ -11716,40 +11803,24 @@ prototype: SharedWorker; new (scriptURL: string | URL, options?: string | WorkerOptions): SharedWorker; }; -@@ -33745,27 +34041,27 @@ interface SourceBuffer extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) +@@ -33233,11 +33529,11 @@ interface SourceBuffer extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ + mode: AppendMode; - onabort: ((this: SourceBuffer, ev: Event) => any) | null; -+ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ - onerror: ((this: SourceBuffer, ev: Event) => any) | null; -+ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ - onupdate: ((this: SourceBuffer, ev: Event) => any) | null; -+ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ - onupdateend: ((this: SourceBuffer, ev: Event) => any) | null; -+ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ - onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null; ++ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; ++ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; + onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset) -@@ -33798,7 +34094,7 @@ interface SourceBuffer extends EventTarget { +@@ -33270,7 +33566,7 @@ interface SourceBuffer extends EventTarget { remove(start: number, end: number): void; addEventListener( type: K, @@ -11758,7 +11829,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33808,7 +34104,7 @@ interface SourceBuffer extends EventTarget { +@@ -33280,7 +33576,7 @@ interface SourceBuffer extends EventTarget { ): void; removeEventListener( type: K, @@ -11767,7 +11838,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33818,7 +34114,7 @@ interface SourceBuffer extends EventTarget { +@@ -33290,7 +33586,7 @@ interface SourceBuffer extends EventTarget { ): void; } @@ -11776,17 +11847,13 @@ prototype: SourceBuffer; new (): SourceBuffer; }; -@@ -33843,15 +34139,18 @@ interface SourceBufferList extends EventTarget { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) +@@ -33311,11 +33607,14 @@ interface SourceBufferList extends EventTarget { + * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ + readonly length: number; - onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; -+ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ - onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; ++ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; + onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -11798,7 +11865,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -33861,7 +34160,10 @@ interface SourceBufferList extends EventTarget { +@@ -33325,7 +33624,10 @@ interface SourceBufferList extends EventTarget { ): void; removeEventListener( type: K, @@ -11810,7 +11877,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -33872,7 +34174,7 @@ interface SourceBufferList extends EventTarget { +@@ -33336,7 +33638,7 @@ interface SourceBufferList extends EventTarget { [index: number]: SourceBuffer; } @@ -11819,7 +11886,7 @@ prototype: SourceBufferList; new (): SourceBufferList; }; -@@ -33894,7 +34196,7 @@ interface SpeechRecognitionAlternative { +@@ -33358,7 +33660,7 @@ interface SpeechRecognitionAlternative { readonly transcript: string; } @@ -11828,7 +11895,7 @@ prototype: SpeechRecognitionAlternative; new (): SpeechRecognitionAlternative; }; -@@ -33922,7 +34224,7 @@ interface SpeechRecognitionResult { +@@ -33386,7 +33688,7 @@ interface SpeechRecognitionResult { [index: number]: SpeechRecognitionAlternative; } @@ -11837,7 +11904,7 @@ prototype: SpeechRecognitionResult; new (): SpeechRecognitionResult; }; -@@ -33945,7 +34247,7 @@ interface SpeechRecognitionResultList { +@@ -33409,7 +33711,7 @@ interface SpeechRecognitionResultList { [index: number]: SpeechRecognitionResult; } @@ -11846,7 +11913,7 @@ prototype: SpeechRecognitionResultList; new (): SpeechRecognitionResultList; }; -@@ -33966,7 +34268,7 @@ interface SpeechSynthesis extends EventTarget { +@@ -33430,7 +33732,7 @@ interface SpeechSynthesis extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/voiceschanged_event) */ @@ -11855,7 +11922,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/paused) -@@ -34009,7 +34311,10 @@ interface SpeechSynthesis extends EventTarget { +@@ -33473,7 +33775,10 @@ interface SpeechSynthesis extends EventTarget { speak(utterance: SpeechSynthesisUtterance): void; addEventListener( type: K, @@ -11867,7 +11934,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -34019,7 +34324,10 @@ interface SpeechSynthesis extends EventTarget { +@@ -33483,7 +33788,10 @@ interface SpeechSynthesis extends EventTarget { ): void; removeEventListener( type: K, @@ -11879,7 +11946,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -34029,7 +34337,7 @@ interface SpeechSynthesis extends EventTarget { +@@ -33493,7 +33801,7 @@ interface SpeechSynthesis extends EventTarget { ): void; } @@ -11888,7 +11955,7 @@ prototype: SpeechSynthesis; new (): SpeechSynthesis; }; -@@ -34046,7 +34354,7 @@ interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { +@@ -33510,7 +33818,7 @@ interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { readonly error: SpeechSynthesisErrorCode; } @@ -11897,7 +11964,7 @@ prototype: SpeechSynthesisErrorEvent; new ( type: string, -@@ -34090,7 +34398,7 @@ interface SpeechSynthesisEvent extends Event { +@@ -33554,7 +33862,7 @@ interface SpeechSynthesisEvent extends Event { readonly utterance: SpeechSynthesisUtterance; } @@ -11906,7 +11973,7 @@ prototype: SpeechSynthesisEvent; new ( type: string, -@@ -34127,49 +34435,52 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33591,49 +33899,52 @@ interface SpeechSynthesisUtterance extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/boundary_event) */ onboundary: @@ -11966,7 +12033,7 @@ | null; /** * [MDN -@@ -34201,7 +34512,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33665,7 +33976,7 @@ interface SpeechSynthesisUtterance extends EventTarget { listener: ( this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K], @@ -11975,7 +12042,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -34214,7 +34525,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33678,7 +33989,7 @@ interface SpeechSynthesisUtterance extends EventTarget { listener: ( this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K], @@ -11984,7 +12051,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -34224,7 +34535,7 @@ interface SpeechSynthesisUtterance extends EventTarget { +@@ -33688,7 +33999,7 @@ interface SpeechSynthesisUtterance extends EventTarget { ): void; } @@ -11993,7 +12060,7 @@ prototype: SpeechSynthesisUtterance; new (text?: string): SpeechSynthesisUtterance; }; -@@ -34265,7 +34576,7 @@ interface SpeechSynthesisVoice { +@@ -33729,7 +34040,7 @@ interface SpeechSynthesisVoice { readonly voiceURI: string; } @@ -12002,7 +12069,7 @@ prototype: SpeechSynthesisVoice; new (): SpeechSynthesisVoice; }; -@@ -34273,7 +34584,7 @@ declare var SpeechSynthesisVoice: { +@@ -33737,7 +34048,7 @@ declare var SpeechSynthesisVoice: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StaticRange) */ interface StaticRange extends AbstractRange {} @@ -12011,7 +12078,7 @@ prototype: StaticRange; new (init: StaticRangeInit): StaticRange; }; -@@ -34293,7 +34604,7 @@ interface StereoPannerNode extends AudioNode { +@@ -33757,7 +34068,7 @@ interface StereoPannerNode extends AudioNode { readonly pan: AudioParam; } @@ -12020,7 +12087,7 @@ prototype: StereoPannerNode; new ( context: BaseAudioContext, -@@ -34363,10 +34674,10 @@ interface Storage { +@@ -33827,10 +34138,10 @@ interface Storage { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/setItem) */ setItem(key: string, value: string): void; @@ -12033,7 +12100,7 @@ prototype: Storage; new (): Storage; }; -@@ -34433,7 +34744,7 @@ interface StorageEvent extends Event { +@@ -33897,7 +34208,7 @@ interface StorageEvent extends Event { ): void; } @@ -12042,7 +12109,7 @@ prototype: StorageEvent; new (type: string, eventInitDict?: StorageEventInit): StorageEvent; }; -@@ -34466,7 +34777,7 @@ interface StorageManager { +@@ -33930,7 +34241,7 @@ interface StorageManager { persisted(): Promise; } @@ -12051,7 +12118,7 @@ prototype: StorageManager; new (): StorageManager; }; -@@ -34501,7 +34812,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly { +@@ -33965,7 +34276,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly { set(property: string, ...values: (CSSStyleValue | string)[]): void; } @@ -12060,7 +12127,7 @@ prototype: StylePropertyMap; new (): StylePropertyMap; }; -@@ -34533,15 +34844,15 @@ interface StylePropertyMapReadOnly { +@@ -33997,15 +34308,15 @@ interface StylePropertyMapReadOnly { has(property: string): boolean; forEach( callbackfn: ( @@ -12079,7 +12146,7 @@ prototype: StylePropertyMapReadOnly; new (): StylePropertyMapReadOnly; }; -@@ -34584,7 +34895,7 @@ interface StyleSheet { +@@ -34048,7 +34359,7 @@ interface StyleSheet { readonly type: string; } @@ -12088,7 +12155,7 @@ prototype: StyleSheet; new (): StyleSheet; }; -@@ -34608,7 +34919,7 @@ interface StyleSheetList { +@@ -34072,7 +34383,7 @@ interface StyleSheetList { [index: number]: CSSStyleSheet; } @@ -12097,7 +12164,7 @@ prototype: StyleSheetList; new (): StyleSheetList; }; -@@ -34625,7 +34936,7 @@ interface SubmitEvent extends Event { +@@ -34089,7 +34400,7 @@ interface SubmitEvent extends Event { readonly submitter: HTMLElement | null; } @@ -12106,7 +12173,7 @@ prototype: SubmitEvent; new (type: string, eventInitDict?: SubmitEventInit): SubmitEvent; }; -@@ -34683,7 +34994,7 @@ interface SubtleCrypto { +@@ -34147,7 +34458,7 @@ interface SubtleCrypto { | HkdfParams | Pbkdf2Params, extractable: boolean, @@ -12115,7 +12182,7 @@ ): Promise; /** * [MDN -@@ -34742,7 +35053,7 @@ interface SubtleCrypto { +@@ -34206,7 +34517,7 @@ interface SubtleCrypto { generateKey( algorithm: AlgorithmIdentifier, extractable: boolean, @@ -12124,7 +12191,7 @@ ): Promise; /** * [MDN -@@ -34770,7 +35081,7 @@ interface SubtleCrypto { +@@ -34234,7 +34545,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -12133,7 +12200,7 @@ ): Promise; /** * [MDN -@@ -34802,7 +35113,7 @@ interface SubtleCrypto { +@@ -34266,7 +34577,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -12142,7 +12209,7 @@ ): Promise; /** * [MDN -@@ -34831,7 +35142,7 @@ interface SubtleCrypto { +@@ -34295,7 +34606,7 @@ interface SubtleCrypto { ): Promise; } @@ -12151,7 +12218,7 @@ prototype: SubtleCrypto; new (): SubtleCrypto; }; -@@ -34859,7 +35170,7 @@ interface Text extends CharacterData, Slottable { +@@ -34323,7 +34634,7 @@ interface Text extends CharacterData, Slottable { splitText(offset: number): Text; } @@ -12160,7 +12227,7 @@ prototype: Text; new (data?: string): Text; }; -@@ -34881,7 +35192,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -34345,7 +34656,7 @@ interface TextDecoder extends TextDecoderCommon { * invocation without options's stream (or set to false) has no input, it's * clearest to omit both arguments. * @@ -12169,7 +12236,7 @@ * decoder = new TextDecoder(encoding), * buffer; * while ((buffer = next_chunk())) { -@@ -34898,7 +35209,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -34362,7 +34673,7 @@ interface TextDecoder extends TextDecoderCommon { decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string; } @@ -12178,7 +12245,7 @@ prototype: TextDecoder; new (label?: string, options?: TextDecoderOptions): TextDecoder; }; -@@ -34933,7 +35244,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { +@@ -34397,7 +34708,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { readonly writable: WritableStream; } @@ -12187,7 +12254,7 @@ prototype: TextDecoderStream; new (label?: string, options?: TextDecoderOptions): TextDecoderStream; }; -@@ -34968,7 +35279,7 @@ interface TextEncoder extends TextEncoderCommon { +@@ -34432,7 +34743,7 @@ interface TextEncoder extends TextEncoderCommon { ): TextEncoderEncodeIntoResult; } @@ -12196,7 +12263,7 @@ prototype: TextEncoder; new (): TextEncoder; }; -@@ -34989,7 +35300,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { +@@ -34453,7 +34764,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { readonly writable: WritableStream; } @@ -12205,7 +12272,16 @@ prototype: TextEncoderStream; new (): TextEncoderStream; }; -@@ -35087,7 +35398,7 @@ interface TextMetrics { +@@ -34469,7 +34780,7 @@ interface TextEvent extends UIEvent { + ): void; + } + +-declare var TextEvent: { ++declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; + }; +@@ -34567,7 +34878,7 @@ interface TextMetrics { readonly width: number; } @@ -12214,7 +12290,7 @@ prototype: TextMetrics; new (): TextMetrics; }; -@@ -35172,7 +35483,7 @@ interface TextTrack extends EventTarget { +@@ -34652,7 +34963,7 @@ interface TextTrack extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/cuechange_event) */ @@ -12223,7 +12299,7 @@ /** * Adds the given cue to textTrack's text track list of cues. * -@@ -35189,7 +35500,7 @@ interface TextTrack extends EventTarget { +@@ -34669,7 +34980,7 @@ interface TextTrack extends EventTarget { removeCue(cue: TextTrackCue): void; addEventListener( type: K, @@ -12232,7 +12308,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35199,7 +35510,7 @@ interface TextTrack extends EventTarget { +@@ -34679,7 +34990,7 @@ interface TextTrack extends EventTarget { ): void; removeEventListener( type: K, @@ -12241,7 +12317,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35209,7 +35520,7 @@ interface TextTrack extends EventTarget { +@@ -34689,7 +35000,7 @@ interface TextTrack extends EventTarget { ): void; } @@ -12250,7 +12326,7 @@ prototype: TextTrack; new (): TextTrack; }; -@@ -35249,12 +35560,12 @@ interface TextTrackCue extends EventTarget { +@@ -34729,12 +35040,12 @@ interface TextTrackCue extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/enter_event) */ @@ -12265,7 +12341,7 @@ /** * Returns true if the text track cue pause-on-exit flag is set, false * otherwise. -@@ -35284,7 +35595,7 @@ interface TextTrackCue extends EventTarget { +@@ -34764,7 +35075,7 @@ interface TextTrackCue extends EventTarget { readonly track: TextTrack | null; addEventListener( type: K, @@ -12274,7 +12350,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35294,7 +35605,7 @@ interface TextTrackCue extends EventTarget { +@@ -34774,7 +35085,7 @@ interface TextTrackCue extends EventTarget { ): void; removeEventListener( type: K, @@ -12283,7 +12359,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35304,7 +35615,7 @@ interface TextTrackCue extends EventTarget { +@@ -34784,7 +35095,7 @@ interface TextTrackCue extends EventTarget { ): void; } @@ -12292,7 +12368,7 @@ prototype: TextTrackCue; new (): TextTrackCue; }; -@@ -35332,7 +35643,7 @@ interface TextTrackCueList { +@@ -34812,7 +35123,7 @@ interface TextTrackCueList { [index: number]: TextTrackCue; } @@ -12301,7 +12377,7 @@ prototype: TextTrackCueList; new (): TextTrackCueList; }; -@@ -35354,17 +35665,17 @@ interface TextTrackList extends EventTarget { +@@ -34834,17 +35145,17 @@ interface TextTrackList extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/addtrack_event) */ @@ -12315,14 +12391,14 @@ + onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ - onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; + onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) -@@ -35372,7 +35683,7 @@ interface TextTrackList extends EventTarget { +@@ -34852,7 +35163,7 @@ interface TextTrackList extends EventTarget { getTrackById(id: string): TextTrack | null; addEventListener( type: K, @@ -12331,7 +12407,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35382,7 +35693,7 @@ interface TextTrackList extends EventTarget { +@@ -34862,7 +35173,7 @@ interface TextTrackList extends EventTarget { ): void; removeEventListener( type: K, @@ -12340,7 +12416,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35393,7 +35704,7 @@ interface TextTrackList extends EventTarget { +@@ -34873,7 +35184,7 @@ interface TextTrackList extends EventTarget { [index: number]: TextTrack; } @@ -12349,7 +12425,7 @@ prototype: TextTrackList; new (): TextTrackList; }; -@@ -35432,7 +35743,7 @@ interface TimeRanges { +@@ -34912,7 +35223,7 @@ interface TimeRanges { start(index: number): number; } @@ -12358,7 +12434,7 @@ prototype: TimeRanges; new (): TimeRanges; }; -@@ -35451,7 +35762,7 @@ interface ToggleEvent extends Event { +@@ -34931,7 +35242,7 @@ interface ToggleEvent extends Event { readonly oldState: string; } @@ -12367,7 +12443,7 @@ prototype: ToggleEvent; new (type: string, eventInitDict?: ToggleEventInit): ToggleEvent; }; -@@ -35495,7 +35806,7 @@ interface Touch { +@@ -34975,7 +35286,7 @@ interface Touch { readonly target: EventTarget; } @@ -12376,7 +12452,7 @@ prototype: Touch; new (touchInitDict: TouchInit): Touch; }; -@@ -35547,7 +35858,7 @@ interface TouchEvent extends UIEvent { +@@ -35027,7 +35338,7 @@ interface TouchEvent extends UIEvent { readonly touches: TouchList; } @@ -12385,7 +12461,7 @@ prototype: TouchEvent; new (type: string, eventInitDict?: TouchEventInit): TouchEvent; }; -@@ -35571,7 +35882,7 @@ interface TouchList { +@@ -35051,7 +35362,7 @@ interface TouchList { [index: number]: Touch; } @@ -12394,7 +12470,7 @@ prototype: TouchList; new (): TouchList; }; -@@ -35594,13 +35905,13 @@ interface TrackEvent extends Event { +@@ -35074,13 +35385,13 @@ interface TrackEvent extends Event { readonly track: TextTrack | null; } @@ -12410,7 +12486,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) -@@ -35613,9 +35924,9 @@ interface TransformStream { +@@ -35093,9 +35404,9 @@ interface TransformStream { readonly writable: WritableStream; } @@ -12422,7 +12498,7 @@ transformer?: Transformer, writableStrategy?: QueuingStrategy, readableStrategy?: QueuingStrategy, -@@ -35626,7 +35937,7 @@ declare var TransformStream: { +@@ -35106,7 +35417,7 @@ declare var TransformStream: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */ @@ -12431,7 +12507,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) -@@ -35641,7 +35952,7 @@ interface TransformStreamDefaultController { +@@ -35121,7 +35432,7 @@ interface TransformStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */ @@ -12440,7 +12516,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) -@@ -35649,7 +35960,7 @@ interface TransformStreamDefaultController { +@@ -35129,7 +35440,7 @@ interface TransformStreamDefaultController { terminate(): void; } @@ -12449,7 +12525,7 @@ prototype: TransformStreamDefaultController; new (): TransformStreamDefaultController; }; -@@ -35677,7 +35988,7 @@ interface TransitionEvent extends Event { +@@ -35157,7 +35468,7 @@ interface TransitionEvent extends Event { readonly pseudoElement: string; } @@ -12458,7 +12534,7 @@ prototype: TransitionEvent; new ( type: string, -@@ -35745,7 +36056,7 @@ interface TreeWalker { +@@ -35225,7 +35536,7 @@ interface TreeWalker { previousSibling(): Node | null; } @@ -12467,7 +12543,7 @@ prototype: TreeWalker; new (): TreeWalker; }; -@@ -35781,7 +36092,7 @@ interface UIEvent extends Event { +@@ -35261,7 +35572,7 @@ interface UIEvent extends Event { ): void; } @@ -12476,7 +12552,7 @@ prototype: UIEvent; new (type: string, eventInitDict?: UIEventInit): UIEvent; }; -@@ -35825,7 +36136,7 @@ interface URL { +@@ -35305,7 +35616,7 @@ interface URL { toJSON(): string; } @@ -12485,7 +12561,7 @@ prototype: URL; new (url: string | URL, base?: string | URL): URL; /** -@@ -35846,7 +36157,7 @@ declare var URL: { +@@ -35331,7 +35642,7 @@ declare var URL: { }; type webkitURL = URL; @@ -12494,7 +12570,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */ interface URLSearchParams { -@@ -35911,14 +36222,18 @@ interface URLSearchParams { +@@ -35396,14 +35707,18 @@ interface URLSearchParams { toString(): string; forEach( callbackfn: (value: string, key: string, parent: URLSearchParams) => void, @@ -12516,7 +12592,7 @@ ): URLSearchParams; }; -@@ -35936,7 +36251,7 @@ interface UserActivation { +@@ -35421,7 +35736,7 @@ interface UserActivation { readonly isActive: boolean; } @@ -12525,7 +12601,7 @@ prototype: UserActivation; new (): UserActivation; }; -@@ -35979,7 +36294,7 @@ interface VTTCue extends TextTrackCue { +@@ -35464,7 +35779,7 @@ interface VTTCue extends TextTrackCue { getCueAsHTML(): DocumentFragment; addEventListener( type: K, @@ -12534,7 +12610,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -35989,7 +36304,7 @@ interface VTTCue extends TextTrackCue { +@@ -35474,7 +35789,7 @@ interface VTTCue extends TextTrackCue { ): void; removeEventListener( type: K, @@ -12543,7 +12619,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -35999,7 +36314,7 @@ interface VTTCue extends TextTrackCue { +@@ -35484,7 +35799,7 @@ interface VTTCue extends TextTrackCue { ): void; } @@ -12552,7 +12628,7 @@ prototype: VTTCue; new (startTime: number, endTime: number, text: string): VTTCue; }; -@@ -36039,7 +36354,7 @@ interface VTTRegion { +@@ -35501,7 +35816,7 @@ interface VTTRegion { width: number; } @@ -12561,7 +12637,7 @@ prototype: VTTRegion; new (): VTTRegion; }; -@@ -36109,7 +36424,7 @@ interface ValidityState { +@@ -35563,7 +35878,7 @@ interface ValidityState { readonly valueMissing: boolean; } @@ -12570,7 +12646,7 @@ prototype: ValidityState; new (): ValidityState; }; -@@ -36143,7 +36458,7 @@ interface VideoColorSpace { +@@ -35597,7 +35912,7 @@ interface VideoColorSpace { toJSON(): VideoColorSpaceInit; } @@ -12579,16 +12655,16 @@ prototype: VideoColorSpace; new (init?: VideoColorSpaceInit): VideoColorSpace; }; -@@ -36163,7 +36478,7 @@ interface VideoDecoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) +@@ -35621,7 +35936,7 @@ interface VideoDecoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ - readonly decodeQueueSize: number; - ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; + ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) -@@ -36196,7 +36511,7 @@ interface VideoDecoder extends EventTarget { +@@ -35654,7 +35969,7 @@ interface VideoDecoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -12597,7 +12673,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36206,7 +36521,7 @@ interface VideoDecoder extends EventTarget { +@@ -35664,7 +35979,7 @@ interface VideoDecoder extends EventTarget { ): void; removeEventListener( type: K, @@ -12606,7 +12682,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36216,7 +36531,7 @@ interface VideoDecoder extends EventTarget { +@@ -35674,7 +35989,7 @@ interface VideoDecoder extends EventTarget { ): void; } @@ -12614,17 +12690,17 @@ +declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; - isConfigSupported(config: VideoDecoderConfig): Promise; -@@ -36237,7 +36552,7 @@ interface VideoEncoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) + /** +@@ -35703,7 +36018,7 @@ interface VideoEncoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ - readonly encodeQueueSize: number; - ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; + ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) -@@ -36266,7 +36581,7 @@ interface VideoEncoder extends EventTarget { +@@ -35736,7 +36051,7 @@ interface VideoEncoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -12633,7 +12709,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36276,7 +36591,7 @@ interface VideoEncoder extends EventTarget { +@@ -35746,7 +36061,7 @@ interface VideoEncoder extends EventTarget { ): void; removeEventListener( type: K, @@ -12642,7 +12718,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36286,7 +36601,7 @@ interface VideoEncoder extends EventTarget { +@@ -35756,7 +36071,7 @@ interface VideoEncoder extends EventTarget { ): void; } @@ -12650,8 +12726,8 @@ +declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; - isConfigSupported(config: VideoEncoderConfig): Promise; -@@ -36365,7 +36680,7 @@ interface VideoFrame { + /** +@@ -35843,7 +36158,7 @@ interface VideoFrame { ): Promise; } @@ -12660,7 +12736,7 @@ prototype: VideoFrame; new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame; new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame; -@@ -36404,7 +36719,7 @@ interface VideoPlaybackQuality { +@@ -35882,7 +36197,7 @@ interface VideoPlaybackQuality { readonly totalVideoFrames: number; } @@ -12669,7 +12745,16 @@ prototype: VideoPlaybackQuality; new (): VideoPlaybackQuality; }; -@@ -36435,12 +36750,12 @@ interface VisualViewport extends EventTarget { +@@ -35911,7 +36226,7 @@ interface ViewTransition { + skipTransition(): void; + } + +-declare var ViewTransition: { ++declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; + }; +@@ -35942,12 +36257,12 @@ interface VisualViewport extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/resize_event) */ @@ -12684,7 +12769,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/pageLeft) -@@ -36463,7 +36778,7 @@ interface VisualViewport extends EventTarget { +@@ -35970,7 +36285,7 @@ interface VisualViewport extends EventTarget { readonly width: number; addEventListener( type: K, @@ -12693,7 +12778,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36473,7 +36788,7 @@ interface VisualViewport extends EventTarget { +@@ -35980,7 +36295,7 @@ interface VisualViewport extends EventTarget { ): void; removeEventListener( type: K, @@ -12702,7 +12787,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36483,7 +36798,7 @@ interface VisualViewport extends EventTarget { +@@ -35990,7 +36305,7 @@ interface VisualViewport extends EventTarget { ): void; } @@ -12711,7 +12796,7 @@ prototype: VisualViewport; new (): VisualViewport; }; -@@ -36644,7 +36959,7 @@ interface WEBGL_draw_buffers { +@@ -36151,7 +36466,7 @@ interface WEBGL_draw_buffers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ @@ -12720,7 +12805,7 @@ readonly COLOR_ATTACHMENT0_WEBGL: 0x8ce0; readonly COLOR_ATTACHMENT1_WEBGL: 0x8ce1; readonly COLOR_ATTACHMENT2_WEBGL: 0x8ce2; -@@ -36706,11 +37021,11 @@ interface WEBGL_multi_draw { +@@ -36213,11 +36528,11 @@ interface WEBGL_multi_draw { */ multiDrawArraysInstancedWEBGL( mode: GLenum, @@ -12735,7 +12820,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -36720,9 +37035,9 @@ interface WEBGL_multi_draw { +@@ -36227,9 +36542,9 @@ interface WEBGL_multi_draw { */ multiDrawArraysWEBGL( mode: GLenum, @@ -12747,7 +12832,7 @@ countsOffset: number, drawcount: GLsizei, ): void; -@@ -36732,12 +37047,12 @@ interface WEBGL_multi_draw { +@@ -36239,12 +36554,12 @@ interface WEBGL_multi_draw { */ multiDrawElementsInstancedWEBGL( mode: GLenum, @@ -12763,7 +12848,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -36747,10 +37062,10 @@ interface WEBGL_multi_draw { +@@ -36254,10 +36569,10 @@ interface WEBGL_multi_draw { */ multiDrawElementsWEBGL( mode: GLenum, @@ -12776,7 +12861,7 @@ offsetsOffset: number, drawcount: GLsizei, ): void; -@@ -36769,7 +37084,7 @@ interface WakeLock { +@@ -36276,7 +36591,7 @@ interface WakeLock { request(type?: WakeLockType): Promise; } @@ -12785,7 +12870,7 @@ prototype: WakeLock; new (): WakeLock; }; -@@ -36788,7 +37103,7 @@ interface WakeLockSentinel extends EventTarget { +@@ -36295,7 +36610,7 @@ interface WakeLockSentinel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/release_event) */ @@ -12794,7 +12879,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/released) -@@ -36806,7 +37121,10 @@ interface WakeLockSentinel extends EventTarget { +@@ -36313,7 +36628,10 @@ interface WakeLockSentinel extends EventTarget { release(): Promise; addEventListener( type: K, @@ -12806,7 +12891,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -36816,7 +37134,10 @@ interface WakeLockSentinel extends EventTarget { +@@ -36323,7 +36641,10 @@ interface WakeLockSentinel extends EventTarget { ): void; removeEventListener( type: K, @@ -12818,7 +12903,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -36826,7 +37147,7 @@ interface WakeLockSentinel extends EventTarget { +@@ -36333,7 +36654,7 @@ interface WakeLockSentinel extends EventTarget { ): void; } @@ -12827,7 +12912,7 @@ prototype: WakeLockSentinel; new (): WakeLockSentinel; }; -@@ -36849,7 +37170,7 @@ interface WaveShaperNode extends AudioNode { +@@ -36356,7 +36677,7 @@ interface WaveShaperNode extends AudioNode { oversample: OverSampleType; } @@ -12836,7 +12921,7 @@ prototype: WaveShaperNode; new (context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode; }; -@@ -36863,7 +37184,7 @@ interface WebGL2RenderingContext +@@ -36370,7 +36691,7 @@ interface WebGL2RenderingContext WebGL2RenderingContextOverloads, WebGLRenderingContextBase {} @@ -12845,7 +12930,7 @@ prototype: WebGL2RenderingContext; new (): WebGL2RenderingContext; readonly READ_BUFFER: 0x0c02; -@@ -37680,7 +38001,7 @@ interface WebGL2RenderingContextBase { +@@ -37187,7 +37508,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */ @@ -12854,7 +12939,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) -@@ -37746,16 +38067,16 @@ interface WebGL2RenderingContextBase { +@@ -37253,16 +37574,16 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum, @@ -12874,7 +12959,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) -@@ -37776,7 +38097,7 @@ interface WebGL2RenderingContextBase { +@@ -37283,7 +37604,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */ @@ -12883,7 +12968,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) -@@ -37785,7 +38106,7 @@ interface WebGL2RenderingContextBase { +@@ -37292,7 +37613,7 @@ interface WebGL2RenderingContextBase { target: GLenum, internalformat: GLenum, pname: GLenum, @@ -12892,7 +12977,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) -@@ -37795,17 +38116,17 @@ interface WebGL2RenderingContextBase { +@@ -37302,17 +37623,17 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */ @@ -12913,7 +12998,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) -@@ -37825,20 +38146,20 @@ interface WebGL2RenderingContextBase { +@@ -37332,20 +37653,20 @@ interface WebGL2RenderingContextBase { */ getUniformIndices( program: WebGLProgram, @@ -12937,7 +13022,7 @@ x: GLint, y: GLint, width: GLsizei, -@@ -38031,7 +38352,7 @@ interface WebGL2RenderingContextBase { +@@ -37538,7 +37859,7 @@ interface WebGL2RenderingContextBase { */ transformFeedbackVaryings( program: WebGLProgram, @@ -12946,7 +13031,7 @@ bufferMode: GLenum, ): void; /** -@@ -38868,7 +39189,7 @@ interface WebGLActiveInfo { +@@ -38375,7 +38696,7 @@ interface WebGLActiveInfo { readonly type: GLenum; } @@ -12955,7 +13040,7 @@ prototype: WebGLActiveInfo; new (): WebGLActiveInfo; }; -@@ -38881,7 +39202,7 @@ declare var WebGLActiveInfo: { +@@ -38388,7 +38709,7 @@ declare var WebGLActiveInfo: { */ interface WebGLBuffer {} @@ -12964,7 +13049,7 @@ prototype: WebGLBuffer; new (): WebGLBuffer; }; -@@ -38901,7 +39222,7 @@ interface WebGLContextEvent extends Event { +@@ -38408,7 +38729,7 @@ interface WebGLContextEvent extends Event { readonly statusMessage: string; } @@ -12973,7 +13058,7 @@ prototype: WebGLContextEvent; new (type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent; }; -@@ -38914,7 +39235,7 @@ declare var WebGLContextEvent: { +@@ -38421,7 +38742,7 @@ declare var WebGLContextEvent: { */ interface WebGLFramebuffer {} @@ -12982,7 +13067,7 @@ prototype: WebGLFramebuffer; new (): WebGLFramebuffer; }; -@@ -38928,7 +39249,7 @@ declare var WebGLFramebuffer: { +@@ -38435,7 +38756,7 @@ declare var WebGLFramebuffer: { */ interface WebGLProgram {} @@ -12991,7 +13076,7 @@ prototype: WebGLProgram; new (): WebGLProgram; }; -@@ -38936,7 +39257,7 @@ declare var WebGLProgram: { +@@ -38443,7 +38764,7 @@ declare var WebGLProgram: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery) */ interface WebGLQuery {} @@ -13000,7 +13085,7 @@ prototype: WebGLQuery; new (): WebGLQuery; }; -@@ -38949,7 +39270,7 @@ declare var WebGLQuery: { +@@ -38456,7 +38777,7 @@ declare var WebGLQuery: { */ interface WebGLRenderbuffer {} @@ -13009,7 +13094,7 @@ prototype: WebGLRenderbuffer; new (): WebGLRenderbuffer; }; -@@ -38965,7 +39286,7 @@ interface WebGLRenderingContext +@@ -38472,7 +38793,7 @@ interface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {} @@ -13018,7 +13103,7 @@ prototype: WebGLRenderingContext; new (): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; -@@ -39618,7 +39939,7 @@ interface WebGLRenderingContextBase { +@@ -39129,7 +39450,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */ @@ -13027,7 +13112,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) -@@ -39717,7 +40038,7 @@ interface WebGLRenderingContextBase { +@@ -39228,7 +39549,7 @@ interface WebGLRenderingContextBase { getExtension(extensionName: 'WEBGL_draw_buffers'): WEBGL_draw_buffers | null; getExtension(extensionName: 'WEBGL_lose_context'): WEBGL_lose_context | null; getExtension(extensionName: 'WEBGL_multi_draw'): WEBGL_multi_draw | null; @@ -13036,7 +13121,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) -@@ -39726,12 +40047,12 @@ interface WebGLRenderingContextBase { +@@ -39237,12 +39558,12 @@ interface WebGLRenderingContextBase { target: GLenum, attachment: GLenum, pname: GLenum, @@ -13051,7 +13136,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) -@@ -39741,12 +40062,12 @@ interface WebGLRenderingContextBase { +@@ -39252,12 +39573,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */ @@ -13066,7 +13151,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) -@@ -39756,7 +40077,7 @@ interface WebGLRenderingContextBase { +@@ -39267,7 +39588,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */ @@ -13075,7 +13160,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) -@@ -39779,12 +40100,12 @@ interface WebGLRenderingContextBase { +@@ -39290,12 +39611,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getTexParameter) */ @@ -13090,7 +13175,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) -@@ -39797,7 +40118,7 @@ interface WebGLRenderingContextBase { +@@ -39308,7 +39629,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */ @@ -13099,7 +13184,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) -@@ -40556,7 +40877,7 @@ interface WebGLRenderingContextOverloads { +@@ -40067,7 +40388,7 @@ interface WebGLRenderingContextOverloads { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler) */ interface WebGLSampler {} @@ -13108,7 +13193,7 @@ prototype: WebGLSampler; new (): WebGLSampler; }; -@@ -40569,7 +40890,7 @@ declare var WebGLSampler: { +@@ -40080,7 +40401,7 @@ declare var WebGLSampler: { */ interface WebGLShader {} @@ -13117,7 +13202,7 @@ prototype: WebGLShader; new (): WebGLShader; }; -@@ -40599,7 +40920,7 @@ interface WebGLShaderPrecisionFormat { +@@ -40110,7 +40431,7 @@ interface WebGLShaderPrecisionFormat { readonly rangeMin: GLint; } @@ -13126,7 +13211,7 @@ prototype: WebGLShaderPrecisionFormat; new (): WebGLShaderPrecisionFormat; }; -@@ -40607,7 +40928,7 @@ declare var WebGLShaderPrecisionFormat: { +@@ -40118,7 +40439,7 @@ declare var WebGLShaderPrecisionFormat: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync) */ interface WebGLSync {} @@ -13135,7 +13220,7 @@ prototype: WebGLSync; new (): WebGLSync; }; -@@ -40620,7 +40941,7 @@ declare var WebGLSync: { +@@ -40131,7 +40452,7 @@ declare var WebGLSync: { */ interface WebGLTexture {} @@ -13144,7 +13229,7 @@ prototype: WebGLTexture; new (): WebGLTexture; }; -@@ -40631,7 +40952,7 @@ declare var WebGLTexture: { +@@ -40142,7 +40463,7 @@ declare var WebGLTexture: { */ interface WebGLTransformFeedback {} @@ -13153,7 +13238,7 @@ prototype: WebGLTransformFeedback; new (): WebGLTransformFeedback; }; -@@ -40645,7 +40966,7 @@ declare var WebGLTransformFeedback: { +@@ -40156,7 +40477,7 @@ declare var WebGLTransformFeedback: { */ interface WebGLUniformLocation {} @@ -13162,7 +13247,7 @@ prototype: WebGLUniformLocation; new (): WebGLUniformLocation; }; -@@ -40656,7 +40977,7 @@ declare var WebGLUniformLocation: { +@@ -40167,7 +40488,7 @@ declare var WebGLUniformLocation: { */ interface WebGLVertexArrayObject {} @@ -13171,7 +13256,7 @@ prototype: WebGLVertexArrayObject; new (): WebGLVertexArrayObject; }; -@@ -40715,22 +41036,22 @@ interface WebSocket extends EventTarget { +@@ -40226,22 +40547,22 @@ interface WebSocket extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */ @@ -13198,7 +13283,7 @@ /** * Returns the subprotocol selected by the server, if any. It can be used in * conjunction with the array form of the constructor's second argument to -@@ -40775,7 +41096,7 @@ interface WebSocket extends EventTarget { +@@ -40286,7 +40607,7 @@ interface WebSocket extends EventTarget { readonly CLOSED: 3; addEventListener( type: K, @@ -13207,7 +13292,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -40785,7 +41106,7 @@ interface WebSocket extends EventTarget { +@@ -40296,7 +40617,7 @@ interface WebSocket extends EventTarget { ): void; removeEventListener( type: K, @@ -13216,7 +13301,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -40795,9 +41116,9 @@ interface WebSocket extends EventTarget { +@@ -40306,9 +40627,9 @@ interface WebSocket extends EventTarget { ): void; } @@ -13228,7 +13313,7 @@ readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; -@@ -40856,7 +41177,7 @@ interface WebTransport { +@@ -40367,7 +40688,7 @@ interface WebTransport { ): Promise; } @@ -13237,7 +13322,7 @@ prototype: WebTransport; new (url: string | URL, options?: WebTransportOptions): WebTransport; }; -@@ -40880,7 +41201,7 @@ interface WebTransportBidirectionalStream { +@@ -40391,7 +40712,7 @@ interface WebTransportBidirectionalStream { readonly writable: WritableStream; } @@ -13246,7 +13331,7 @@ prototype: WebTransportBidirectionalStream; new (): WebTransportBidirectionalStream; }; -@@ -40929,7 +41250,7 @@ interface WebTransportDatagramDuplexStream { +@@ -40440,7 +40761,7 @@ interface WebTransportDatagramDuplexStream { readonly writable: WritableStream; } @@ -13255,7 +13340,7 @@ prototype: WebTransportDatagramDuplexStream; new (): WebTransportDatagramDuplexStream; }; -@@ -40952,7 +41273,7 @@ interface WebTransportError extends DOMException { +@@ -40463,7 +40784,7 @@ interface WebTransportError extends DOMException { readonly streamErrorCode: number | null; } @@ -13264,7 +13349,7 @@ prototype: WebTransportError; new (message?: string, options?: WebTransportErrorOptions): WebTransportError; }; -@@ -40989,7 +41310,7 @@ interface WheelEvent extends MouseEvent { +@@ -40500,7 +40821,7 @@ interface WheelEvent extends MouseEvent { readonly DOM_DELTA_PAGE: 0x02; } @@ -13273,7 +13358,7 @@ prototype: WheelEvent; new (type: string, eventInitDict?: WheelEventInit): WheelEvent; readonly DOM_DELTA_PIXEL: 0x00; -@@ -41113,7 +41434,7 @@ interface Window +@@ -40624,7 +40945,7 @@ interface Window * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event) */ @@ -13282,7 +13367,7 @@ /** * Available only in secure contexts. * -@@ -41121,7 +41442,7 @@ interface Window +@@ -40632,7 +40953,7 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event) */ ondeviceorientation: @@ -13291,7 +13376,7 @@ | null; /** * Available only in secure contexts. -@@ -41130,7 +41451,7 @@ interface Window +@@ -40641,7 +40962,7 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event) */ ondeviceorientationabsolute: @@ -13300,7 +13385,7 @@ | null; /** * @deprecated -@@ -41138,9 +41459,9 @@ interface Window +@@ -40649,9 +40970,9 @@ interface Window * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event) */ @@ -13312,16 +13397,16 @@ /** * @deprecated * -@@ -41249,7 +41570,7 @@ interface Window +@@ -40760,7 +41081,7 @@ interface Window /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window) */ readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ - alert(message?: any): void; + alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ - blur(): void; /** -@@ -41330,11 +41651,11 @@ interface Window + * @deprecated + * +@@ -40845,11 +41166,11 @@ interface Window * Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage) */ postMessage( @@ -13336,7 +13421,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print) */ print(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt) */ -@@ -41375,7 +41696,7 @@ interface Window +@@ -40890,7 +41211,7 @@ interface Window stop(): void; addEventListener( type: K, @@ -13345,7 +13430,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41385,7 +41706,7 @@ interface Window +@@ -40900,7 +41221,7 @@ interface Window ): void; removeEventListener( type: K, @@ -13354,7 +13439,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41396,7 +41717,7 @@ interface Window +@@ -40911,7 +41232,7 @@ interface Window [index: number]: Window; } @@ -13363,7 +13448,7 @@ prototype: Window; new (): Window; }; -@@ -41427,102 +41748,106 @@ interface WindowEventHandlers { +@@ -40942,102 +41263,106 @@ interface WindowEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event) */ @@ -13487,7 +13572,7 @@ | null; /** * @deprecated -@@ -41530,13 +41855,13 @@ interface WindowEventHandlers { +@@ -41045,13 +41370,13 @@ interface WindowEventHandlers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */ @@ -13503,7 +13588,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41549,7 +41874,7 @@ interface WindowEventHandlers { +@@ -41064,7 +41389,7 @@ interface WindowEventHandlers { listener: ( this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K], @@ -13512,7 +13597,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41621,21 +41946,24 @@ interface WindowOrWorkerGlobalScope { +@@ -41142,21 +41467,24 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -13541,7 +13626,7 @@ } interface WindowSessionStorage { -@@ -41664,12 +41992,12 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41185,12 +41513,12 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/message_event) */ @@ -13556,7 +13641,7 @@ /** * Clones message and transmits it to worker's global environment. transfer * can be passed as a list of objects that are to be transferred rather than -@@ -41678,8 +42006,8 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41199,8 +41527,8 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage) */ @@ -13567,7 +13652,7 @@ /** * Aborts worker's associated global environment. * -@@ -41689,7 +42017,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41210,7 +41538,7 @@ interface Worker extends EventTarget, AbstractWorker { terminate(): void; addEventListener( type: K, @@ -13576,7 +13661,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41699,7 +42027,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41220,7 +41548,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -13585,7 +13670,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41709,7 +42037,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -41230,7 +41558,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; } @@ -13594,7 +13679,7 @@ prototype: Worker; new (scriptURL: string | URL, options?: WorkerOptions): Worker; }; -@@ -41741,7 +42069,7 @@ interface Worklet { +@@ -41262,7 +41590,7 @@ interface Worklet { addModule(moduleURL: string | URL, options?: WorkletOptions): Promise; } @@ -13603,7 +13688,7 @@ prototype: Worklet; new (): Worklet; }; -@@ -41753,7 +42081,7 @@ declare var Worklet: { +@@ -41274,7 +41602,7 @@ declare var Worklet: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream) */ @@ -13612,7 +13697,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) -@@ -41763,7 +42091,7 @@ interface WritableStream { +@@ -41284,7 +41612,7 @@ interface WritableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */ @@ -13621,7 +13706,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) -@@ -41776,9 +42104,9 @@ interface WritableStream { +@@ -41297,9 +41625,9 @@ interface WritableStream { getWriter(): WritableStreamDefaultWriter; } @@ -13633,7 +13718,7 @@ underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy, ): WritableStream; -@@ -41803,10 +42131,10 @@ interface WritableStreamDefaultController { +@@ -41324,10 +41652,10 @@ interface WritableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */ @@ -13646,7 +13731,7 @@ prototype: WritableStreamDefaultController; new (): WritableStreamDefaultController; }; -@@ -41820,7 +42148,7 @@ declare var WritableStreamDefaultController: { +@@ -41341,7 +41669,7 @@ declare var WritableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter) */ @@ -13655,7 +13740,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) -@@ -41840,7 +42168,7 @@ interface WritableStreamDefaultWriter { +@@ -41361,7 +41689,7 @@ interface WritableStreamDefaultWriter { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */ @@ -13664,7 +13749,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) -@@ -41858,9 +42186,9 @@ interface WritableStreamDefaultWriter { +@@ -41379,9 +41707,9 @@ interface WritableStreamDefaultWriter { write(chunk?: W): Promise; } @@ -13676,7 +13761,7 @@ }; /** -@@ -41873,7 +42201,7 @@ declare var WritableStreamDefaultWriter: { +@@ -41394,7 +41722,7 @@ declare var WritableStreamDefaultWriter: { interface XMLDocument extends Document { addEventListener( type: K, @@ -13685,7 +13770,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -41883,7 +42211,7 @@ interface XMLDocument extends Document { +@@ -41404,7 +41732,7 @@ interface XMLDocument extends Document { ): void; removeEventListener( type: K, @@ -13694,7 +13779,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -41893,7 +42221,7 @@ interface XMLDocument extends Document { +@@ -41414,7 +41742,7 @@ interface XMLDocument extends Document { ): void; } @@ -13703,7 +13788,7 @@ prototype: XMLDocument; new (): XMLDocument; }; -@@ -41915,7 +42243,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41436,7 +41764,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */ @@ -13712,7 +13797,7 @@ /** * Returns client's state. * -@@ -41929,7 +42257,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41450,7 +41778,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response) */ @@ -13721,7 +13806,7 @@ /** * Returns response as text. * -@@ -42051,9 +42379,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41572,9 +41900,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open) */ @@ -13733,7 +13818,7 @@ url: string | URL, async: boolean, username?: string | null, -@@ -42100,7 +42428,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41621,7 +41949,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { readonly DONE: 4; addEventListener( type: K, @@ -13742,7 +13827,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42110,7 +42438,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41631,7 +41959,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; removeEventListener( type: K, @@ -13751,7 +13836,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42120,7 +42448,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -41641,7 +41969,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; } @@ -13760,7 +13845,7 @@ prototype: XMLHttpRequest; new (): XMLHttpRequest; readonly UNSENT: 0; -@@ -42145,19 +42473,19 @@ interface XMLHttpRequestEventTargetEventMap { +@@ -41666,19 +41994,19 @@ interface XMLHttpRequestEventTargetEventMap { * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget) */ interface XMLHttpRequestEventTarget extends EventTarget { @@ -13788,7 +13873,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42170,7 +42498,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -41691,7 +42019,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { listener: ( this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K], @@ -13797,7 +13882,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42180,7 +42508,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -41701,7 +42029,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { ): void; } @@ -13806,7 +13891,7 @@ prototype: XMLHttpRequestEventTarget; new (): XMLHttpRequestEventTarget; }; -@@ -42195,7 +42523,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41716,7 +42044,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -13815,7 +13900,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -42208,7 +42536,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41729,7 +42057,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -13824,7 +13909,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -42218,7 +42546,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -41739,7 +42067,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { ): void; } @@ -13833,7 +13918,7 @@ prototype: XMLHttpRequestUpload; new (): XMLHttpRequestUpload; }; -@@ -42237,7 +42565,7 @@ interface XMLSerializer { +@@ -41758,7 +42086,7 @@ interface XMLSerializer { serializeToString(root: Node): string; } @@ -13842,7 +13927,7 @@ prototype: XMLSerializer; new (): XMLSerializer; }; -@@ -42250,7 +42578,7 @@ declare var XMLSerializer: { +@@ -41771,7 +42099,7 @@ declare var XMLSerializer: { */ interface XPathEvaluator extends XPathEvaluatorBase {} @@ -13851,7 +13936,7 @@ prototype: XPathEvaluator; new (): XPathEvaluator; }; -@@ -42300,7 +42628,7 @@ interface XPathExpression { +@@ -41821,7 +42149,7 @@ interface XPathExpression { ): XPathResult; } @@ -13860,7 +13945,7 @@ prototype: XPathExpression; new (): XPathExpression; }; -@@ -42369,7 +42697,7 @@ interface XPathResult { +@@ -41890,7 +42218,7 @@ interface XPathResult { readonly FIRST_ORDERED_NODE_TYPE: 9; } @@ -13869,7 +13954,7 @@ prototype: XPathResult; new (): XPathResult; readonly ANY_TYPE: 0; -@@ -42402,7 +42730,7 @@ interface XSLTProcessor { +@@ -41923,7 +42251,7 @@ interface XSLTProcessor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/getParameter) */ @@ -13878,7 +13963,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/importStylesheet) -@@ -42425,7 +42753,7 @@ interface XSLTProcessor { +@@ -41946,7 +42274,7 @@ interface XSLTProcessor { setParameter( namespaceURI: string | null, localName: string, @@ -13887,7 +13972,7 @@ ): void; /** * [MDN -@@ -42439,7 +42767,7 @@ interface XSLTProcessor { +@@ -41960,7 +42288,7 @@ interface XSLTProcessor { transformToFragment(source: Node, output: Document): DocumentFragment; } @@ -13896,7 +13981,7 @@ prototype: XSLTProcessor; new (): XSLTProcessor; }; -@@ -42450,7 +42778,7 @@ interface Console { +@@ -41971,7 +42299,7 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */ @@ -13905,7 +13990,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) -@@ -42470,32 +42798,32 @@ interface Console { +@@ -41991,32 +42319,32 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ @@ -13937,14 +14022,14 @@ + group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ - groupCollapsed(...data: any[]): void; + groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) -@@ -42505,17 +42833,17 @@ interface Console { + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) +@@ -42026,17 +42354,17 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ @@ -13965,9 +14050,9 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) -@@ -42530,21 +42858,21 @@ interface Console { +@@ -42051,21 +42379,21 @@ interface Console { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ - timeLog(label?: string, ...data: any[]): void; + timeLog(label?: string, ...data: readonly unknown[]): void; @@ -13991,7 +14076,7 @@ /** * Holds useful CSS-related methods. No object with this interface are -@@ -42556,7 +42884,7 @@ declare namespace CSS { +@@ -42077,7 +42405,7 @@ declare namespace CSS { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */ @@ -14000,7 +14085,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) -@@ -42856,7 +43184,7 @@ declare namespace CSS { +@@ -42377,7 +42705,7 @@ declare namespace CSS { declare namespace WebAssembly { interface CompileError extends Error {} @@ -14009,7 +14094,7 @@ prototype: CompileError; new (message?: string): CompileError; (message?: string): CompileError; -@@ -42879,7 +43207,7 @@ declare namespace WebAssembly { +@@ -42392,7 +42720,7 @@ declare namespace WebAssembly { valueOf(): ValueTypeMap[T]; } @@ -14018,7 +14103,7 @@ prototype: Global; new ( descriptor: GlobalDescriptor, -@@ -42899,14 +43227,14 @@ declare namespace WebAssembly { +@@ -42412,14 +42740,14 @@ declare namespace WebAssembly { readonly exports: Exports; } @@ -14035,7 +14120,7 @@ prototype: LinkError; new (message?: string): LinkError; (message?: string): LinkError; -@@ -42929,7 +43257,7 @@ declare namespace WebAssembly { +@@ -42442,7 +42770,7 @@ declare namespace WebAssembly { grow(delta: number): number; } @@ -14044,7 +14129,7 @@ prototype: Memory; new (descriptor: MemoryDescriptor): Memory; }; -@@ -42940,7 +43268,7 @@ declare namespace WebAssembly { +@@ -42453,7 +42781,7 @@ declare namespace WebAssembly { */ interface Module {} @@ -14053,7 +14138,7 @@ prototype: Module; new (bytes: BufferSource): Module; /** -@@ -42962,7 +43290,7 @@ declare namespace WebAssembly { +@@ -42475,7 +42803,7 @@ declare namespace WebAssembly { interface RuntimeError extends Error {} @@ -14062,7 +14147,7 @@ prototype: RuntimeError; new (message?: string): RuntimeError; (message?: string): RuntimeError; -@@ -42982,22 +43310,22 @@ declare namespace WebAssembly { +@@ -42495,22 +42823,22 @@ declare namespace WebAssembly { * [MDN * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */ @@ -14090,7 +14175,7 @@ }; interface GlobalDescriptor { -@@ -43030,7 +43358,7 @@ declare namespace WebAssembly { +@@ -42543,7 +42871,7 @@ declare namespace WebAssembly { interface ValueTypeMap { anyfunc: Function; @@ -14099,7 +14184,7 @@ f32: number; f64: number; i32: number; -@@ -43095,7 +43423,7 @@ interface BlobCallback { +@@ -42608,7 +42936,7 @@ interface BlobCallback { } interface CustomElementConstructor { @@ -14108,7 +14193,7 @@ } interface DecodeErrorCallback { -@@ -43119,7 +43447,7 @@ interface FileCallback { +@@ -42632,7 +42960,7 @@ interface FileCallback { } interface FileSystemEntriesCallback { @@ -14117,7 +14202,7 @@ } interface FileSystemEntryCallback { -@@ -43139,11 +43467,14 @@ interface IdleRequestCallback { +@@ -42652,11 +42980,14 @@ interface IdleRequestCallback { } interface IntersectionObserverCallback { @@ -14134,7 +14219,7 @@ } interface MediaSessionActionHandler { -@@ -43151,7 +43482,7 @@ interface MediaSessionActionHandler { +@@ -42664,7 +42995,7 @@ interface MediaSessionActionHandler { } interface MutationCallback { @@ -14143,7 +14228,7 @@ } interface NotificationPermissionCallback { -@@ -43169,7 +43500,7 @@ interface OnErrorEventHandlerNonNull { +@@ -42682,7 +43013,7 @@ interface OnErrorEventHandlerNonNull { lineno?: number, colno?: number, error?: Error, @@ -14152,7 +14237,7 @@ } interface PerformanceObserverCallback { -@@ -43184,7 +43515,7 @@ interface PositionErrorCallback { +@@ -42697,7 +43028,7 @@ interface PositionErrorCallback { (positionError: GeolocationPositionError): void; } @@ -14161,7 +14246,7 @@ (chunk: T): number; } -@@ -43201,11 +43532,11 @@ interface RemotePlaybackAvailabilityCallback { +@@ -42714,11 +43045,11 @@ interface RemotePlaybackAvailabilityCallback { } interface ReportingObserverCallback { @@ -14175,7 +14260,7 @@ } interface TransformerFlushCallback { -@@ -43213,7 +43544,7 @@ interface TransformerFlushCallback { +@@ -42726,7 +43057,7 @@ interface TransformerFlushCallback { } interface TransformerStartCallback { @@ -14184,7 +14269,7 @@ } interface TransformerTransformCallback { -@@ -43224,7 +43555,7 @@ interface TransformerTransformCallback { +@@ -42737,7 +43068,7 @@ interface TransformerTransformCallback { } interface UnderlyingSinkAbortCallback { @@ -14193,7 +14278,7 @@ } interface UnderlyingSinkCloseCallback { -@@ -43232,7 +43563,7 @@ interface UnderlyingSinkCloseCallback { +@@ -42745,7 +43076,7 @@ interface UnderlyingSinkCloseCallback { } interface UnderlyingSinkStartCallback { @@ -14202,7 +14287,7 @@ } interface UnderlyingSinkWriteCallback { -@@ -43243,7 +43574,7 @@ interface UnderlyingSinkWriteCallback { +@@ -42756,7 +43087,7 @@ interface UnderlyingSinkWriteCallback { } interface UnderlyingSourceCancelCallback { @@ -14211,7 +14296,7 @@ } interface UnderlyingSourcePullCallback { -@@ -43251,7 +43582,7 @@ interface UnderlyingSourcePullCallback { +@@ -42764,11 +43095,11 @@ interface UnderlyingSourcePullCallback { } interface UnderlyingSourceStartCallback { @@ -14219,8 +14304,13 @@ + (controller: ReadableStreamController): unknown; } + interface UpdateCallback { +- (): any; ++ (): unknown; + } + interface VideoFrameOutputCallback { -@@ -43523,16 +43854,16 @@ interface MathMLElementTagNameMap { +@@ -43040,16 +43371,16 @@ interface MathMLElementTagNameMap { type ElementTagNameMap = HTMLElementTagNameMap & Pick< SVGElementTagNameMap, @@ -14241,7 +14331,7 @@ new ( text?: string, value?: string, -@@ -43545,13 +43876,13 @@ declare var Option: { +@@ -43062,13 +43393,13 @@ declare var Option: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator) */ @@ -14257,7 +14347,7 @@ /** * Defines a new custom element, mapping the given name to the given constructor * as an autonomous custom element. -@@ -43559,72 +43890,72 @@ declare var closed: boolean; +@@ -43076,72 +43407,72 @@ declare var closed: boolean; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements) */ @@ -14347,7 +14437,7 @@ | null; /** * Available only in secure contexts. -@@ -43632,8 +43963,8 @@ declare var ondevicemotion: +@@ -43149,8 +43480,8 @@ declare var ondevicemotion: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event) */ @@ -14358,7 +14448,7 @@ | null; /** * Available only in secure contexts. -@@ -43641,8 +43972,8 @@ declare var ondeviceorientation: +@@ -43158,8 +43489,8 @@ declare var ondeviceorientation: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event) */ @@ -14369,7 +14459,7 @@ | null; /** * @deprecated -@@ -43650,35 +43981,37 @@ declare var ondeviceorientationabsolute: +@@ -43167,35 +43498,37 @@ declare var ondeviceorientationabsolute: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event) */ @@ -14414,7 +14504,7 @@ /** * Refers to either the parent WindowProxy, or itself. * -@@ -43687,70 +44020,70 @@ declare var pageYOffset: number; +@@ -43204,70 +43537,70 @@ declare var pageYOffset: number; * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent) */ @@ -14501,10 +14591,10 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ -declare function alert(message?: any): void; +declare function alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ - declare function blur(): void; /** -@@ -43828,12 +44161,12 @@ declare function open( + * @deprecated + * +@@ -43349,12 +43682,12 @@ declare function open( * Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage) */ declare function postMessage( @@ -14520,7 +14610,7 @@ options?: WindowPostMessageOptions, ): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print) */ -@@ -43902,48 +44235,50 @@ declare function requestAnimationFrame(callback: FrameRequestCallback): number; +@@ -43423,48 +43756,50 @@ declare function requestAnimationFrame(callback: FrameRequestCallback): number; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ @@ -14582,7 +14672,7 @@ /** * Fires when the object loses the input focus. * -@@ -43952,12 +44287,12 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; +@@ -43473,12 +43808,12 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ @@ -14590,14 +14680,14 @@ +declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ -declare var oncancel: ((this: Window, ev: Event) => any) | null; +declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. * -@@ -43966,12 +44301,12 @@ declare var oncancel: ((this: Window, ev: Event) => any) | null; +@@ -43487,12 +43822,12 @@ declare var oncancel: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */ @@ -14612,7 +14702,7 @@ /** * Fires when the contents of the object or selection have changed. * -@@ -43980,7 +44315,7 @@ declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; +@@ -43501,7 +43836,7 @@ declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */ @@ -14621,7 +14711,7 @@ /** * Fires when the user clicks the left mouse button on the object * -@@ -43989,12 +44324,12 @@ declare var onchange: ((this: Window, ev: Event) => any) | null; +@@ -43510,17 +43845,17 @@ declare var onchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */ @@ -14633,15 +14723,27 @@ */ -declare var onclose: ((this: Window, ev: Event) => any) | null; +declare const onclose: ((this: Window, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +-declare var oncontextlost: ((this: Window, ev: Event) => any) | null; ++declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. -@@ -44004,19 +44339,19 @@ declare var onclose: ((this: Window, ev: Event) => any) | null; +@@ -43530,24 +43865,24 @@ declare var oncontextlost: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ -declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null; +declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +-declare var oncontextrestored: ((this: Window, ev: Event) => any) | null; ++declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -14660,7 +14762,7 @@ /** * Fires when the user double-clicks the object. * -@@ -44025,7 +44360,7 @@ declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null; +@@ -43556,7 +43891,7 @@ declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */ @@ -14669,7 +14771,7 @@ /** * Fires on the source object continuously during a drag operation. * -@@ -44034,7 +44369,7 @@ declare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43565,7 +43900,7 @@ declare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */ @@ -14678,7 +14780,7 @@ /** * Fires on the source object when the user releases the mouse at the close of a * drag operation. -@@ -44044,7 +44379,7 @@ declare var ondrag: ((this: Window, ev: DragEvent) => any) | null; +@@ -43575,7 +43910,7 @@ declare var ondrag: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */ @@ -14687,7 +14789,7 @@ /** * Fires on the target element when the user drags the object to a valid drop * target. -@@ -44054,7 +44389,7 @@ declare var ondragend: ((this: Window, ev: DragEvent) => any) | null; +@@ -43585,7 +43920,7 @@ declare var ondragend: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */ @@ -14696,7 +14798,7 @@ /** * Fires on the target object when the user moves the mouse out of a valid drop * target during a drag operation. -@@ -44064,7 +44399,7 @@ declare var ondragenter: ((this: Window, ev: DragEvent) => any) | null; +@@ -43595,7 +43930,7 @@ declare var ondragenter: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */ @@ -14705,7 +14807,7 @@ /** * Fires on the target element continuously while the user drags the object over * a valid drop target. -@@ -44074,7 +44409,7 @@ declare var ondragleave: ((this: Window, ev: DragEvent) => any) | null; +@@ -43605,7 +43940,7 @@ declare var ondragleave: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */ @@ -14714,7 +14816,7 @@ /** * Fires on the source object when the user starts to drag a text selection or * selected object. -@@ -44084,12 +44419,12 @@ declare var ondragover: ((this: Window, ev: DragEvent) => any) | null; +@@ -43615,12 +43950,12 @@ declare var ondragover: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */ @@ -14729,7 +14831,7 @@ /** * Occurs when the duration attribute is updated. * -@@ -44098,7 +44433,7 @@ declare var ondrop: ((this: Window, ev: DragEvent) => any) | null; +@@ -43629,7 +43964,7 @@ declare var ondrop: ((this: Window, ev: DragEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */ @@ -14738,7 +14840,7 @@ /** * Occurs when the media element is reset to its initial state. * -@@ -44107,7 +44442,7 @@ declare var ondurationchange: ((this: Window, ev: Event) => any) | null; +@@ -43638,7 +43973,7 @@ declare var ondurationchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */ @@ -14747,7 +14849,7 @@ /** * Occurs when the end of playback is reached. * -@@ -44116,7 +44451,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null; +@@ -43647,7 +43982,7 @@ declare var onemptied: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */ @@ -14756,7 +14858,7 @@ /** * Fires when an error occurs during object loading. * -@@ -44125,7 +44460,7 @@ declare var onended: ((this: Window, ev: Event) => any) | null; +@@ -43656,7 +43991,7 @@ declare var onended: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */ @@ -14765,7 +14867,7 @@ /** * Fires when the object receives focus. * -@@ -44134,29 +44469,29 @@ declare var onerror: OnErrorEventHandler; +@@ -43665,29 +44000,29 @@ declare var onerror: OnErrorEventHandler; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */ @@ -14801,7 +14903,7 @@ /** * Fires when the user presses a key. * -@@ -44165,7 +44500,7 @@ declare var oninvalid: ((this: Window, ev: Event) => any) | null; +@@ -43696,7 +44031,7 @@ declare var oninvalid: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */ @@ -14810,7 +14912,7 @@ /** * Fires when the user presses an alphanumeric key. * -@@ -44175,7 +44510,7 @@ declare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43706,7 +44041,7 @@ declare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event) * @param ev The event. */ @@ -14819,7 +14921,7 @@ /** * Fires when the user releases a key. * -@@ -44184,7 +44519,7 @@ declare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43715,7 +44050,7 @@ declare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */ @@ -14828,7 +14930,7 @@ /** * Fires immediately after the browser loads the object. * -@@ -44193,7 +44528,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; +@@ -43724,7 +44059,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event) */ @@ -14837,7 +14939,7 @@ /** * Occurs when media data is loaded at the current playback position. * -@@ -44202,7 +44537,7 @@ declare var onload: ((this: Window, ev: Event) => any) | null; +@@ -43733,7 +44068,7 @@ declare var onload: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */ @@ -14846,7 +14948,7 @@ /** * Occurs when the duration and dimensions of the media have been determined. * -@@ -44211,7 +44546,7 @@ declare var onloadeddata: ((this: Window, ev: Event) => any) | null; +@@ -43742,7 +44077,7 @@ declare var onloadeddata: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */ @@ -14855,7 +14957,7 @@ /** * Occurs when Internet Explorer begins looking for media data. * -@@ -44220,13 +44555,13 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; +@@ -43751,13 +44086,13 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ @@ -14863,7 +14965,7 @@ +declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ -declare var onlostpointercapture: - | ((this: Window, ev: PointerEvent) => any) @@ -14872,7 +14974,7 @@ | null; /** * Fires when the user clicks the object with either mouse button. -@@ -44236,17 +44571,17 @@ declare var onlostpointercapture: +@@ -43767,17 +44102,17 @@ declare var onlostpointercapture: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */ @@ -14893,7 +14995,7 @@ /** * Fires when the user moves the mouse over the object. * -@@ -44255,7 +44590,7 @@ declare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43786,7 +44121,7 @@ declare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */ @@ -14902,7 +15004,7 @@ /** * Fires when the user moves the mouse pointer outside the boundaries of the * object. -@@ -44265,7 +44600,7 @@ declare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43796,7 +44131,7 @@ declare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */ @@ -14911,7 +15013,7 @@ /** * Fires when the user moves the mouse pointer into the object. * -@@ -44274,7 +44609,7 @@ declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43805,7 +44140,7 @@ declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */ @@ -14920,7 +15022,7 @@ /** * Fires when the user releases a mouse button while the mouse is over the * object. -@@ -44284,12 +44619,12 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; +@@ -43815,12 +44150,12 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */ @@ -14935,7 +15037,7 @@ /** * Occurs when playback is paused. * -@@ -44298,7 +44633,7 @@ declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null; +@@ -43829,7 +44164,7 @@ declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */ @@ -14944,7 +15046,7 @@ /** * Occurs when the play method is requested. * -@@ -44307,7 +44642,7 @@ declare var onpause: ((this: Window, ev: Event) => any) | null; +@@ -43838,7 +44173,7 @@ declare var onpause: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */ @@ -14953,7 +15055,7 @@ /** * Occurs when the audio or video has started playing. * -@@ -44316,47 +44651,61 @@ declare var onplay: ((this: Window, ev: Event) => any) | null; +@@ -43847,47 +44182,61 @@ declare var onplay: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */ @@ -15024,7 +15126,7 @@ /** * Occurs to indicate progress while downloading media data. * -@@ -44365,7 +44714,7 @@ declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null; +@@ -43896,7 +44245,7 @@ declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */ @@ -15033,7 +15135,7 @@ /** * Occurs when the playback rate is increased or decreased. * -@@ -44374,7 +44723,7 @@ declare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null; +@@ -43905,7 +44254,7 @@ declare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */ @@ -15042,7 +15144,7 @@ /** * Fires when the user resets a form. * -@@ -44383,12 +44732,12 @@ declare var onratechange: ((this: Window, ev: Event) => any) | null; +@@ -43914,12 +44263,12 @@ declare var onratechange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */ @@ -15057,7 +15159,7 @@ /** * Fires when the user repositions the scroll box in the scroll bar on the * object. -@@ -44398,18 +44747,18 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null; +@@ -43929,18 +44278,18 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */ @@ -15080,7 +15182,7 @@ | null; /** * Occurs when the seek operation ends. -@@ -44419,7 +44768,7 @@ declare var onsecuritypolicyviolation: +@@ -43950,7 +44299,7 @@ declare var onsecuritypolicyviolation: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */ @@ -15089,7 +15191,7 @@ /** * Occurs when the current playback position is moved. * -@@ -44428,7 +44777,7 @@ declare var onseeked: ((this: Window, ev: Event) => any) | null; +@@ -43959,7 +44308,7 @@ declare var onseeked: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */ @@ -15098,7 +15200,7 @@ /** * Fires when the current selection changes. * -@@ -44437,22 +44786,22 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null; +@@ -43968,22 +44317,22 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */ @@ -15125,7 +15227,7 @@ /** * Occurs when the download has stopped. * -@@ -44461,12 +44810,12 @@ declare var onslotchange: ((this: Window, ev: Event) => any) | null; +@@ -43992,12 +44341,12 @@ declare var onslotchange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */ @@ -15140,7 +15242,7 @@ /** * Occurs if the load operation has been intentionally halted. * -@@ -44475,7 +44824,7 @@ declare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null; +@@ -44006,7 +44355,7 @@ declare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */ @@ -15149,7 +15251,7 @@ /** * Occurs to indicate the current playback position. * -@@ -44484,71 +44833,71 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null; +@@ -44015,71 +44364,71 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */ @@ -15239,7 +15341,7 @@ | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. -@@ -44558,7 +44907,7 @@ declare var ontransitionstart: +@@ -44089,7 +44438,7 @@ declare var ontransitionstart: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */ @@ -15248,7 +15350,7 @@ /** * Occurs when playback stops because the next frame of a video resource is not * available. -@@ -44568,22 +44917,24 @@ declare var onvolumechange: ((this: Window, ev: Event) => any) | null; +@@ -44099,22 +44448,24 @@ declare var onvolumechange: ((this: Window, ev: Event) => any) | null; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */ @@ -15277,7 +15379,7 @@ | null; /** * @deprecated This is a legacy alias of `onanimationstart`. -@@ -44591,113 +44942,125 @@ declare var onwebkitanimationiteration: +@@ -44122,113 +44473,125 @@ declare var onwebkitanimationiteration: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */ @@ -15428,7 +15530,7 @@ | null; /** * @deprecated -@@ -44705,36 +45068,36 @@ declare var onunhandledrejection: +@@ -44236,39 +44599,39 @@ declare var onunhandledrejection: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */ @@ -15443,38 +15545,41 @@ /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ -declare var caches: CacheStorage; +declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ -declare var crossOriginIsolated: boolean; +declare const crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ -declare var crypto: Crypto; +declare const crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ -declare var indexedDB: IDBFactory; +declare const indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ -declare var isSecureContext: boolean; +declare const isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ -declare var origin: string; +declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ -declare var performance: Performance; +declare const performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ -@@ -44764,21 +45127,21 @@ declare function fetch( + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ +@@ -44298,21 +44661,21 @@ declare function fetch( /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -15500,7 +15605,7 @@ value: T, options?: StructuredSerializeOptions, ): T; -@@ -44786,10 +45149,10 @@ declare function structuredClone( +@@ -44320,10 +44683,10 @@ declare function structuredClone( * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */ @@ -15513,7 +15618,7 @@ options?: boolean | AddEventListenerOptions, ): void; declare function addEventListener( -@@ -44799,7 +45162,7 @@ declare function addEventListener( +@@ -44333,7 +44696,7 @@ declare function addEventListener( ): void; declare function removeEventListener( type: K, @@ -15522,7 +15627,7 @@ options?: boolean | EventListenerOptions, ): void; declare function removeEventListener( -@@ -44834,16 +45197,19 @@ type CanvasImageSource = +@@ -44368,16 +44731,19 @@ type CanvasImageSource = | OffscreenCanvas | VideoFrame; type ClipboardItemData = Promise; @@ -15545,7 +15650,7 @@ type FormDataEntryValue = File | string; type GLbitfield = number; type GLboolean = boolean; -@@ -44860,10 +45226,18 @@ type GLuint64 = number; +@@ -44394,10 +44760,18 @@ type GLuint64 = number; type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement; type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement; type HashAlgorithmIdentifier = AlgorithmIdentifier; @@ -15567,7 +15672,7 @@ type LineAndPositionSetting = number | AutoKeyword; type MediaProvider = MediaStream | MediaSource | Blob; type MessageEventSource = WindowProxy | MessagePort | ServiceWorker; -@@ -44878,7 +45252,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null; +@@ -44412,7 +44786,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null; type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; type OptionalPostfixToken = ` ${T}` | ''; type OptionalPrefixToken = `${T} ` | ''; @@ -15576,7 +15681,7 @@ type RTCRtpTransform = RTCRtpScriptTransform; type ReadableStreamController = | ReadableStreamDefaultController -@@ -44894,7 +45268,7 @@ type RenderingContext = +@@ -44428,7 +44802,7 @@ type RenderingContext = | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext; @@ -15585,7 +15690,7 @@ type RequestInfo = Request | string; type TexImageSource = | ImageBitmap -@@ -44914,8 +45288,8 @@ type Transferable = +@@ -44449,8 +44823,8 @@ type Transferable = | TransformStream | VideoFrame | ArrayBuffer; diff --git a/packages/strict-ts-lib/output/diff/lib.dom.iterable.diff b/packages/strict-ts-lib/output/diff/lib.dom.iterable.diff index 65656f95f4..dacae53437 100644 --- a/packages/strict-ts-lib/output/diff/lib.dom.iterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.dom.iterable.diff @@ -19,91 +19,88 @@ ///////////////////////////// /// Window Iterable APIs -@@ -59,7 +45,7 @@ interface CSSKeyframesRule { +@@ -67,7 +53,7 @@ interface CSSKeyframesRule { interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSNumericValue]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSNumericValue]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } -@@ -74,14 +60,14 @@ interface CSSStyleDeclaration { +@@ -82,14 +68,14 @@ interface CSSStyleDeclaration { interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSTransformComponent]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSTransformComponent]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSUnparsedSegment]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSUnparsedSegment]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } -@@ -123,7 +109,7 @@ interface DOMStringList { +@@ -133,7 +119,7 @@ interface DOMStringList { interface DOMTokenList { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, string]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, string]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; + } +@@ -156,9 +142,9 @@ interface FormDataIterator } -@@ -141,9 +127,9 @@ interface FileList { - interface FontFaceSet extends Set {} interface FormData { -- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; ++ [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[string, FormDataEntryValue]>; -+ entries(): IterableIterator; +- entries(): FormDataIterator<[string, FormDataEntryValue]>; ++ entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ -@@ -171,12 +157,12 @@ interface HTMLSelectElement { +@@ -191,12 +177,12 @@ interface HeadersIterator } interface Headers { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): HeadersIterator<[string, string]>; ++ [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): HeadersIterator<[string, string]>; ++ entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. -@@ -238,8 +224,10 @@ interface MIDIOutput { - interface MIDIOutputMap extends ReadonlyMap {} +@@ -264,9 +250,9 @@ interface MediaKeyStatusMapIterator interface MediaKeyStatusMap { -- [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>; -- entries(): IterableIterator<[BufferSource, MediaKeyStatus]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< +- [BufferSource, MediaKeyStatus] + readonly [BufferSource, MediaKeyStatus] -+ >; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + >; +- entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; ++ entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } -@@ -248,7 +236,7 @@ interface MediaList { - [Symbol.iterator](): IterableIterator; +@@ -275,13 +261,13 @@ interface MediaList { + [Symbol.iterator](): ArrayIterator; } -interface MessageEvent { +interface MessageEvent { - /** - * @deprecated - * -@@ -259,7 +247,7 @@ interface MessageEvent { + /** @deprecated */ + initMessageEvent( type: string, bubbles?: boolean, cancelable?: boolean, @@ -112,59 +109,59 @@ origin?: string, lastEventId?: string, source?: MessageEventSource | null, -@@ -296,7 +284,7 @@ interface Navigator { +@@ -318,7 +304,7 @@ interface Navigator { interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[number, Node]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, Node]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ -@@ -306,7 +294,7 @@ interface NodeList { +@@ -328,7 +314,7 @@ interface NodeList { interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[number, TNode]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, TNode]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ -@@ -329,7 +317,7 @@ interface RTCRtpTransceiver { - setCodecPreferences(codecs: Iterable): void; +@@ -351,7 +337,7 @@ interface RTCRtpTransceiver { + setCodecPreferences(codecs: Iterable): void; } -interface RTCStatsReport extends ReadonlyMap {} +interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; -@@ -364,8 +352,10 @@ interface SpeechRecognitionResultList { - } + [Symbol.iterator](): ArrayIterator; +@@ -392,10 +378,10 @@ interface StylePropertyMapReadOnlyIterator interface StylePropertyMapReadOnly { -- [Symbol.iterator](): IterableIterator<[string, Iterable]>; -- entries(): IterableIterator<[string, Iterable]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< +- [string, Iterable] + readonly [string, Iterable] -+ >; -+ entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; - } -@@ -485,9 +475,9 @@ interface TouchList { + >; + entries(): StylePropertyMapReadOnlyIterator< +- [string, Iterable] ++ readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; +@@ -521,9 +507,9 @@ interface URLSearchParamsIterator } interface URLSearchParams { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; ++ [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): URLSearchParamsIterator<[string, string]>; ++ entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ -@@ -603,7 +593,7 @@ interface WebGL2RenderingContextBase { +@@ -639,7 +625,7 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformIndices: Iterable, pname: GLenum, diff --git a/packages/strict-ts-lib/output/diff/lib.es2015.core.diff b/packages/strict-ts-lib/output/diff/lib.es2015.core.diff index 414bdf8e8c..f962a35335 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2015.core.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2015.core.diff @@ -47,7 +47,16 @@ ): number; /** -@@ -98,7 +84,7 @@ interface ArrayConstructor { +@@ -80,7 +66,7 @@ interface Array { + copyWithin(target: number, start: number, end?: number): this; + + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; + } +@@ -103,7 +89,7 @@ interface ArrayConstructor { from( arrayLike: ArrayLike, mapfn: (v: T, k: number) => U, @@ -56,7 +65,7 @@ ): U[]; /** -@@ -106,7 +92,7 @@ interface ArrayConstructor { +@@ -111,7 +97,7 @@ interface ArrayConstructor { * * @param items A set of elements to include in the new array object. */ @@ -65,7 +74,7 @@ } interface DateConstructor { -@@ -128,7 +114,7 @@ interface Math { +@@ -133,7 +119,7 @@ interface Math { * * @param x A numeric expression. */ @@ -74,7 +83,7 @@ /** * Returns the result of 32-bit multiplication of two numbers. -@@ -227,7 +213,7 @@ interface Math { +@@ -232,7 +218,7 @@ interface Math { * is +Infinity. If any argument is NaN, the result is NaN. If all arguments * are either +0 or −0, the result is +0. */ @@ -83,7 +92,7 @@ /** * Returns the integral part of the a numeric expression, x, removing any -@@ -268,14 +254,14 @@ interface NumberConstructor { +@@ -273,14 +259,14 @@ interface NumberConstructor { * * @param number A numeric value. */ @@ -100,7 +109,7 @@ /** * Returns a Boolean value that indicates whether a value is the reserved -@@ -285,14 +271,14 @@ interface NumberConstructor { +@@ -290,14 +276,14 @@ interface NumberConstructor { * * @param number A numeric value. */ @@ -117,7 +126,7 @@ /** * The value of the largest integer n such that n and n + 1 are both exactly -@@ -324,7 +310,7 @@ interface NumberConstructor { +@@ -329,7 +315,7 @@ interface NumberConstructor { * '0x' are considered hexadecimal. All other strings are considered * decimal. */ @@ -126,7 +135,7 @@ } interface ObjectConstructor { -@@ -370,14 +356,14 @@ interface ObjectConstructor { +@@ -375,14 +361,14 @@ interface ObjectConstructor { * @param target The target object to copy to. * @param sources One or more source objects from which to copy properties */ @@ -143,7 +152,7 @@ /** * Returns the names of the enumerable string properties and methods of an -@@ -387,7 +373,7 @@ interface ObjectConstructor { +@@ -392,7 +378,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. */ @@ -152,7 +161,7 @@ /** * Returns true if the values are the same value, false otherwise. -@@ -395,7 +381,7 @@ interface ObjectConstructor { +@@ -400,7 +386,7 @@ interface ObjectConstructor { * @param value1 The first value. * @param value2 The second value. */ @@ -161,7 +170,7 @@ /** * Sets the prototype of a specified object o to object proto or null. Returns -@@ -404,7 +390,7 @@ interface ObjectConstructor { +@@ -409,7 +395,7 @@ interface ObjectConstructor { * @param o The object to change its prototype. * @param proto The value of the new prototype or null. */ @@ -170,7 +179,7 @@ } interface ReadonlyArray { -@@ -422,11 +408,11 @@ interface ReadonlyArray { +@@ -427,11 +413,11 @@ interface ReadonlyArray { */ find( predicate: (value: T, index: number, obj: readonly T[]) => value is S, @@ -185,7 +194,7 @@ ): T | undefined; /** -@@ -442,8 +428,8 @@ interface ReadonlyArray { +@@ -447,12 +433,12 @@ interface ReadonlyArray { * instead. */ findIndex( @@ -194,9 +203,14 @@ + predicate: (value: T, index: number, obj: readonly T[]) => boolean, + thisArg?: unknown, ): number; - } -@@ -652,7 +638,7 @@ interface StringConstructor { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; + } +@@ -662,7 +648,7 @@ interface StringConstructor { * Return the String value whose elements are, in order, the elements in the * List elements. If length is 0, the empty string is returned. */ @@ -205,7 +219,7 @@ /** * String.raw is usually used as a tag function of a Tagged Template String. -@@ -666,7 +652,7 @@ interface StringConstructor { +@@ -676,70 +662,70 @@ interface StringConstructor { * @param substitutions A set of substitution values. */ raw( @@ -215,3 +229,75 @@ + ...substitutions: readonly unknown[] ): string; } + + interface Int8Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint8Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint8ClampedArray { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Int16Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint16Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Int32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Uint32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Float32Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } + + interface Float64Array { + toLocaleString( +- locales: string | string[], ++ locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + } diff --git a/packages/strict-ts-lib/output/diff/lib.es2015.generator.diff b/packages/strict-ts-lib/output/diff/lib.es2015.generator.diff index b320f4439c..16b24b54f7 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2015.generator.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2015.generator.diff @@ -20,11 +20,12 @@ -/// +/// - interface Generator - extends Iterator { +-interface Generator ++interface Generator + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): IteratorResult; -+ next(...args: readonly [] | readonly [TNext]): IteratorResult; +- next(...[value]: [] | [TNext]): IteratorResult; ++ next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; - throw(e: any): IteratorResult; + throw(e: unknown): IteratorResult; diff --git a/packages/strict-ts-lib/output/diff/lib.es2015.iterable.diff b/packages/strict-ts-lib/output/diff/lib.es2015.iterable.diff index 0e4812892c..66e94ac586 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2015.iterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2015.iterable.diff @@ -22,7 +22,7 @@ interface SymbolConstructor { /** -@@ -26,13 +12,13 @@ interface SymbolConstructor { +@@ -26,32 +12,32 @@ interface SymbolConstructor { } interface IteratorYieldResult { @@ -40,28 +40,48 @@ } type IteratorResult = -@@ -41,9 +27,9 @@ type IteratorResult = + | IteratorYieldResult + | IteratorReturnResult; - interface Iterator { +-interface Iterator { ++interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): IteratorResult; -+ next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; - throw?(e?: any): IteratorResult; + throw?(e?: unknown): IteratorResult; } - interface Iterable { -@@ -59,7 +45,7 @@ interface Array { - [Symbol.iterator](): IterableIterator; +-interface Iterable { ++interface Iterable { + [Symbol.iterator](): Iterator; + } + + /** Describes a user-defined {@link Iterator} that is also iterable. */ +-interface IterableIterator ++interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; + } +@@ -60,7 +46,7 @@ interface IterableIterator + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +-interface IteratorObject ++interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; + } +@@ -82,7 +68,7 @@ interface Array { + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, T]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, T]>; ++ entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; -@@ -86,7 +72,7 @@ interface ArrayConstructor { + keys(): ArrayIterator; +@@ -109,7 +95,7 @@ interface ArrayConstructor { from( iterable: Iterable | ArrayLike, mapfn: (v: T, k: number) => U, @@ -70,48 +90,51 @@ ): U[]; } -@@ -95,7 +81,7 @@ interface ReadonlyArray { - [Symbol.iterator](): IterableIterator; +@@ -118,7 +104,7 @@ interface ReadonlyArray { + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, T]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, T]>; ++ entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; -@@ -106,15 +92,15 @@ interface ReadonlyArray { + keys(): ArrayIterator; +@@ -129,7 +115,7 @@ interface ReadonlyArray { interface IArguments { /** Iterator */ -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; } + interface MapIterator +@@ -139,10 +125,10 @@ interface MapIterator + interface Map { /** Returns an iterable of entries in the map. */ -- [Symbol.iterator](): IterableIterator<[K, V]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): MapIterator<[K, V]>; ++ [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ -- entries(): IterableIterator<[K, V]>; -+ entries(): IterableIterator; +- entries(): MapIterator<[K, V]>; ++ entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; -@@ -125,10 +111,10 @@ interface Map { + keys(): MapIterator; +@@ -153,10 +139,10 @@ interface Map { interface ReadonlyMap { /** Returns an iterable of entries in the map. */ -- [Symbol.iterator](): IterableIterator<[K, V]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): MapIterator<[K, V]>; ++ [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ -- entries(): IterableIterator<[K, V]>; -+ entries(): IterableIterator; +- entries(): MapIterator<[K, V]>; ++ entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; -@@ -138,7 +124,7 @@ interface ReadonlyMap { + keys(): MapIterator; +@@ -166,7 +152,7 @@ interface ReadonlyMap { } interface MapConstructor { @@ -120,28 +143,25 @@ new (iterable?: Iterable | null): Map; } -@@ -153,8 +139,10 @@ interface WeakMapConstructor { - interface Set { +@@ -187,7 +173,7 @@ interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; -+ + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ -- entries(): IterableIterator<[T, T]>; -+ entries(): IterableIterator; -+ +- entries(): SetIterator<[T, T]>; ++ entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; -@@ -167,7 +155,7 @@ interface ReadonlySet { - [Symbol.iterator](): IterableIterator; +@@ -200,7 +186,7 @@ interface ReadonlySet { + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ -- entries(): IterableIterator<[T, T]>; -+ entries(): IterableIterator; +- entries(): SetIterator<[T, T]>; ++ entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; -@@ -177,6 +165,7 @@ interface ReadonlySet { + keys(): SetIterator; +@@ -210,6 +196,7 @@ interface ReadonlySet { } interface SetConstructor { @@ -149,26 +169,24 @@ new (iterable?: Iterable | null): Set; } -@@ -214,13 +203,15 @@ interface String { +@@ -252,13 +239,13 @@ interface String { } interface Int8Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Int8ArrayConstructor { -@@ -233,21 +224,23 @@ interface Int8ArrayConstructor { +@@ -271,21 +258,21 @@ interface Int8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -184,22 +202,20 @@ } interface Uint8Array { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint8ArrayConstructor { -@@ -260,23 +253,23 @@ interface Uint8ArrayConstructor { +@@ -298,23 +285,23 @@ interface Uint8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -215,22 +231,22 @@ } interface Uint8ClampedArray { -- [Symbol.iterator](): IterableIterator; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): ArrayIterator; ++ [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ -- values(): IterableIterator; -+ values(): IterableIterator; +- values(): ArrayIterator; ++ values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { -@@ -289,17 +282,17 @@ interface Uint8ClampedArrayConstructor { +@@ -327,17 +314,17 @@ interface Uint8ClampedArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -246,14 +262,14 @@ } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -@@ -318,19 +311,21 @@ interface Int16ArrayConstructor { + keys(): ArrayIterator; +@@ -356,17 +343,17 @@ interface Int16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -269,18 +285,14 @@ } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; - } -@@ -345,19 +340,21 @@ interface Uint16ArrayConstructor { +@@ -383,17 +370,17 @@ interface Uint16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -296,18 +308,14 @@ } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; - } -@@ -372,19 +369,21 @@ interface Int32ArrayConstructor { +@@ -410,17 +397,17 @@ interface Int32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -323,18 +331,14 @@ } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; - } -@@ -399,19 +398,21 @@ interface Uint32ArrayConstructor { +@@ -437,17 +424,17 @@ interface Uint32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -350,18 +354,14 @@ } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; - } -@@ -426,19 +427,21 @@ interface Float32ArrayConstructor { +@@ -464,17 +451,17 @@ interface Float32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ @@ -377,18 +377,14 @@ } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ -- entries(): IterableIterator<[number, number]>; -+ entries(): IterableIterator; -+ +- entries(): ArrayIterator<[number, number]>; ++ entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; -+ + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; - } -@@ -453,9 +456,9 @@ interface Float64ArrayConstructor { +@@ -491,9 +478,9 @@ interface Float64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ diff --git a/packages/strict-ts-lib/output/diff/lib.es2017.object.diff b/packages/strict-ts-lib/output/diff/lib.es2017.object.diff index ccf0a5f313..e0a66e04c3 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2017.object.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2017.object.diff @@ -53,7 +53,7 @@ + values(o: { readonly [s: string]: T } | ArrayLike): T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object @@ -32,7 +46,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. @@ -62,8 +62,8 @@ + values(o: {}): unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object -@@ -40,8 +54,21 @@ interface ObjectConstructor { + * Returns an array of key/values of the enumerable own properties of an +@@ -41,8 +55,21 @@ interface ObjectConstructor { * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) * object. @@ -85,8 +85,8 @@ + ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object -@@ -50,7 +77,7 @@ interface ObjectConstructor { + * Returns an array of key/values of the enumerable own properties of an +@@ -52,7 +79,7 @@ interface ObjectConstructor { * object that you created or an existing Document Object Model (DOM) * object. */ diff --git a/packages/strict-ts-lib/output/diff/lib.es2018.asyncgenerator.diff b/packages/strict-ts-lib/output/diff/lib.es2018.asyncgenerator.diff index cfa6c04f18..c05d757d08 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2018.asyncgenerator.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2018.asyncgenerator.diff @@ -20,12 +20,13 @@ -/// +/// - interface AsyncGenerator - extends AsyncIterator { +-interface AsyncGenerator ++interface AsyncGenerator + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): Promise>; +- next(...[value]: [] | [TNext]): Promise>; + next( -+ ...args: readonly [] | readonly [TNext] ++ ...[value]: readonly [] | readonly [TNext] + ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output/diff/lib.es2018.asynciterable.diff b/packages/strict-ts-lib/output/diff/lib.es2018.asynciterable.diff index 7ce9828f01..9e4d726f42 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2018.asynciterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2018.asynciterable.diff @@ -24,13 +24,16 @@ interface SymbolConstructor { /** -@@ -28,11 +14,13 @@ interface SymbolConstructor { +@@ -26,21 +12,23 @@ interface SymbolConstructor { + readonly asyncIterator: unique symbol; + } - interface AsyncIterator { +-interface AsyncIterator { ++interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. -- next(...args: [] | [TNext]): Promise>; +- next(...[value]: [] | [TNext]): Promise>; + next( -+ ...args: readonly [] | readonly [TNext] ++ ...[value]: readonly [] | readonly [TNext] + ): Promise>; return?( value?: TReturn | PromiseLike, @@ -39,4 +42,23 @@ + throw?(e?: unknown): Promise>; } - interface AsyncIterable { +-interface AsyncIterable { ++interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; + } + + /** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +-interface AsyncIterableIterator ++interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; + } +@@ -49,7 +37,7 @@ interface AsyncIterableIterator + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +-interface AsyncIteratorObject ++interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; + } diff --git a/packages/strict-ts-lib/output/diff/lib.es2018.intl.diff b/packages/strict-ts-lib/output/diff/lib.es2018.intl.diff index 2b027b9650..3da4f7bda9 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2018.intl.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2018.intl.diff @@ -59,7 +59,7 @@ } interface PluralRules { -@@ -57,7 +43,7 @@ declare namespace Intl { +@@ -57,32 +43,32 @@ declare namespace Intl { ): PluralRules; supportedLocalesOf( locales: string | readonly string[], @@ -68,8 +68,36 @@ ): string[]; } -@@ -92,8 +78,8 @@ declare namespace Intl { - | ES2020NumberFormatPartType; + const PluralRules: PluralRulesConstructor; + + interface NumberFormatPartTypeRegistry { +- literal: never; +- nan: never; +- infinity: never; +- percent: never; +- integer: never; +- group: never; +- decimal: never; +- fraction: never; +- plusSign: never; +- minusSign: never; +- percentSign: never; +- currency: never; ++ readonly literal: never; ++ readonly nan: never; ++ readonly infinity: never; ++ readonly percent: never; ++ readonly integer: never; ++ readonly group: never; ++ readonly decimal: never; ++ readonly fraction: never; ++ readonly plusSign: never; ++ readonly minusSign: never; ++ readonly percentSign: never; ++ readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { - type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output/diff/lib.es2019.intl.diff b/packages/strict-ts-lib/output/diff/lib.es2019.intl.diff index 4947c2455d..26ce38c8e4 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2019.intl.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2019.intl.diff @@ -19,7 +19,7 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { -- unknown: any; -+ readonly unknown: unknown; +- unknown: never; ++ readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output/diff/lib.es2020.bigint.diff b/packages/strict-ts-lib/output/diff/lib.es2020.bigint.diff index 80f3a6d8b9..84f99407c9 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2020.bigint.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2020.bigint.diff @@ -279,8 +279,8 @@ copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ -- entries(): IterableIterator<[number, bigint]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, bigint]>; ++ entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -349,7 +349,16 @@ ): boolean; /** -@@ -636,14 +517,14 @@ interface BigInt64ArrayConstructor { +@@ -608,7 +489,7 @@ interface BigInt64Array { + + /** Converts the array to a string by using the current locale. */ + toLocaleString( +- locales?: string | string[], ++ locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + +@@ -639,14 +520,14 @@ interface BigInt64ArrayConstructor { ): BigInt64Array; /** The size in bytes of each element in the array. */ @@ -366,7 +375,7 @@ /** * Creates an array from an array-like or iterable object. -@@ -656,11 +537,11 @@ interface BigInt64ArrayConstructor { +@@ -659,11 +540,11 @@ interface BigInt64ArrayConstructor { from( arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, @@ -380,7 +389,7 @@ /** * A typed array of 64-bit unsigned integer values. The contents are initialized -@@ -669,7 +550,7 @@ declare var BigInt64Array: BigInt64ArrayConstructor; +@@ -672,7 +553,7 @@ declare var BigInt64Array: BigInt64ArrayConstructor; */ interface BigUint64Array { /** The size in bytes of each element in the array. */ @@ -389,16 +398,16 @@ /** The ArrayBuffer instance referenced by the array. */ readonly buffer: ArrayBufferLike; -@@ -694,7 +575,7 @@ interface BigUint64Array { +@@ -697,7 +578,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ -- entries(): IterableIterator<[number, bigint]>; -+ entries(): IterableIterator; +- entries(): ArrayIterator<[number, bigint]>; ++ entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. -@@ -708,7 +589,7 @@ interface BigUint64Array { +@@ -711,7 +592,7 @@ interface BigUint64Array { */ every( predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, @@ -407,7 +416,7 @@ ): boolean; /** -@@ -735,8 +616,8 @@ interface BigUint64Array { +@@ -738,8 +619,8 @@ interface BigUint64Array { * value. */ filter( @@ -418,7 +427,7 @@ ): BigUint64Array; /** -@@ -753,7 +634,7 @@ interface BigUint64Array { +@@ -756,7 +637,7 @@ interface BigUint64Array { */ find( predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, @@ -427,7 +436,7 @@ ): bigint | undefined; /** -@@ -770,7 +651,7 @@ interface BigUint64Array { +@@ -773,7 +654,7 @@ interface BigUint64Array { */ findIndex( predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, @@ -436,7 +445,7 @@ ): number; /** -@@ -784,7 +665,7 @@ interface BigUint64Array { +@@ -787,7 +668,7 @@ interface BigUint64Array { */ forEach( callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, @@ -445,7 +454,7 @@ ): void; /** -@@ -844,7 +725,7 @@ interface BigUint64Array { +@@ -847,7 +728,7 @@ interface BigUint64Array { */ map( callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, @@ -454,7 +463,7 @@ ): BigUint64Array; /** -@@ -968,7 +849,7 @@ interface BigUint64Array { +@@ -971,7 +852,7 @@ interface BigUint64Array { */ some( predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, @@ -463,7 +472,16 @@ ): boolean; /** -@@ -1018,14 +899,14 @@ interface BigUint64ArrayConstructor { +@@ -993,7 +874,7 @@ interface BigUint64Array { + + /** Converts the array to a string by using the current locale. */ + toLocaleString( +- locales?: string | string[], ++ locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; + +@@ -1024,14 +905,14 @@ interface BigUint64ArrayConstructor { ): BigUint64Array; /** The size in bytes of each element in the array. */ @@ -480,7 +498,7 @@ /** * Creates an array from an array-like or iterable object. -@@ -1038,11 +919,11 @@ interface BigUint64ArrayConstructor { +@@ -1044,11 +925,11 @@ interface BigUint64ArrayConstructor { from( arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, diff --git a/packages/strict-ts-lib/output/diff/lib.es2020.intl.diff b/packages/strict-ts-lib/output/diff/lib.es2020.intl.diff index 0d81d7310a..cad481d753 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2020.intl.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2020.intl.diff @@ -71,12 +71,38 @@ }; interface RelativeTimeFormat { -@@ -267,38 +253,43 @@ declare namespace Intl { +@@ -267,64 +253,64 @@ declare namespace Intl { }; + interface NumberFormatOptionsStyleRegistry { +- unit: never; ++ readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { +- narrowSymbol: never; ++ readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { +- auto: never; +- never: never; +- always: never; +- exceptZero: never; ++ readonly auto: never; ++ readonly never: never; ++ readonly always: never; ++ readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { +- numberingSystem?: string | undefined; - compactDisplay?: 'short' | 'long' | undefined; - notation?: ++ readonly numberingSystem?: string | undefined; + readonly compactDisplay?: 'short' | 'long' | undefined; + readonly notation?: | 'standard' @@ -84,38 +110,44 @@ | 'engineering' | 'compact' | undefined; -- signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' | undefined; +- signDisplay?: NumberFormatOptionsSignDisplay | undefined; - unit?: string | undefined; - unitDisplay?: 'short' | 'long' | 'narrow' | undefined; -- currencyDisplay?: string | undefined; -- currencySign?: string | undefined; -+ readonly signDisplay?: -+ | 'auto' -+ | 'never' -+ | 'always' -+ | 'exceptZero' -+ | undefined; +- currencySign?: 'standard' | 'accounting' | undefined; ++ readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; + readonly unit?: string | undefined; + readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; -+ readonly currencyDisplay?: string | undefined; -+ readonly currencySign?: string | undefined; ++ readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { - compactDisplay?: 'short' | 'long'; -- notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; -- signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; +- notation: 'standard' | 'scientific' | 'engineering' | 'compact'; +- signDisplay: NumberFormatOptionsSignDisplay; - unit?: string; - unitDisplay?: 'short' | 'long' | 'narrow'; -- currencyDisplay?: string; -- currencySign?: string; +- currencySign?: 'standard' | 'accounting'; + readonly compactDisplay?: 'short' | 'long'; -+ readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; -+ readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; ++ readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; ++ readonly signDisplay: NumberFormatOptionsSignDisplay; + readonly unit?: string; + readonly unitDisplay?: 'short' | 'long' | 'narrow'; -+ readonly currencyDisplay?: string; -+ readonly currencySign?: string; ++ readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { +- compact: never; +- exponentInteger: never; +- exponentMinusSign: never; +- exponentSeparator: never; +- unit: never; +- unknown: never; ++ readonly compact: never; ++ readonly exponentInteger: never; ++ readonly exponentMinusSign: never; ++ readonly exponentSeparator: never; ++ readonly unit: never; ++ readonly unknown: never; } interface DateTimeFormatOptions { @@ -135,7 +167,7 @@ } type LocaleHourCycleKey = 'h12' | 'h23' | 'h11' | 'h24'; -@@ -306,44 +297,44 @@ declare namespace Intl { +@@ -332,44 +318,44 @@ declare namespace Intl { interface LocaleOptions { /** A string containing the language, and the script and region if available. */ @@ -192,7 +224,7 @@ /** * Gets the most likely values for the language, script, and region of the * locale based on existing values. -@@ -396,19 +387,19 @@ declare namespace Intl { +@@ -422,19 +408,19 @@ declare namespace Intl { type DisplayNamesLanguageDisplay = 'dialect' | 'standard'; interface DisplayNamesOptions { @@ -222,7 +254,7 @@ } interface DisplayNames { -@@ -459,7 +450,7 @@ declare namespace Intl { +@@ -485,7 +471,7 @@ declare namespace Intl { * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). */ const DisplayNames: { @@ -231,7 +263,7 @@ /** * @param locales A string with a BCP 47 language tag, or an array of such -@@ -492,7 +483,7 @@ declare namespace Intl { +@@ -518,7 +504,7 @@ declare namespace Intl { */ supportedLocalesOf( locales?: LocalesArgument, @@ -240,7 +272,7 @@ ): UnicodeBCP47LocaleIdentifier[]; }; -@@ -538,7 +529,7 @@ declare namespace Intl { +@@ -564,7 +550,7 @@ declare namespace Intl { supportedLocalesOf( locales: LocalesArgument, diff --git a/packages/strict-ts-lib/output/diff/lib.es2020.string.diff b/packages/strict-ts-lib/output/diff/lib.es2020.string.diff index 368f2fc9f8..17d50ac0e4 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2020.string.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2020.string.diff @@ -17,8 +17,8 @@ /// +/// --/// -+/// +-/// ++/// interface String { /** diff --git a/packages/strict-ts-lib/output/diff/lib.es2022.intl.diff b/packages/strict-ts-lib/output/diff/lib.es2022.intl.diff index 26cbc656aa..9f85c01c54 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2022.intl.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2022.intl.diff @@ -41,8 +41,8 @@ + readonly granularity: 'grapheme' | 'word' | 'sentence'; } - interface Segments { -@@ -68,25 +54,25 @@ declare namespace Intl { + interface SegmentIterator +@@ -73,25 +59,25 @@ declare namespace Intl { interface SegmentData { /** A string containing the segment extracted from the original input string. */ diff --git a/packages/strict-ts-lib/output/diff/lib.es2023.array.diff b/packages/strict-ts-lib/output/diff/lib.es2023.array.diff index 00c2198ef9..95c01e0cae 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2023.array.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2023.array.diff @@ -159,9 +159,8 @@ ): number; - /** Copies the array and returns the copy with the elements in reverse order. */ -- toReversed(): Uint8Array; + /** Returns a copy of an array with its elements reversed. */ -+ toReversed(): Int8Array; + toReversed(): Int8Array; /** - * Copies and sorts the array. @@ -169,17 +168,11 @@ * * @param compareFn Function used to determine the order of the elements. It * is expected to return a negative value if the first argument is less than -@@ -257,21 +240,23 @@ interface Int8Array { - * otherwise. If omitted, the elements are sorted in ascending order. - * - * ```ts -- * const myNums = Uint8Array.from([11, 2, 22, 1]); -- * myNums.toSorted((a, b) => a - b); // Uint8Array(4) [1, 2, 11, 22] -+ * const myNums = Int8Array.from([11, 2, 22, 1]); -+ * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] +@@ -261,17 +244,19 @@ interface Int8Array { + * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] * ``` */ -- toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; +- toSorted(compareFn?: (a: number, b: number) => number): Int8Array; + toSorted(compareFn?: (a: Int8, b: Int8) => number): Int8Array; /** @@ -195,7 +188,7 @@ + * @param value The value to write into the copied array. + * @returns The copied array with the updated value. */ -- with(index: number, value: number): Uint8Array; +- with(index: number, value: number): Int8Array; + with(index: number, value: Int8): Int8Array; } diff --git a/packages/strict-ts-lib/output/diff/lib.es2023.diff b/packages/strict-ts-lib/output/diff/lib.es2023.diff index c0b6e6429b..5dc71e1ba7 100644 --- a/packages/strict-ts-lib/output/diff/lib.es2023.diff +++ b/packages/strict-ts-lib/output/diff/lib.es2023.diff @@ -1,4 +1,4 @@ -@@ -1,20 +1,6 @@ +@@ -1,21 +1,7 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -20,6 +20,8 @@ -/// -/// -/// +-/// +/// +/// +/// ++/// diff --git a/packages/strict-ts-lib/output/diff/lib.es2023.intl.diff b/packages/strict-ts-lib/output/diff/lib.es2023.intl.diff new file mode 100644 index 0000000000..1a84108b2c --- /dev/null +++ b/packages/strict-ts-lib/output/diff/lib.es2023.intl.diff @@ -0,0 +1,94 @@ +@@ -1,34 +1,24 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { +- min2: never; +- auto: never; +- always: never; ++ readonly min2: never; ++ readonly auto: never; ++ readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { +- negative: never; ++ readonly negative: never; + } + + interface NumberFormatOptions { +- roundingPriority?: 'auto' | 'morePrecision' | 'lessPrecision' | undefined; +- roundingIncrement?: ++ readonly roundingPriority?: ++ | 'auto' ++ | 'morePrecision' ++ | 'lessPrecision' ++ | undefined; ++ readonly roundingIncrement?: + | 1 + | 2 + | 5 +@@ -45,7 +35,7 @@ declare namespace Intl { + | 2500 + | 5000 + | undefined; +- roundingMode?: ++ readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' +@@ -56,12 +46,12 @@ declare namespace Intl { + | 'halfTrunc' + | 'halfEven' + | undefined; +- trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; ++ readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { +- roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; +- roundingMode: ++ readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; ++ readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' +@@ -71,7 +61,7 @@ declare namespace Intl { + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; +- roundingIncrement: ++ readonly roundingIncrement: + | 1 + | 2 + | 5 +@@ -87,11 +77,11 @@ declare namespace Intl { + | 2000 + | 2500 + | 5000; +- trailingZeroDisplay: 'auto' | 'stripIfInteger'; ++ readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { +- source: 'startRange' | 'endRange' | 'shared'; ++ readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = diff --git a/packages/strict-ts-lib/output/diff/lib.es5.diff b/packages/strict-ts-lib/output/diff/lib.es5.diff index f8bdc65f22..bb4b351fe4 100644 --- a/packages/strict-ts-lib/output/diff/lib.es5.diff +++ b/packages/strict-ts-lib/output/diff/lib.es5.diff @@ -660,8 +660,8 @@ - getUTCMilliseconds(): number; + getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. @@ -1217,7 +1238,7 @@ interface Date { * Used by the JSON.stringify method to enable the transformation of an * object's data for JavaScript Object Notation (JSON) serialization. @@ -3149,7 +3149,7 @@ } interface Collator { -@@ -6166,40 +6196,43 @@ declare namespace Intl { +@@ -6166,28 +6196,31 @@ declare namespace Intl { } interface CollatorConstructor { @@ -3170,22 +3170,46 @@ - var Collator: CollatorConstructor; + const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { +- decimal: never; +- percent: never; +- currency: never; ++ readonly decimal: never; ++ readonly percent: never; ++ readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { +- code: never; +- symbol: never; +- name: never; ++ readonly code: never; ++ readonly symbol: never; ++ readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = +@@ -6209,30 +6242,30 @@ declare namespace Intl { + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { -- localeMatcher?: string | undefined; -- style?: string | undefined; +- localeMatcher?: 'lookup' | 'best fit' | undefined; +- style?: NumberFormatOptionsStyle | undefined; - currency?: string | undefined; -- currencySign?: string | undefined; -- useGrouping?: boolean | undefined; +- currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; +- useGrouping?: NumberFormatOptionsUseGrouping | undefined; - minimumIntegerDigits?: number | undefined; - minimumFractionDigits?: number | undefined; - maximumFractionDigits?: number | undefined; - minimumSignificantDigits?: number | undefined; - maximumSignificantDigits?: number | undefined; -+ readonly localeMatcher?: string | undefined; -+ readonly style?: string | undefined; ++ readonly localeMatcher?: 'lookup' | 'best fit' | undefined; ++ readonly style?: NumberFormatOptionsStyle | undefined; + readonly currency?: string | undefined; -+ readonly currencySign?: string | undefined; -+ readonly useGrouping?: boolean | undefined; ++ readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; ++ readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; + readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; + readonly minimumFractionDigits?: UintRange<0, 21> | undefined; + readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -3196,28 +3220,30 @@ interface ResolvedNumberFormatOptions { - locale: string; - numberingSystem: string; -- style: string; +- style: NumberFormatOptionsStyle; - currency?: string; +- currencyDisplay?: NumberFormatOptionsCurrencyDisplay; - minimumIntegerDigits: number; -- minimumFractionDigits: number; -- maximumFractionDigits: number; +- minimumFractionDigits?: number; +- maximumFractionDigits?: number; - minimumSignificantDigits?: number; - maximumSignificantDigits?: number; -- useGrouping: boolean; +- useGrouping: ResolvedNumberFormatOptionsUseGrouping; + readonly locale: string; + readonly numberingSystem: string; -+ readonly style: string; ++ readonly style: NumberFormatOptionsStyle; + readonly currency?: string; ++ readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; + readonly minimumIntegerDigits: UintRange<1, 22>; -+ readonly minimumFractionDigits: UintRange<0, 21>; -+ readonly maximumFractionDigits: UintRange<0, 21>; ++ readonly minimumFractionDigits?: UintRange<0, 21>; ++ readonly maximumFractionDigits?: UintRange<0, 21>; + readonly minimumSignificantDigits?: UintRange<1, 22>; + readonly maximumSignificantDigits?: UintRange<1, 22>; -+ readonly useGrouping: boolean; ++ readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { -@@ -6209,30 +6242,39 @@ declare namespace Intl { +@@ -6242,30 +6275,39 @@ declare namespace Intl { interface NumberFormatConstructor { new ( @@ -3271,7 +3297,7 @@ | 'short' | 'long' | 'shortOffset' -@@ -6240,26 +6282,26 @@ declare namespace Intl { +@@ -6273,26 +6315,26 @@ declare namespace Intl { | 'shortGeneric' | 'longGeneric' | undefined; @@ -3315,7 +3341,7 @@ } interface DateTimeFormat { -@@ -6269,21 +6311,21 @@ declare namespace Intl { +@@ -6302,21 +6344,21 @@ declare namespace Intl { interface DateTimeFormatConstructor { new ( @@ -3341,7 +3367,7 @@ } interface String { -@@ -6303,7 +6345,7 @@ interface String { +@@ -6336,7 +6378,7 @@ interface String { */ localeCompare( that: string, @@ -3350,7 +3376,7 @@ options?: Intl.CollatorOptions, ): number; } -@@ -6321,7 +6363,7 @@ interface Number { +@@ -6354,7 +6396,7 @@ interface Number { * comparison options. */ toLocaleString( @@ -3359,7 +3385,7 @@ options?: Intl.NumberFormatOptions, ): string; } -@@ -6340,7 +6382,7 @@ interface Date { +@@ -6373,7 +6415,7 @@ interface Date { * comparison options. */ toLocaleString( @@ -3368,7 +3394,7 @@ options?: Intl.DateTimeFormatOptions, ): string; /** -@@ -6355,7 +6397,7 @@ interface Date { +@@ -6388,7 +6430,7 @@ interface Date { * comparison options. */ toLocaleDateString( @@ -3377,7 +3403,7 @@ options?: Intl.DateTimeFormatOptions, ): string; -@@ -6371,7 +6413,13 @@ interface Date { +@@ -6404,7 +6446,13 @@ interface Date { * comparison options. */ toLocaleTimeString( diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.array.diff b/packages/strict-ts-lib/output/diff/lib.esnext.array.diff new file mode 100644 index 0000000000..284eaac43f --- /dev/null +++ b/packages/strict-ts-lib/output/diff/lib.esnext.array.diff @@ -0,0 +1,30 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface ArrayConstructor { + /** +@@ -42,6 +28,6 @@ interface ArrayConstructor { + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, +- thisArg?: any, +- ): Promise[]>; ++ thisArg?: unknown, ++ ): Promise[]>; + } diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.collection.diff b/packages/strict-ts-lib/output/diff/lib.esnext.collection.diff index 41ff775ba8..d65b7bf2a5 100644 --- a/packages/strict-ts-lib/output/diff/lib.esnext.collection.diff +++ b/packages/strict-ts-lib/output/diff/lib.esnext.collection.diff @@ -19,3 +19,57 @@ interface MapConstructor { /** +@@ -46,22 +32,22 @@ interface Set { + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ +- union(other: ReadonlySetLike): Set; ++ union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ +- intersection(other: ReadonlySetLike): Set; ++ intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ +- difference(other: ReadonlySetLike): Set; ++ difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ +- symmetricDifference(other: ReadonlySetLike): Set; ++ symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. +@@ -84,22 +70,22 @@ interface ReadonlySet { + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ +- union(other: ReadonlySetLike): Set; ++ union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ +- intersection(other: ReadonlySetLike): Set; ++ intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ +- difference(other: ReadonlySetLike): Set; ++ difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ +- symmetricDifference(other: ReadonlySetLike): Set; ++ symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.diff b/packages/strict-ts-lib/output/diff/lib.esnext.diff index 8d174b6309..7ca71cad51 100644 --- a/packages/strict-ts-lib/output/diff/lib.esnext.diff +++ b/packages/strict-ts-lib/output/diff/lib.esnext.diff @@ -1,4 +1,4 @@ -@@ -1,24 +1,10 @@ +@@ -1,28 +1,14 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -23,6 +23,10 @@ -/// -/// -/// +-/// +-/// +-/// +-/// +/// + +/// @@ -32,3 +36,7 @@ +/// +/// +/// ++/// ++/// ++/// ++/// diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.disposable.diff b/packages/strict-ts-lib/output/diff/lib.esnext.disposable.diff index 53e254ad06..d82c4ab6ca 100644 --- a/packages/strict-ts-lib/output/diff/lib.esnext.disposable.diff +++ b/packages/strict-ts-lib/output/diff/lib.esnext.disposable.diff @@ -1,4 +1,4 @@ -@@ -1,21 +1,7 @@ +@@ -1,23 +1,9 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -18,11 +18,15 @@ +/// -/// +-/// +-/// +/// ++/// ++/// interface SymbolConstructor { /** -@@ -40,16 +26,16 @@ interface AsyncDisposable { +@@ -42,16 +28,16 @@ interface AsyncDisposable { } interface SuppressedError extends Error { @@ -44,7 +48,7 @@ interface DisposableStack { /** Returns a value indicating whether this stack has been disposed. */ -@@ -118,7 +104,7 @@ interface DisposableStackConstructor { +@@ -120,7 +106,7 @@ interface DisposableStackConstructor { new (): DisposableStack; readonly prototype: DisposableStack; } @@ -53,9 +57,12 @@ interface AsyncDisposableStack { /** Returns a value indicating whether this stack has been disposed. */ -@@ -188,4 +174,4 @@ interface AsyncDisposableStackConstructor { +@@ -190,7 +176,7 @@ interface AsyncDisposableStackConstructor { new (): AsyncDisposableStack; readonly prototype: AsyncDisposableStack; } -declare var AsyncDisposableStack: AsyncDisposableStackConstructor; +declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + + interface IteratorObject extends Disposable {} + diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.intl.diff b/packages/strict-ts-lib/output/diff/lib.esnext.intl.diff index 01aae44ead..83ca505124 100644 --- a/packages/strict-ts-lib/output/diff/lib.esnext.intl.diff +++ b/packages/strict-ts-lib/output/diff/lib.esnext.intl.diff @@ -1,4 +1,4 @@ -@@ -1,23 +1,9 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -18,9 +18,4 @@ +/// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { -- source: 'startRange' | 'endRange' | 'shared'; -+ readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { + // Empty diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.iterator.diff b/packages/strict-ts-lib/output/diff/lib.esnext.iterator.diff new file mode 100644 index 0000000000..35746d2c58 --- /dev/null +++ b/packages/strict-ts-lib/output/diff/lib.esnext.iterator.diff @@ -0,0 +1,48 @@ +@@ -1,21 +1,7 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + +-/// ++/// + + // NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found + // in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +@@ -25,7 +11,6 @@ export {}; + + // Abstract type that allows us to mark `next` as `abstract` + declare abstract class Iterator { +- // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging + abstract next(value?: TNext): IteratorResult; + } + +@@ -89,7 +74,7 @@ declare global { + * + * @param count The number of values to drop. + */ +- drop(count: number): IteratorObject; ++ drop(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback +@@ -224,5 +209,5 @@ declare global { + ): IteratorObject; + } + +- var Iterator: IteratorConstructor; ++ const Iterator: IteratorConstructor; + } diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.regexp.diff b/packages/strict-ts-lib/output/diff/lib.esnext.regexp.diff new file mode 100644 index 0000000000..29cec670d9 --- /dev/null +++ b/packages/strict-ts-lib/output/diff/lib.esnext.regexp.diff @@ -0,0 +1,21 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface RegExp { + /** diff --git a/packages/strict-ts-lib/output/diff/lib.esnext.string.diff b/packages/strict-ts-lib/output/diff/lib.esnext.string.diff new file mode 100644 index 0000000000..494b613b6c --- /dev/null +++ b/packages/strict-ts-lib/output/diff/lib.esnext.string.diff @@ -0,0 +1,21 @@ +@@ -1,19 +1,5 @@ +-/*! ***************************************************************************** +-Copyright (c) Microsoft Corporation. All rights reserved. +-Licensed under the Apache License, Version 2.0 (the "License"); you may not use +-this file except in compliance with the License. You may obtain a copy of the +-License at http://www.apache.org/licenses/LICENSE-2.0 +- +-THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +-WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +-MERCHANTABLITY OR NON-INFRINGEMENT. +- +-See the Apache Version 2.0 License for specific language governing permissions +-and limitations under the License. +-***************************************************************************** */ +- + /// ++/// + + interface String { + /** diff --git a/packages/strict-ts-lib/output/diff/lib.webworker.asynciterable.diff b/packages/strict-ts-lib/output/diff/lib.webworker.asynciterable.diff index 1ccad48709..2aacb5c7cd 100644 --- a/packages/strict-ts-lib/output/diff/lib.webworker.asynciterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.webworker.asynciterable.diff @@ -1,4 +1,4 @@ -@@ -1,27 +1,15 @@ +@@ -1,19 +1,5 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -19,15 +19,26 @@ ///////////////////////////// /// Worker Async Iterable APIs - ///////////////////////////// +@@ -26,9 +12,11 @@ interface FileSystemDirectoryHandleAsyncIterator interface FileSystemDirectoryHandle { -- [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; -- entries(): AsyncIterableIterator<[string, FileSystemHandle]>; -+ [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< +- [string, FileSystemHandle] + readonly [string, FileSystemHandle] + >; -+ entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; ++ entries(): FileSystemDirectoryHandleAsyncIterator< ++ readonly [string, FileSystemHandle] + >; +- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; } +@@ -38,7 +26,7 @@ interface ReadableStreamAsyncIterator + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; + } + +-interface ReadableStream { ++interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; diff --git a/packages/strict-ts-lib/output/diff/lib.webworker.diff b/packages/strict-ts-lib/output/diff/lib.webworker.diff index c94edb3202..e63b0592c7 100644 --- a/packages/strict-ts-lib/output/diff/lib.webworker.diff +++ b/packages/strict-ts-lib/output/diff/lib.webworker.diff @@ -76,7 +76,7 @@ } interface IDBTransactionOptions { -@@ -351,10 +337,10 @@ interface JsonWebKey { +@@ -347,10 +333,10 @@ interface JsonWebKey { e?: string; ext?: boolean; k?: string; @@ -89,7 +89,7 @@ p?: string; q?: string; qi?: string; -@@ -374,8 +360,8 @@ interface LockInfo { +@@ -370,8 +356,8 @@ interface LockInfo { } interface LockManagerSnapshot { @@ -100,8 +100,8 @@ } interface LockOptions { -@@ -412,11 +398,11 @@ interface MediaEncodingConfiguration extends MediaConfiguration { - type: MediaEncodingType; +@@ -412,11 +398,11 @@ interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; } -interface MessageEventInit extends EventInit { @@ -186,7 +186,7 @@ frameId?: number; height?: number; payloadType?: number; -@@ -566,7 +552,7 @@ interface ReadableStreamReadValueResult { +@@ -581,7 +567,7 @@ interface ReadableStreamReadValueResult { value: T; } @@ -195,7 +195,7 @@ readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through -@@ -588,7 +574,7 @@ interface RegistrationOptions { +@@ -603,7 +589,7 @@ interface RegistrationOptions { interface ReportingObserverOptions { buffered?: boolean; @@ -204,7 +204,7 @@ } interface RequestInit { -@@ -743,7 +729,7 @@ interface StreamPipeOptions { +@@ -758,7 +744,7 @@ interface StreamPipeOptions { } interface StructuredSerializeOptions { @@ -213,7 +213,7 @@ } interface TextDecodeOptions { -@@ -760,7 +746,7 @@ interface TextEncoderEncodeIntoResult { +@@ -775,7 +761,7 @@ interface TextEncoderEncodeIntoResult { written: number; } @@ -222,7 +222,7 @@ flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; -@@ -772,20 +758,20 @@ interface UnderlyingByteSource { +@@ -787,20 +773,20 @@ interface UnderlyingByteSource { autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: (controller: ReadableByteStreamController) => void | PromiseLike; @@ -247,7 +247,7 @@ abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; -@@ -793,7 +779,7 @@ interface UnderlyingSink { +@@ -808,7 +794,7 @@ interface UnderlyingSink { write?: UnderlyingSinkWriteCallback; } @@ -256,7 +256,7 @@ autoAllocateChunkSize?: number; cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; -@@ -880,13 +866,13 @@ interface VideoFrameBufferInit { +@@ -895,13 +881,13 @@ interface VideoFrameBufferInit { displayWidth?: number; duration?: number; format: VideoPixelFormat; @@ -272,7 +272,7 @@ rect?: DOMRectInit; } -@@ -934,7 +920,7 @@ interface WebTransportOptions { +@@ -949,7 +935,7 @@ interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; requireUnreliable?: boolean; @@ -281,7 +281,7 @@ } interface WebTransportSendStreamOptions { -@@ -1013,10 +999,10 @@ interface AbortController { +@@ -1028,10 +1014,10 @@ interface AbortController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort) */ @@ -294,7 +294,7 @@ prototype: AbortController; new (): AbortController; }; -@@ -1044,12 +1030,12 @@ interface AbortSignal extends EventTarget { +@@ -1059,12 +1045,12 @@ interface AbortSignal extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */ @@ -309,7 +309,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) -@@ -1057,7 +1043,7 @@ interface AbortSignal extends EventTarget { +@@ -1072,7 +1058,7 @@ interface AbortSignal extends EventTarget { throwIfAborted(): void; addEventListener( type: K, @@ -318,7 +318,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1067,7 +1053,7 @@ interface AbortSignal extends EventTarget { +@@ -1082,7 +1068,7 @@ interface AbortSignal extends EventTarget { ): void; removeEventListener( type: K, @@ -327,7 +327,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1077,14 +1063,14 @@ interface AbortSignal extends EventTarget { +@@ -1092,19 +1078,19 @@ interface AbortSignal extends EventTarget { ): void; } @@ -341,10 +341,16 @@ */ - abort(reason?: any): AbortSignal; + abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ +- any(signals: AbortSignal[]): AbortSignal; ++ any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) -@@ -1101,10 +1087,10 @@ interface AbstractWorker { +@@ -1121,10 +1107,10 @@ interface AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */ @@ -357,7 +363,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1114,7 +1100,7 @@ interface AbstractWorker { +@@ -1134,7 +1120,7 @@ interface AbstractWorker { ): void; removeEventListener( type: K, @@ -366,7 +372,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1163,9 +1149,9 @@ interface Blob { +@@ -1183,9 +1169,9 @@ interface Blob { text(): Promise; } @@ -378,7 +384,7 @@ }; interface Body { -@@ -1189,7 +1175,7 @@ interface Body { +@@ -1209,7 +1195,7 @@ interface Body { */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -387,7 +393,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */ text(): Promise; } -@@ -1212,12 +1198,14 @@ interface BroadcastChannel extends EventTarget { +@@ -1232,12 +1218,14 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */ @@ -404,7 +410,7 @@ /** * Closes the BroadcastChannel object, opening it up to garbage collection. * -@@ -1233,10 +1221,13 @@ interface BroadcastChannel extends EventTarget { +@@ -1253,10 +1241,13 @@ interface BroadcastChannel extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage) */ @@ -420,7 +426,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -1246,7 +1237,10 @@ interface BroadcastChannel extends EventTarget { +@@ -1266,7 +1257,10 @@ interface BroadcastChannel extends EventTarget { ): void; removeEventListener( type: K, @@ -432,7 +438,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -1256,7 +1250,7 @@ interface BroadcastChannel extends EventTarget { +@@ -1276,7 +1270,7 @@ interface BroadcastChannel extends EventTarget { ): void; } @@ -441,7 +447,7 @@ prototype: BroadcastChannel; new (name: string): BroadcastChannel; }; -@@ -1281,7 +1275,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { +@@ -1301,7 +1295,7 @@ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -450,7 +456,7 @@ prototype: ByteLengthQueuingStrategy; new (init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; -@@ -1289,7 +1283,7 @@ declare var ByteLengthQueuingStrategy: { +@@ -1309,7 +1303,7 @@ declare var ByteLengthQueuingStrategy: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue) */ interface CSSImageValue extends CSSStyleValue {} @@ -459,7 +465,7 @@ prototype: CSSImageValue; new (): CSSImageValue; }; -@@ -1303,7 +1297,7 @@ interface CSSKeywordValue extends CSSStyleValue { +@@ -1323,7 +1317,7 @@ interface CSSKeywordValue extends CSSStyleValue { value: string; } @@ -468,7 +474,7 @@ prototype: CSSKeywordValue; new (value: string): CSSKeywordValue; }; -@@ -1314,7 +1308,7 @@ interface CSSMathClamp extends CSSMathValue { +@@ -1334,7 +1328,7 @@ interface CSSMathClamp extends CSSMathValue { readonly value: CSSNumericValue; } @@ -477,7 +483,7 @@ prototype: CSSMathClamp; new ( lower: CSSNumberish, -@@ -1332,7 +1326,7 @@ interface CSSMathInvert extends CSSMathValue { +@@ -1352,7 +1346,7 @@ interface CSSMathInvert extends CSSMathValue { readonly value: CSSNumericValue; } @@ -486,7 +492,7 @@ prototype: CSSMathInvert; new (arg: CSSNumberish): CSSMathInvert; }; -@@ -1346,9 +1340,9 @@ interface CSSMathMax extends CSSMathValue { +@@ -1366,9 +1360,9 @@ interface CSSMathMax extends CSSMathValue { readonly values: CSSNumericArray; } @@ -498,7 +504,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin) */ -@@ -1360,9 +1354,9 @@ interface CSSMathMin extends CSSMathValue { +@@ -1380,9 +1374,9 @@ interface CSSMathMin extends CSSMathValue { readonly values: CSSNumericArray; } @@ -510,7 +516,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate) */ -@@ -1374,7 +1368,7 @@ interface CSSMathNegate extends CSSMathValue { +@@ -1394,7 +1388,7 @@ interface CSSMathNegate extends CSSMathValue { readonly value: CSSNumericValue; } @@ -519,7 +525,7 @@ prototype: CSSMathNegate; new (arg: CSSNumberish): CSSMathNegate; }; -@@ -1388,9 +1382,9 @@ interface CSSMathProduct extends CSSMathValue { +@@ -1408,9 +1402,9 @@ interface CSSMathProduct extends CSSMathValue { readonly values: CSSNumericArray; } @@ -531,7 +537,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum) */ -@@ -1402,9 +1396,9 @@ interface CSSMathSum extends CSSMathValue { +@@ -1422,9 +1416,9 @@ interface CSSMathSum extends CSSMathValue { readonly values: CSSNumericArray; } @@ -543,7 +549,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue) */ -@@ -1416,7 +1410,7 @@ interface CSSMathValue extends CSSNumericValue { +@@ -1436,7 +1430,7 @@ interface CSSMathValue extends CSSNumericValue { readonly operator: CSSMathOperator; } @@ -552,7 +558,7 @@ prototype: CSSMathValue; new (): CSSMathValue; }; -@@ -1433,7 +1427,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { +@@ -1453,7 +1447,7 @@ interface CSSMatrixComponent extends CSSTransformComponent { matrix: DOMMatrix; } @@ -561,7 +567,7 @@ prototype: CSSMatrixComponent; new ( matrix: DOMMatrixReadOnly, -@@ -1454,12 +1448,12 @@ interface CSSNumericArray { +@@ -1474,12 +1468,12 @@ interface CSSNumericArray { key: number, parent: CSSNumericArray, ) => void, @@ -576,7 +582,7 @@ prototype: CSSNumericArray; new (): CSSNumericArray; }; -@@ -1470,37 +1464,37 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1490,37 +1484,37 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */ @@ -621,7 +627,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to) -@@ -1510,7 +1504,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1530,7 +1524,7 @@ interface CSSNumericValue extends CSSStyleValue { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum) */ @@ -630,7 +636,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type) -@@ -1518,7 +1512,7 @@ interface CSSNumericValue extends CSSStyleValue { +@@ -1538,7 +1532,7 @@ interface CSSNumericValue extends CSSStyleValue { type(): CSSNumericType; } @@ -639,7 +645,7 @@ prototype: CSSNumericValue; new (): CSSNumericValue; }; -@@ -1532,7 +1526,7 @@ interface CSSPerspective extends CSSTransformComponent { +@@ -1552,7 +1546,7 @@ interface CSSPerspective extends CSSTransformComponent { length: CSSPerspectiveValue; } @@ -648,7 +654,7 @@ prototype: CSSPerspective; new (length: CSSPerspectiveValue): CSSPerspective; }; -@@ -1549,7 +1543,7 @@ interface CSSRotate extends CSSTransformComponent { +@@ -1569,7 +1563,7 @@ interface CSSRotate extends CSSTransformComponent { z: CSSNumberish; } @@ -657,7 +663,7 @@ prototype: CSSRotate; new (angle: CSSNumericValue): CSSRotate; new ( -@@ -1570,7 +1564,7 @@ interface CSSScale extends CSSTransformComponent { +@@ -1590,7 +1584,7 @@ interface CSSScale extends CSSTransformComponent { z: CSSNumberish; } @@ -666,7 +672,7 @@ prototype: CSSScale; new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; -@@ -1583,7 +1577,7 @@ interface CSSSkew extends CSSTransformComponent { +@@ -1603,7 +1597,7 @@ interface CSSSkew extends CSSTransformComponent { ay: CSSNumericValue; } @@ -675,7 +681,7 @@ prototype: CSSSkew; new (ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew; }; -@@ -1594,7 +1588,7 @@ interface CSSSkewX extends CSSTransformComponent { +@@ -1614,7 +1608,7 @@ interface CSSSkewX extends CSSTransformComponent { ax: CSSNumericValue; } @@ -684,7 +690,7 @@ prototype: CSSSkewX; new (ax: CSSNumericValue): CSSSkewX; }; -@@ -1605,7 +1599,7 @@ interface CSSSkewY extends CSSTransformComponent { +@@ -1625,7 +1619,7 @@ interface CSSSkewY extends CSSTransformComponent { ay: CSSNumericValue; } @@ -693,7 +699,7 @@ prototype: CSSSkewY; new (ay: CSSNumericValue): CSSSkewY; }; -@@ -1615,7 +1609,7 @@ interface CSSStyleValue { +@@ -1635,7 +1629,7 @@ interface CSSStyleValue { toString(): string; } @@ -702,7 +708,7 @@ prototype: CSSStyleValue; new (): CSSStyleValue; }; -@@ -1638,7 +1632,7 @@ interface CSSTransformComponent { +@@ -1658,7 +1652,7 @@ interface CSSTransformComponent { toString(): string; } @@ -711,7 +717,7 @@ prototype: CSSTransformComponent; new (): CSSTransformComponent; }; -@@ -1666,14 +1660,14 @@ interface CSSTransformValue extends CSSStyleValue { +@@ -1686,14 +1680,14 @@ interface CSSTransformValue extends CSSStyleValue { key: number, parent: CSSTransformValue, ) => void, @@ -729,7 +735,7 @@ }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate) */ -@@ -1686,7 +1680,7 @@ interface CSSTranslate extends CSSTransformComponent { +@@ -1706,7 +1700,7 @@ interface CSSTranslate extends CSSTransformComponent { z: CSSNumericValue; } @@ -738,7 +744,7 @@ prototype: CSSTranslate; new ( x: CSSNumericValue, -@@ -1709,7 +1703,7 @@ interface CSSUnitValue extends CSSNumericValue { +@@ -1729,7 +1723,7 @@ interface CSSUnitValue extends CSSNumericValue { value: number; } @@ -747,7 +753,7 @@ prototype: CSSUnitValue; new (value: number, unit: string): CSSUnitValue; }; -@@ -1727,14 +1721,14 @@ interface CSSUnparsedValue extends CSSStyleValue { +@@ -1747,14 +1741,14 @@ interface CSSUnparsedValue extends CSSStyleValue { key: number, parent: CSSUnparsedValue, ) => void, @@ -765,7 +771,7 @@ }; /** -@@ -1754,7 +1748,7 @@ interface CSSVariableReferenceValue { +@@ -1774,7 +1768,7 @@ interface CSSVariableReferenceValue { variable: string; } @@ -774,7 +780,7 @@ prototype: CSSVariableReferenceValue; new ( variable: string, -@@ -1775,7 +1769,7 @@ interface Cache { +@@ -1795,7 +1789,7 @@ interface Cache { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add) */ add(request: RequestInfo | URL): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ @@ -783,7 +789,7 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete) */ delete( request: RequestInfo | URL, -@@ -1800,7 +1794,7 @@ interface Cache { +@@ -1820,7 +1814,7 @@ interface Cache { put(request: RequestInfo | URL, response: Response): Promise; } @@ -792,7 +798,7 @@ prototype: Cache; new (): Cache; }; -@@ -1841,7 +1835,7 @@ interface CacheStorage { +@@ -1861,7 +1855,7 @@ interface CacheStorage { open(cacheName: string): Promise; } @@ -801,7 +807,7 @@ prototype: CacheStorage; new (): CacheStorage; }; -@@ -2006,7 +2000,7 @@ interface CanvasGradient { +@@ -2026,7 +2020,7 @@ interface CanvasGradient { addColorStop(offset: number, color: string): void; } @@ -810,7 +816,7 @@ prototype: CanvasGradient; new (): CanvasGradient; }; -@@ -2179,7 +2173,7 @@ interface CanvasPathDrawingStyles { +@@ -2199,7 +2193,7 @@ interface CanvasPathDrawingStyles { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */ @@ -819,7 +825,7 @@ } /** -@@ -2199,7 +2193,7 @@ interface CanvasPattern { +@@ -2219,7 +2213,7 @@ interface CanvasPattern { setTransform(transform?: DOMMatrix2DInit): void; } @@ -828,7 +834,7 @@ prototype: CanvasPattern; new (): CanvasPattern; }; -@@ -2411,11 +2405,11 @@ interface Client { +@@ -2436,11 +2430,11 @@ interface Client { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage) */ @@ -843,7 +849,7 @@ prototype: Client; new (): Client; }; -@@ -2445,7 +2439,7 @@ interface Clients { +@@ -2470,7 +2464,7 @@ interface Clients { openWindow(url: string | URL): Promise; } @@ -852,7 +858,7 @@ prototype: Clients; new (): Clients; }; -@@ -2480,7 +2474,7 @@ interface CloseEvent extends Event { +@@ -2505,7 +2499,7 @@ interface CloseEvent extends Event { readonly wasClean: boolean; } @@ -861,7 +867,7 @@ prototype: CloseEvent; new (type: string, eventInitDict?: CloseEventInit): CloseEvent; }; -@@ -2488,7 +2482,7 @@ declare var CloseEvent: { +@@ -2513,7 +2507,7 @@ declare var CloseEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream {} @@ -870,7 +876,7 @@ prototype: CompressionStream; new (format: CompressionFormat): CompressionStream; }; -@@ -2513,7 +2507,7 @@ interface CountQueuingStrategy extends QueuingStrategy { +@@ -2538,7 +2532,7 @@ interface CountQueuingStrategy extends QueuingStrategy { readonly size: QueuingStrategySize; } @@ -879,7 +885,7 @@ prototype: CountQueuingStrategy; new (init: QueuingStrategyInit): CountQueuingStrategy; }; -@@ -2546,7 +2540,7 @@ interface Crypto { +@@ -2571,7 +2565,7 @@ interface Crypto { randomUUID(): `${string}-${string}-${string}-${string}-${string}`; } @@ -888,7 +894,7 @@ prototype: Crypto; new (): Crypto; }; -@@ -2574,16 +2568,16 @@ interface CryptoKey { +@@ -2599,16 +2593,16 @@ interface CryptoKey { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */ @@ -908,7 +914,7 @@ /** * Returns any custom data event was created with. Typically used for * synthetic events. -@@ -2606,7 +2600,7 @@ interface CustomEvent extends Event { +@@ -2631,7 +2625,7 @@ interface CustomEvent extends Event { ): void; } @@ -917,7 +923,7 @@ prototype: CustomEvent; new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; -@@ -2662,7 +2656,7 @@ interface DOMException extends Error { +@@ -2687,7 +2681,7 @@ interface DOMException extends Error { readonly DATA_CLONE_ERR: 25; } @@ -926,7 +932,7 @@ prototype: DOMException; new (message?: string, name?: string): DOMException; readonly INDEX_SIZE_ERR: 1; -@@ -2754,9 +2748,9 @@ interface DOMMatrix extends DOMMatrixReadOnly { +@@ -2771,9 +2765,9 @@ interface DOMMatrix extends DOMMatrixReadOnly { translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -938,16 +944,16 @@ fromFloat32Array(array32: Float32Array): DOMMatrix; fromFloat64Array(array64: Float64Array): DOMMatrix; fromMatrix(other?: DOMMatrixInit): DOMMatrix; -@@ -2973,7 +2967,7 @@ interface DOMMatrixReadOnly { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ +@@ -2845,7 +2839,7 @@ interface DOMMatrixReadOnly { + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; - toJSON(): any; + toJSON(): unknown; + transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) -@@ -2986,9 +2980,9 @@ interface DOMMatrixReadOnly { +@@ -2854,9 +2848,9 @@ interface DOMMatrixReadOnly { translate(tx?: number, ty?: number, tz?: number): DOMMatrix; } @@ -959,7 +965,7 @@ fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; -@@ -3006,7 +3000,7 @@ interface DOMPoint extends DOMPointReadOnly { +@@ -2874,7 +2868,7 @@ interface DOMPoint extends DOMPointReadOnly { z: number; } @@ -968,7 +974,7 @@ prototype: DOMPoint; new (x?: number, y?: number, z?: number, w?: number): DOMPoint; /** -@@ -3047,10 +3041,10 @@ interface DOMPointReadOnly { +@@ -2911,10 +2905,10 @@ interface DOMPointReadOnly { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ @@ -981,9 +987,9 @@ prototype: DOMPointReadOnly; new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; /** -@@ -3075,10 +3069,10 @@ interface DOMQuad { - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ +@@ -2931,10 +2925,10 @@ interface DOMQuad { + readonly p3: DOMPoint; + readonly p4: DOMPoint; getBounds(): DOMRect; - toJSON(): any; + toJSON(): unknown; @@ -994,7 +1000,7 @@ prototype: DOMQuad; new ( p1?: DOMPointInit, -@@ -3098,7 +3092,7 @@ interface DOMRect extends DOMRectReadOnly { +@@ -2954,7 +2948,7 @@ interface DOMRect extends DOMRectReadOnly { y: number; } @@ -1002,8 +1008,8 @@ +declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; -@@ -3146,10 +3140,10 @@ interface DOMRectReadOnly { + /** +@@ -3006,10 +3000,10 @@ interface DOMRectReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */ readonly y: number; @@ -1016,7 +1022,7 @@ prototype: DOMRectReadOnly; new ( x?: number, -@@ -3194,7 +3188,7 @@ interface DOMStringList { +@@ -3054,7 +3048,7 @@ interface DOMStringList { [index: number]: string; } @@ -1025,7 +1031,7 @@ prototype: DOMStringList; new (): DOMStringList; }; -@@ -3205,7 +3199,7 @@ declare var DOMStringList: { +@@ -3065,7 +3059,7 @@ declare var DOMStringList: { */ interface DecompressionStream extends GenericTransformStream {} @@ -1034,7 +1040,7 @@ prototype: DecompressionStream; new (format: CompressionFormat): DecompressionStream; }; -@@ -3242,20 +3236,22 @@ interface DedicatedWorkerGlobalScope +@@ -3102,20 +3096,22 @@ interface DedicatedWorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */ onmessage: @@ -1060,7 +1066,7 @@ /** * Aborts dedicatedWorkerGlobal. * -@@ -3271,14 +3267,14 @@ interface DedicatedWorkerGlobalScope +@@ -3131,14 +3127,14 @@ interface DedicatedWorkerGlobalScope * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage) */ @@ -1078,7 +1084,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3291,7 +3287,7 @@ interface DedicatedWorkerGlobalScope +@@ -3151,7 +3147,7 @@ interface DedicatedWorkerGlobalScope listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -1087,7 +1093,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3301,7 +3297,7 @@ interface DedicatedWorkerGlobalScope +@@ -3161,7 +3157,7 @@ interface DedicatedWorkerGlobalScope ): void; } @@ -1096,7 +1102,7 @@ prototype: DedicatedWorkerGlobalScope; new (): DedicatedWorkerGlobalScope; }; -@@ -3432,7 +3428,7 @@ interface EncodedVideoChunk { +@@ -3292,7 +3288,7 @@ interface EncodedVideoChunk { copyTo(destination: AllowSharedBufferSource): void; } @@ -1105,16 +1111,14 @@ prototype: EncodedVideoChunk; new (init: EncodedVideoChunkInit): EncodedVideoChunk; }; -@@ -3452,7 +3448,7 @@ interface ErrorEvent extends Event { - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ +@@ -3304,13 +3300,13 @@ declare var EncodedVideoChunk: { + */ + interface ErrorEvent extends Event { + readonly colno: number; - readonly error: any; + readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) -@@ -3470,7 +3466,7 @@ interface ErrorEvent extends Event { + readonly filename: string; + readonly lineno: number; readonly message: string; } @@ -1123,7 +1127,7 @@ prototype: ErrorEvent; new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; -@@ -3626,7 +3622,7 @@ interface Event { +@@ -3466,7 +3462,7 @@ interface Event { readonly BUBBLING_PHASE: 3; } @@ -1132,7 +1136,7 @@ prototype: Event; new (type: string, eventInitDict?: EventInit): Event; readonly NONE: 0; -@@ -3655,17 +3651,17 @@ interface EventSource extends EventTarget { +@@ -3495,17 +3491,17 @@ interface EventSource extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */ @@ -1153,7 +1157,7 @@ /** * Returns the state of this EventSource object's connection. It can have the * values described below. -@@ -3701,12 +3697,12 @@ interface EventSource extends EventTarget { +@@ -3541,12 +3537,12 @@ interface EventSource extends EventTarget { readonly CLOSED: 2; addEventListener( type: K, @@ -1168,7 +1172,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -3716,12 +3712,12 @@ interface EventSource extends EventTarget { +@@ -3556,12 +3552,12 @@ interface EventSource extends EventTarget { ): void; removeEventListener( type: K, @@ -1183,7 +1187,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -3731,7 +3727,7 @@ interface EventSource extends EventTarget { +@@ -3571,7 +3567,7 @@ interface EventSource extends EventTarget { ): void; } @@ -1192,7 +1196,7 @@ prototype: EventSource; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CONNECTING: 0; -@@ -3805,7 +3801,7 @@ interface EventTarget { +@@ -3645,7 +3641,7 @@ interface EventTarget { ): void; } @@ -1201,7 +1205,7 @@ prototype: EventTarget; new (): EventTarget; }; -@@ -3823,10 +3819,10 @@ interface ExtendableEvent extends Event { +@@ -3663,10 +3659,10 @@ interface ExtendableEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil) */ @@ -1214,7 +1218,7 @@ prototype: ExtendableEvent; new (type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent; }; -@@ -3845,7 +3841,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { +@@ -3685,7 +3681,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data) */ @@ -1223,7 +1227,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId) -@@ -3868,7 +3864,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { +@@ -3708,7 +3704,7 @@ interface ExtendableMessageEvent extends ExtendableEvent { readonly source: Client | ServiceWorker | MessagePort | null; } @@ -1232,7 +1236,7 @@ prototype: ExtendableMessageEvent; new ( type: string, -@@ -3900,7 +3896,7 @@ interface FetchEvent extends ExtendableEvent { +@@ -3740,7 +3736,7 @@ interface FetchEvent extends ExtendableEvent { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/preloadResponse) */ @@ -1241,7 +1245,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request) -@@ -3918,7 +3914,7 @@ interface FetchEvent extends ExtendableEvent { +@@ -3758,7 +3754,7 @@ interface FetchEvent extends ExtendableEvent { respondWith(r: Response | PromiseLike): void; } @@ -1250,7 +1254,7 @@ prototype: FetchEvent; new (type: string, eventInitDict: FetchEventInit): FetchEvent; }; -@@ -3944,9 +3940,13 @@ interface File extends Blob { +@@ -3784,9 +3780,13 @@ interface File extends Blob { readonly webkitRelativePath: string; } @@ -1266,7 +1270,7 @@ }; /** -@@ -3966,7 +3966,7 @@ interface FileList { +@@ -3806,7 +3806,7 @@ interface FileList { [index: number]: File; } @@ -1275,7 +1279,7 @@ prototype: FileList; new (): FileList; }; -@@ -3997,34 +3997,42 @@ interface FileReader extends EventTarget { +@@ -3837,34 +3837,42 @@ interface FileReader extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */ @@ -1324,7 +1328,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState) -@@ -4070,7 +4078,7 @@ interface FileReader extends EventTarget { +@@ -3910,7 +3918,7 @@ interface FileReader extends EventTarget { readonly DONE: 2; addEventListener( type: K, @@ -1333,7 +1337,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4080,7 +4088,7 @@ interface FileReader extends EventTarget { +@@ -3920,7 +3928,7 @@ interface FileReader extends EventTarget { ): void; removeEventListener( type: K, @@ -1342,7 +1346,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4090,7 +4098,7 @@ interface FileReader extends EventTarget { +@@ -3930,7 +3938,7 @@ interface FileReader extends EventTarget { ): void; } @@ -1351,7 +1355,7 @@ prototype: FileReader; new (): FileReader; readonly EMPTY: 0; -@@ -4128,7 +4136,7 @@ interface FileReaderSync { +@@ -3968,7 +3976,7 @@ interface FileReaderSync { readAsText(blob: Blob, encoding?: string): string; } @@ -1360,7 +1364,7 @@ prototype: FileReaderSync; new (): FileReaderSync; }; -@@ -4169,7 +4177,7 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { +@@ -4009,7 +4017,7 @@ interface FileSystemDirectoryHandle extends FileSystemHandle { resolve(possibleDescendant: FileSystemHandle): Promise; } @@ -1369,7 +1373,7 @@ prototype: FileSystemDirectoryHandle; new (): FileSystemDirectoryHandle; }; -@@ -4201,7 +4209,7 @@ interface FileSystemFileHandle extends FileSystemHandle { +@@ -4041,7 +4049,7 @@ interface FileSystemFileHandle extends FileSystemHandle { getFile(): Promise; } @@ -1378,7 +1382,7 @@ prototype: FileSystemFileHandle; new (): FileSystemFileHandle; }; -@@ -4229,7 +4237,7 @@ interface FileSystemHandle { +@@ -4069,7 +4077,7 @@ interface FileSystemHandle { isSameEntry(other: FileSystemHandle): Promise; } @@ -1387,7 +1391,7 @@ prototype: FileSystemHandle; new (): FileSystemHandle; }; -@@ -4279,7 +4287,7 @@ interface FileSystemSyncAccessHandle { +@@ -4119,7 +4127,7 @@ interface FileSystemSyncAccessHandle { ): number; } @@ -1396,7 +1400,7 @@ prototype: FileSystemSyncAccessHandle; new (): FileSystemSyncAccessHandle; }; -@@ -4308,7 +4316,7 @@ interface FileSystemWritableFileStream extends WritableStream { +@@ -4148,7 +4156,7 @@ interface FileSystemWritableFileStream extends WritableStream { write(data: FileSystemWriteChunkType): Promise; } @@ -1405,7 +1409,7 @@ prototype: FileSystemWritableFileStream; new (): FileSystemWritableFileStream; }; -@@ -4364,7 +4372,7 @@ interface FontFace { +@@ -4204,7 +4212,7 @@ interface FontFace { load(): Promise; } @@ -1414,7 +1418,7 @@ prototype: FontFace; new ( family: string, -@@ -4385,17 +4393,17 @@ interface FontFaceSet extends EventTarget { +@@ -4225,17 +4233,17 @@ interface FontFaceSet extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ @@ -1435,7 +1439,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) -@@ -4418,11 +4426,11 @@ interface FontFaceSet extends EventTarget { +@@ -4258,11 +4266,11 @@ interface FontFaceSet extends EventTarget { load(font: string, text?: string): Promise; forEach( callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, @@ -1449,7 +1453,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4432,7 +4440,7 @@ interface FontFaceSet extends EventTarget { +@@ -4272,7 +4280,7 @@ interface FontFaceSet extends EventTarget { ): void; removeEventListener( type: K, @@ -1458,7 +1462,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4442,9 +4450,9 @@ interface FontFaceSet extends EventTarget { +@@ -4282,9 +4290,9 @@ interface FontFaceSet extends EventTarget { ): void; } @@ -1470,7 +1474,7 @@ }; /** -@@ -4459,7 +4467,7 @@ interface FontFaceSetLoadEvent extends Event { +@@ -4299,7 +4307,7 @@ interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } @@ -1479,7 +1483,7 @@ prototype: FontFaceSetLoadEvent; new ( type: string, -@@ -4503,11 +4511,11 @@ interface FormData { +@@ -4343,11 +4351,11 @@ interface FormData { key: string, parent: FormData, ) => void, @@ -1493,7 +1497,7 @@ prototype: FormData; new (): FormData; }; -@@ -4554,11 +4562,11 @@ interface Headers { +@@ -4394,11 +4402,11 @@ interface Headers { set(name: string, value: string): void; forEach( callbackfn: (value: string, key: string, parent: Headers) => void, @@ -1507,7 +1511,7 @@ prototype: Headers; new (init?: HeadersInit): Headers; }; -@@ -4648,10 +4656,10 @@ interface IDBCursor { +@@ -4488,10 +4496,10 @@ interface IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update) */ @@ -1520,7 +1524,7 @@ prototype: IDBCursor; new (): IDBCursor; }; -@@ -4671,10 +4679,10 @@ interface IDBCursorWithValue extends IDBCursor { +@@ -4511,10 +4519,10 @@ interface IDBCursorWithValue extends IDBCursor { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value) */ @@ -1533,7 +1537,7 @@ prototype: IDBCursorWithValue; new (): IDBCursorWithValue; }; -@@ -4709,19 +4717,19 @@ interface IDBDatabase extends EventTarget { +@@ -4549,19 +4557,19 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames) */ readonly objectStoreNames: DOMStringList; @@ -1557,7 +1561,7 @@ | null; /** * Returns the version of the database. -@@ -4769,13 +4777,13 @@ interface IDBDatabase extends EventTarget { +@@ -4609,13 +4617,13 @@ interface IDBDatabase extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) */ transaction( @@ -1573,7 +1577,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -4785,7 +4793,7 @@ interface IDBDatabase extends EventTarget { +@@ -4625,7 +4633,7 @@ interface IDBDatabase extends EventTarget { ): void; removeEventListener( type: K, @@ -1582,7 +1586,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -4795,7 +4803,7 @@ interface IDBDatabase extends EventTarget { +@@ -4635,7 +4643,7 @@ interface IDBDatabase extends EventTarget { ): void; } @@ -1591,7 +1595,7 @@ prototype: IDBDatabase; new (): IDBDatabase; }; -@@ -4816,7 +4824,7 @@ interface IDBFactory { +@@ -4656,7 +4664,7 @@ interface IDBFactory { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp) */ @@ -1600,7 +1604,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/databases) -@@ -4842,7 +4850,7 @@ interface IDBFactory { +@@ -4682,7 +4690,7 @@ interface IDBFactory { open(name: string, version?: number): IDBOpenDBRequest; } @@ -1609,7 +1613,7 @@ prototype: IDBFactory; new (): IDBFactory; }; -@@ -4860,7 +4868,7 @@ interface IDBIndex { +@@ -4700,7 +4708,7 @@ interface IDBIndex { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath) */ @@ -1618,7 +1622,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry) -@@ -4899,7 +4907,7 @@ interface IDBIndex { +@@ -4739,7 +4747,7 @@ interface IDBIndex { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get) */ @@ -1627,7 +1631,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -4911,7 +4919,7 @@ interface IDBIndex { +@@ -4751,7 +4759,7 @@ interface IDBIndex { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1636,7 +1640,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -4965,7 +4973,7 @@ interface IDBIndex { +@@ -4805,7 +4813,7 @@ interface IDBIndex { ): IDBRequest; } @@ -1645,7 +1649,7 @@ prototype: IDBIndex; new (): IDBIndex; }; -@@ -4987,7 +4995,7 @@ interface IDBKeyRange { +@@ -4827,7 +4835,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower) */ @@ -1654,7 +1658,7 @@ /** * Returns true if the lower open flag is set, and false otherwise. * -@@ -5001,7 +5009,7 @@ interface IDBKeyRange { +@@ -4841,7 +4849,7 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper) */ @@ -1663,7 +1667,7 @@ /** * Returns true if the upper open flag is set, and false otherwise. * -@@ -5015,10 +5023,10 @@ interface IDBKeyRange { +@@ -4855,10 +4863,10 @@ interface IDBKeyRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes) */ @@ -1676,7 +1680,7 @@ prototype: IDBKeyRange; new (): IDBKeyRange; /** -@@ -5030,8 +5038,8 @@ declare var IDBKeyRange: { +@@ -4870,8 +4878,8 @@ declare var IDBKeyRange: { * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static) */ bound( @@ -1687,7 +1691,7 @@ lowerOpen?: boolean, upperOpen?: boolean, ): IDBKeyRange; -@@ -5042,14 +5050,14 @@ declare var IDBKeyRange: { +@@ -4882,14 +4890,14 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static) */ @@ -1704,7 +1708,7 @@ /** * Returns a new IDBKeyRange with no lower bound and ending at key. If open is * true, key is not included in the range. -@@ -5057,7 +5065,7 @@ declare var IDBKeyRange: { +@@ -4897,7 +4905,7 @@ declare var IDBKeyRange: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static) */ @@ -1713,7 +1717,7 @@ }; /** -@@ -5090,7 +5098,7 @@ interface IDBObjectStore { +@@ -4930,7 +4938,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath) */ @@ -1722,7 +1726,7 @@ /** * Returns the name of the store. * -@@ -5120,7 +5128,7 @@ interface IDBObjectStore { +@@ -4960,7 +4968,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add) */ @@ -1731,7 +1735,7 @@ /** * Deletes all records in store. * -@@ -5154,7 +5162,7 @@ interface IDBObjectStore { +@@ -4994,7 +5002,7 @@ interface IDBObjectStore { */ createIndex( name: string, @@ -1740,7 +1744,7 @@ options?: IDBIndexParameters, ): IDBIndex; /** -@@ -5187,7 +5195,7 @@ interface IDBObjectStore { +@@ -5027,7 +5035,7 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get) */ @@ -1749,7 +1753,7 @@ /** * Retrieves the values of the records matching the given key or key range in * query (up to count if given). -@@ -5200,7 +5208,7 @@ interface IDBObjectStore { +@@ -5040,7 +5048,7 @@ interface IDBObjectStore { getAll( query?: IDBValidKey | IDBKeyRange | null, count?: number, @@ -1758,7 +1762,7 @@ /** * Retrieves the keys of records matching the given key or key range in query * (up to count if given). -@@ -5273,10 +5281,10 @@ interface IDBObjectStore { +@@ -5113,10 +5121,10 @@ interface IDBObjectStore { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put) */ @@ -1771,7 +1775,7 @@ prototype: IDBObjectStore; new (): IDBObjectStore; }; -@@ -5297,18 +5305,21 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5137,18 +5145,21 @@ interface IDBOpenDBRequest extends IDBRequest { * Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */ onblocked: @@ -1796,7 +1800,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5318,7 +5329,10 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5158,7 +5169,10 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; removeEventListener( type: K, @@ -1808,7 +1812,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5328,7 +5342,7 @@ interface IDBOpenDBRequest extends IDBRequest { +@@ -5168,7 +5182,7 @@ interface IDBOpenDBRequest extends IDBRequest { ): void; } @@ -1817,7 +1821,7 @@ prototype: IDBOpenDBRequest; new (): IDBOpenDBRequest; }; -@@ -5346,7 +5360,7 @@ interface IDBRequestEventMap { +@@ -5186,7 +5200,7 @@ interface IDBRequestEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest) */ @@ -1826,7 +1830,7 @@ /** * When a request is completed, returns the error (a DOMException), or null if * the request succeeded. Throws a "InvalidStateError" DOMException if the -@@ -5360,12 +5374,12 @@ interface IDBRequest extends EventTarget { +@@ -5200,12 +5214,12 @@ interface IDBRequest extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */ @@ -1841,7 +1845,7 @@ /** * Returns "pending" until a request is complete, then returns "done". * -@@ -5401,7 +5415,7 @@ interface IDBRequest extends EventTarget { +@@ -5241,7 +5255,7 @@ interface IDBRequest extends EventTarget { readonly transaction: IDBTransaction | null; addEventListener( type: K, @@ -1850,7 +1854,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5411,7 +5425,7 @@ interface IDBRequest extends EventTarget { +@@ -5251,7 +5265,7 @@ interface IDBRequest extends EventTarget { ): void; removeEventListener( type: K, @@ -1859,7 +1863,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5421,7 +5435,7 @@ interface IDBRequest extends EventTarget { +@@ -5261,7 +5275,7 @@ interface IDBRequest extends EventTarget { ): void; } @@ -1868,7 +1872,7 @@ prototype: IDBRequest; new (): IDBRequest; }; -@@ -5474,17 +5488,17 @@ interface IDBTransaction extends EventTarget { +@@ -5314,17 +5328,17 @@ interface IDBTransaction extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -1889,7 +1893,7 @@ /** * Aborts the transaction. All pending requests will fail with a "AbortError" * DOMException and all changes made to the database will be reverted. -@@ -5507,7 +5521,7 @@ interface IDBTransaction extends EventTarget { +@@ -5347,7 +5361,7 @@ interface IDBTransaction extends EventTarget { objectStore(name: string): IDBObjectStore; addEventListener( type: K, @@ -1898,7 +1902,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5517,7 +5531,7 @@ interface IDBTransaction extends EventTarget { +@@ -5357,7 +5371,7 @@ interface IDBTransaction extends EventTarget { ): void; removeEventListener( type: K, @@ -1907,7 +1911,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5527,7 +5541,7 @@ interface IDBTransaction extends EventTarget { +@@ -5367,7 +5381,7 @@ interface IDBTransaction extends EventTarget { ): void; } @@ -1916,7 +1920,7 @@ prototype: IDBTransaction; new (): IDBTransaction; }; -@@ -5553,7 +5567,7 @@ interface IDBVersionChangeEvent extends Event { +@@ -5393,7 +5407,7 @@ interface IDBVersionChangeEvent extends Event { readonly oldVersion: number; } @@ -1925,7 +1929,7 @@ prototype: IDBVersionChangeEvent; new ( type: string, -@@ -5586,7 +5600,7 @@ interface ImageBitmap { +@@ -5426,7 +5440,7 @@ interface ImageBitmap { close(): void; } @@ -1934,7 +1938,7 @@ prototype: ImageBitmap; new (): ImageBitmap; }; -@@ -5607,7 +5621,7 @@ interface ImageBitmapRenderingContext { +@@ -5447,7 +5461,7 @@ interface ImageBitmapRenderingContext { transferFromImageBitmap(bitmap: ImageBitmap | null): void; } @@ -1943,7 +1947,7 @@ prototype: ImageBitmapRenderingContext; new (): ImageBitmapRenderingContext; }; -@@ -5651,7 +5665,7 @@ interface ImageData { +@@ -5491,7 +5505,7 @@ interface ImageData { readonly width: number; } @@ -1952,7 +1956,7 @@ prototype: ImageData; new (sw: number, sh: number, settings?: ImageDataSettings): ImageData; new ( -@@ -5682,7 +5696,7 @@ interface Lock { +@@ -5527,7 +5541,7 @@ interface Lock { readonly name: string; } @@ -1961,7 +1965,7 @@ prototype: Lock; new (): Lock; }; -@@ -5702,15 +5716,15 @@ interface LockManager { +@@ -5547,15 +5561,15 @@ interface LockManager { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request) */ @@ -1980,7 +1984,7 @@ prototype: LockManager; new (): LockManager; }; -@@ -5733,7 +5747,7 @@ interface MediaCapabilities { +@@ -5578,7 +5592,7 @@ interface MediaCapabilities { ): Promise; } @@ -1989,7 +1993,25 @@ prototype: MediaCapabilities; new (): MediaCapabilities; }; -@@ -5761,7 +5775,7 @@ interface MessageChannel { +@@ -5586,7 +5600,7 @@ declare var MediaCapabilities: { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ + interface MediaSourceHandle {} + +-declare var MediaSourceHandle: { ++declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; + }; +@@ -5603,7 +5617,7 @@ interface MediaStreamTrackProcessor { + readonly readable: ReadableStream; + } + +-declare var MediaStreamTrackProcessor: { ++declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; + }; +@@ -5631,7 +5645,7 @@ interface MessageChannel { readonly port2: MessagePort; } @@ -1998,7 +2020,7 @@ prototype: MessageChannel; new (): MessageChannel; }; -@@ -5771,7 +5785,7 @@ declare var MessageChannel: { +@@ -5641,7 +5655,7 @@ declare var MessageChannel: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent) */ @@ -2007,7 +2029,7 @@ /** * Returns the data of the message. * -@@ -5821,15 +5835,15 @@ interface MessageEvent extends Event { +@@ -5686,15 +5700,15 @@ interface MessageEvent extends Event { type: string, bubbles?: boolean, cancelable?: boolean, @@ -2026,7 +2048,7 @@ prototype: MessageEvent; new (type: string, eventInitDict?: MessageEventInit): MessageEvent; }; -@@ -5851,12 +5865,12 @@ interface MessagePort extends EventTarget { +@@ -5716,12 +5730,12 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/message_event) */ @@ -2041,7 +2063,7 @@ /** * Disconnects the port, so that it is no longer active. * -@@ -5875,8 +5889,8 @@ interface MessagePort extends EventTarget { +@@ -5740,8 +5754,8 @@ interface MessagePort extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) */ @@ -2052,7 +2074,7 @@ /** * Begins dispatching messages received on the port. * -@@ -5886,7 +5900,7 @@ interface MessagePort extends EventTarget { +@@ -5751,7 +5765,7 @@ interface MessagePort extends EventTarget { start(): void; addEventListener( type: K, @@ -2061,7 +2083,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -5896,7 +5910,7 @@ interface MessagePort extends EventTarget { +@@ -5761,7 +5775,7 @@ interface MessagePort extends EventTarget { ): void; removeEventListener( type: K, @@ -2070,7 +2092,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -5906,7 +5920,7 @@ interface MessagePort extends EventTarget { +@@ -5771,7 +5785,7 @@ interface MessagePort extends EventTarget { ): void; } @@ -2079,7 +2101,7 @@ prototype: MessagePort; new (): MessagePort; }; -@@ -5940,7 +5954,7 @@ interface NavigationPreloadManager { +@@ -5805,7 +5819,7 @@ interface NavigationPreloadManager { setHeaderValue(value: string): Promise; } @@ -2088,7 +2110,7 @@ prototype: NavigationPreloadManager; new (): NavigationPreloadManager; }; -@@ -6074,7 +6088,7 @@ interface Notification extends EventTarget { +@@ -5939,7 +5953,7 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/data) */ @@ -2097,7 +2119,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir) -@@ -6094,22 +6108,22 @@ interface Notification extends EventTarget { +@@ -5959,22 +5973,22 @@ interface Notification extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */ @@ -2124,7 +2146,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) -@@ -6137,7 +6151,7 @@ interface Notification extends EventTarget { +@@ -6002,7 +6016,7 @@ interface Notification extends EventTarget { close(): void; addEventListener( type: K, @@ -2133,7 +2155,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6147,7 +6161,7 @@ interface Notification extends EventTarget { +@@ -6012,7 +6026,7 @@ interface Notification extends EventTarget { ): void; removeEventListener( type: K, @@ -2142,7 +2164,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6157,7 +6171,7 @@ interface Notification extends EventTarget { +@@ -6022,7 +6036,7 @@ interface Notification extends EventTarget { ): void; } @@ -2151,7 +2173,7 @@ prototype: Notification; new (title: string, options?: NotificationOptions): Notification; /** -@@ -6187,7 +6201,7 @@ interface NotificationEvent extends ExtendableEvent { +@@ -6052,7 +6066,7 @@ interface NotificationEvent extends ExtendableEvent { readonly notification: Notification; } @@ -2160,18 +2182,22 @@ prototype: NotificationEvent; new (type: string, eventInitDict: NotificationEventInit): NotificationEvent; }; -@@ -6380,8 +6394,8 @@ interface OffscreenCanvas extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) +@@ -6249,12 +6263,12 @@ interface OffscreenCanvas extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ - height: number; - oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; -- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ +- oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's * bitmap. -@@ -6427,17 +6441,23 @@ interface OffscreenCanvas extends EventTarget { +@@ -6300,17 +6314,23 @@ interface OffscreenCanvas extends EventTarget { */ getContext( contextId: '2d', @@ -2200,7 +2226,7 @@ ): OffscreenRenderingContext | null; /** * Returns a newly created ImageBitmap object with the image in the -@@ -6450,7 +6470,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -6323,7 +6343,10 @@ interface OffscreenCanvas extends EventTarget { transferToImageBitmap(): ImageBitmap; addEventListener( type: K, @@ -2212,7 +2238,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6460,7 +6483,10 @@ interface OffscreenCanvas extends EventTarget { +@@ -6333,7 +6356,10 @@ interface OffscreenCanvas extends EventTarget { ): void; removeEventListener( type: K, @@ -2224,7 +2250,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6470,7 +6496,7 @@ interface OffscreenCanvas extends EventTarget { +@@ -6343,7 +6369,7 @@ interface OffscreenCanvas extends EventTarget { ): void; } @@ -2233,8 +2259,8 @@ prototype: OffscreenCanvas; new (width: number, height: number): OffscreenCanvas; }; -@@ -6503,7 +6529,7 @@ interface OffscreenCanvasRenderingContext2D - commit(): void; +@@ -6371,7 +6397,7 @@ interface OffscreenCanvasRenderingContext2D + readonly canvas: OffscreenCanvas; } -declare var OffscreenCanvasRenderingContext2D: { @@ -2242,7 +2268,7 @@ prototype: OffscreenCanvasRenderingContext2D; new (): OffscreenCanvasRenderingContext2D; }; -@@ -6526,7 +6552,7 @@ interface Path2D extends CanvasPath { +@@ -6394,7 +6420,7 @@ interface Path2D extends CanvasPath { addPath(path: Path2D, transform?: DOMMatrix2DInit): void; } @@ -2251,7 +2277,7 @@ prototype: Path2D; new (path?: Path2D | string): Path2D; }; -@@ -6548,7 +6574,9 @@ interface Performance extends EventTarget { +@@ -6416,7 +6442,9 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */ @@ -2262,7 +2288,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin) -@@ -6609,10 +6637,10 @@ interface Performance extends EventTarget { +@@ -6477,10 +6505,10 @@ interface Performance extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON) */ @@ -2275,7 +2301,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6622,7 +6650,7 @@ interface Performance extends EventTarget { +@@ -6490,7 +6518,7 @@ interface Performance extends EventTarget { ): void; removeEventListener( type: K, @@ -2284,7 +2310,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6632,7 +6660,7 @@ interface Performance extends EventTarget { +@@ -6500,7 +6528,7 @@ interface Performance extends EventTarget { ): void; } @@ -2293,7 +2319,7 @@ prototype: Performance; new (): Performance; }; -@@ -6671,10 +6699,10 @@ interface PerformanceEntry { +@@ -6539,10 +6567,10 @@ interface PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON) */ @@ -2306,7 +2332,7 @@ prototype: PerformanceEntry; new (): PerformanceEntry; }; -@@ -6692,10 +6720,10 @@ interface PerformanceMark extends PerformanceEntry { +@@ -6560,10 +6588,10 @@ interface PerformanceMark extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail) */ @@ -2319,7 +2345,7 @@ prototype: PerformanceMark; new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; }; -@@ -6714,10 +6742,10 @@ interface PerformanceMeasure extends PerformanceEntry { +@@ -6582,10 +6610,10 @@ interface PerformanceMeasure extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail) */ @@ -2332,7 +2358,7 @@ prototype: PerformanceMeasure; new (): PerformanceMeasure; }; -@@ -6744,7 +6772,7 @@ interface PerformanceObserver { +@@ -6612,7 +6640,7 @@ interface PerformanceObserver { takeRecords(): PerformanceEntryList; } @@ -2341,7 +2367,7 @@ prototype: PerformanceObserver; new (callback: PerformanceObserverCallback): PerformanceObserver; /** -@@ -6776,7 +6804,7 @@ interface PerformanceObserverEntryList { +@@ -6644,7 +6672,7 @@ interface PerformanceObserverEntryList { getEntriesByType(type: string): PerformanceEntryList; } @@ -2350,7 +2376,7 @@ prototype: PerformanceObserverEntryList; new (): PerformanceObserverEntryList; }; -@@ -6885,10 +6913,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { +@@ -6753,10 +6781,10 @@ interface PerformanceResourceTiming extends PerformanceEntry { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON) */ @@ -2363,7 +2389,7 @@ prototype: PerformanceResourceTiming; new (): PerformanceResourceTiming; }; -@@ -6917,10 +6945,10 @@ interface PerformanceServerTiming { +@@ -6785,10 +6813,10 @@ interface PerformanceServerTiming { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON) */ @@ -2376,7 +2402,7 @@ prototype: PerformanceServerTiming; new (): PerformanceServerTiming; }; -@@ -6940,7 +6968,7 @@ interface PermissionStatus extends EventTarget { +@@ -6808,7 +6836,7 @@ interface PermissionStatus extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */ @@ -2385,7 +2411,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state) -@@ -6948,7 +6976,10 @@ interface PermissionStatus extends EventTarget { +@@ -6816,7 +6844,10 @@ interface PermissionStatus extends EventTarget { readonly state: PermissionState; addEventListener( type: K, @@ -2397,7 +2423,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -6958,7 +6989,10 @@ interface PermissionStatus extends EventTarget { +@@ -6826,7 +6857,10 @@ interface PermissionStatus extends EventTarget { ): void; removeEventListener( type: K, @@ -2409,7 +2435,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -6968,7 +7002,7 @@ interface PermissionStatus extends EventTarget { +@@ -6836,7 +6870,7 @@ interface PermissionStatus extends EventTarget { ): void; } @@ -2418,7 +2444,7 @@ prototype: PermissionStatus; new (): PermissionStatus; }; -@@ -6982,7 +7016,7 @@ interface Permissions { +@@ -6850,7 +6884,7 @@ interface Permissions { query(permissionDesc: PermissionDescriptor): Promise; } @@ -2427,7 +2453,7 @@ prototype: Permissions; new (): Permissions; }; -@@ -7013,7 +7047,7 @@ interface ProgressEvent extends Event { +@@ -6881,7 +6915,7 @@ interface ProgressEvent extends Event { readonly total: number; } @@ -2436,7 +2462,7 @@ prototype: ProgressEvent; new (type: string, eventInitDict?: ProgressEventInit): ProgressEvent; }; -@@ -7027,15 +7061,15 @@ interface PromiseRejectionEvent extends Event { +@@ -6895,15 +6929,15 @@ interface PromiseRejectionEvent extends Event { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */ @@ -2455,7 +2481,7 @@ prototype: PromiseRejectionEvent; new ( type: string, -@@ -7056,7 +7090,7 @@ interface PushEvent extends ExtendableEvent { +@@ -6924,7 +6958,7 @@ interface PushEvent extends ExtendableEvent { readonly data: PushMessageData | null; } @@ -2464,7 +2490,7 @@ prototype: PushEvent; new (type: string, eventInitDict?: PushEventInit): PushEvent; }; -@@ -7088,7 +7122,7 @@ interface PushManager { +@@ -6956,7 +6990,7 @@ interface PushManager { subscribe(options?: PushSubscriptionOptionsInit): Promise; } @@ -2473,7 +2499,7 @@ prototype: PushManager; new (): PushManager; /** -@@ -7119,7 +7153,7 @@ interface PushMessageData { +@@ -6987,7 +7021,7 @@ interface PushMessageData { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json) */ @@ -2482,7 +2508,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text) -@@ -7127,7 +7161,7 @@ interface PushMessageData { +@@ -6995,7 +7029,7 @@ interface PushMessageData { text(): string; } @@ -2491,7 +2517,7 @@ prototype: PushMessageData; new (): PushMessageData; }; -@@ -7171,7 +7205,7 @@ interface PushSubscription { +@@ -7039,7 +7073,7 @@ interface PushSubscription { unsubscribe(): Promise; } @@ -2500,7 +2526,7 @@ prototype: PushSubscription; new (): PushSubscription; }; -@@ -7195,7 +7229,7 @@ interface PushSubscriptionOptions { +@@ -7063,7 +7097,7 @@ interface PushSubscriptionOptions { readonly userVisibleOnly: boolean; } @@ -2509,7 +2535,7 @@ prototype: PushSubscriptionOptions; new (): PushSubscriptionOptions; }; -@@ -7222,7 +7256,7 @@ interface RTCEncodedAudioFrame { +@@ -7090,7 +7124,7 @@ interface RTCEncodedAudioFrame { getMetadata(): RTCEncodedAudioFrameMetadata; } @@ -2518,7 +2544,7 @@ prototype: RTCEncodedAudioFrame; new (): RTCEncodedAudioFrame; }; -@@ -7254,7 +7288,7 @@ interface RTCEncodedVideoFrame { +@@ -7122,7 +7156,7 @@ interface RTCEncodedVideoFrame { getMetadata(): RTCEncodedVideoFrameMetadata; } @@ -2527,7 +2553,7 @@ prototype: RTCEncodedVideoFrame; new (): RTCEncodedVideoFrame; }; -@@ -7268,7 +7302,7 @@ interface RTCRtpScriptTransformer extends EventTarget { +@@ -7136,7 +7170,7 @@ interface RTCRtpScriptTransformer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options) */ @@ -2536,7 +2562,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/readable) -@@ -7291,7 +7325,7 @@ interface RTCRtpScriptTransformer extends EventTarget { +@@ -7159,7 +7193,7 @@ interface RTCRtpScriptTransformer extends EventTarget { sendKeyFrameRequest(): Promise; } @@ -2545,7 +2571,7 @@ prototype: RTCRtpScriptTransformer; new (): RTCRtpScriptTransformer; }; -@@ -7305,7 +7339,7 @@ interface RTCTransformEvent extends Event { +@@ -7173,7 +7207,7 @@ interface RTCTransformEvent extends Event { readonly transformer: RTCRtpScriptTransformer; } @@ -2554,7 +2580,7 @@ prototype: RTCTransformEvent; new (): RTCTransformEvent; }; -@@ -7339,10 +7373,10 @@ interface ReadableByteStreamController { +@@ -7207,10 +7241,10 @@ interface ReadableByteStreamController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */ @@ -2567,7 +2593,7 @@ prototype: ReadableByteStreamController; new (): ReadableByteStreamController; }; -@@ -7354,7 +7388,7 @@ declare var ReadableByteStreamController: { +@@ -7222,7 +7256,7 @@ declare var ReadableByteStreamController: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream) */ @@ -2576,7 +2602,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) -@@ -7364,7 +7398,7 @@ interface ReadableStream { +@@ -7232,7 +7266,7 @@ interface ReadableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */ @@ -2585,7 +2611,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) -@@ -7395,17 +7429,17 @@ interface ReadableStream { +@@ -7263,17 +7297,17 @@ interface ReadableStream { tee(): [ReadableStream, ReadableStream]; } @@ -2606,7 +2632,7 @@ underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy, ): ReadableStream; -@@ -7430,7 +7464,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { +@@ -7298,7 +7332,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { releaseLock(): void; } @@ -2615,7 +2641,7 @@ prototype: ReadableStreamBYOBReader; new (stream: ReadableStream): ReadableStreamBYOBReader; }; -@@ -7457,7 +7491,7 @@ interface ReadableStreamBYOBRequest { +@@ -7325,7 +7359,7 @@ interface ReadableStreamBYOBRequest { respondWithNewView(view: ArrayBufferView): void; } @@ -2624,7 +2650,7 @@ prototype: ReadableStreamBYOBRequest; new (): ReadableStreamBYOBRequest; }; -@@ -7466,7 +7500,7 @@ declare var ReadableStreamBYOBRequest: { +@@ -7334,7 +7368,7 @@ declare var ReadableStreamBYOBRequest: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */ @@ -2633,7 +2659,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) -@@ -7486,10 +7520,10 @@ interface ReadableStreamDefaultController { +@@ -7354,10 +7388,10 @@ interface ReadableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */ @@ -2646,7 +2672,7 @@ prototype: ReadableStreamDefaultController; new (): ReadableStreamDefaultController; }; -@@ -7498,7 +7532,7 @@ declare var ReadableStreamDefaultController: { +@@ -7366,7 +7400,7 @@ declare var ReadableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */ @@ -2655,7 +2681,7 @@ extends ReadableStreamGenericReader { /** * [MDN -@@ -7512,9 +7546,9 @@ interface ReadableStreamDefaultReader +@@ -7380,9 +7414,9 @@ interface ReadableStreamDefaultReader releaseLock(): void; } @@ -2667,7 +2693,7 @@ }; interface ReadableStreamGenericReader { -@@ -7527,7 +7561,7 @@ interface ReadableStreamGenericReader { +@@ -7395,7 +7429,7 @@ interface ReadableStreamGenericReader { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */ @@ -2676,7 +2702,7 @@ } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) */ -@@ -7538,20 +7572,20 @@ interface Report { +@@ -7406,10 +7440,10 @@ interface Report { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) */ readonly url: string; @@ -2689,9 +2715,10 @@ prototype: Report; new (): Report; }; - - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ - interface ReportBody { +@@ -7420,10 +7454,10 @@ interface ReportBody { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ - toJSON(): any; + toJSON(): unknown; } @@ -2701,7 +2728,7 @@ prototype: ReportBody; new (): ReportBody; }; -@@ -7575,7 +7609,7 @@ interface ReportingObserver { +@@ -7447,7 +7481,7 @@ interface ReportingObserver { takeRecords(): ReportList; } @@ -2710,7 +2737,7 @@ prototype: ReportingObserver; new ( callback: ReportingObserverCallback, -@@ -7644,7 +7678,7 @@ interface Request extends Body { +@@ -7513,7 +7547,7 @@ interface Request extends Body { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method) */ @@ -2719,7 +2746,7 @@ /** * Returns the mode associated with request, which is a string indicating * whether the request will use CORS, or will be restricted to same-origin -@@ -7699,7 +7733,7 @@ interface Request extends Body { +@@ -7568,7 +7602,7 @@ interface Request extends Body { clone(): Request; } @@ -2728,7 +2755,7 @@ prototype: Request; new (input: RequestInfo | URL, init?: RequestInit): Request; }; -@@ -7737,7 +7771,7 @@ interface Response extends Body { +@@ -7606,7 +7640,7 @@ interface Response extends Body { clone(): Response; } @@ -2737,7 +2764,7 @@ prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; /** -@@ -7749,7 +7783,7 @@ declare var Response: { +@@ -7618,7 +7652,7 @@ declare var Response: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */ @@ -2746,7 +2773,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) -@@ -7827,7 +7861,7 @@ interface SecurityPolicyViolationEvent extends Event { +@@ -7696,7 +7730,7 @@ interface SecurityPolicyViolationEvent extends Event { readonly violatedDirective: string; } @@ -2755,7 +2782,7 @@ prototype: SecurityPolicyViolationEvent; new ( type: string, -@@ -7852,7 +7886,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7721,7 +7755,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */ @@ -2764,7 +2791,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL) -@@ -7867,11 +7901,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7736,11 +7770,11 @@ interface ServiceWorker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage) */ @@ -2779,7 +2806,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7881,7 +7915,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7750,7 +7784,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -2788,7 +2815,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7891,7 +7925,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { +@@ -7760,7 +7794,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker { ): void; } @@ -2797,7 +2824,7 @@ prototype: ServiceWorker; new (): ServiceWorker; }; -@@ -7922,18 +7956,22 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7791,18 +7825,22 @@ interface ServiceWorkerContainer extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */ @@ -2823,7 +2850,7 @@ | null; /** * [MDN -@@ -7970,7 +8008,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7839,7 +7877,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -2832,7 +2859,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -7983,7 +8021,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7852,7 +7890,7 @@ interface ServiceWorkerContainer extends EventTarget { listener: ( this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K], @@ -2841,7 +2868,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -7993,7 +8031,7 @@ interface ServiceWorkerContainer extends EventTarget { +@@ -7862,7 +7900,7 @@ interface ServiceWorkerContainer extends EventTarget { ): void; } @@ -2850,7 +2877,7 @@ prototype: ServiceWorkerContainer; new (): ServiceWorkerContainer; }; -@@ -8028,59 +8066,59 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7897,59 +7935,59 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */ onactivate: @@ -2919,7 +2946,7 @@ | null; /** * [MDN -@@ -8102,7 +8140,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7971,7 +8009,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K], @@ -2928,7 +2955,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8115,7 +8153,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7984,7 +8022,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K], @@ -2937,7 +2964,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8125,7 +8163,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { +@@ -7994,7 +8032,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope { ): void; } @@ -2946,7 +2973,7 @@ prototype: ServiceWorkerGlobalScope; new (): ServiceWorkerGlobalScope; }; -@@ -8162,7 +8200,9 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8031,7 +8069,9 @@ interface ServiceWorkerRegistration extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */ @@ -2957,7 +2984,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager) -@@ -8208,7 +8248,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8077,7 +8117,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -2966,7 +2993,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8221,7 +8261,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8090,7 +8130,7 @@ interface ServiceWorkerRegistration extends EventTarget { listener: ( this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K], @@ -2975,7 +3002,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8231,7 +8271,7 @@ interface ServiceWorkerRegistration extends EventTarget { +@@ -8100,7 +8140,7 @@ interface ServiceWorkerRegistration extends EventTarget { ): void; } @@ -2984,7 +3011,7 @@ prototype: ServiceWorkerRegistration; new (): ServiceWorkerRegistration; }; -@@ -8258,7 +8298,9 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8127,7 +8167,9 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/connect_event) */ @@ -2995,7 +3022,7 @@ /** * Aborts sharedWorkerGlobal. * -@@ -8271,7 +8313,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8140,7 +8182,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K], @@ -3004,7 +3031,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -8284,7 +8326,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8153,7 +8195,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { listener: ( this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K], @@ -3013,7 +3040,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -8294,7 +8336,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { +@@ -8163,7 +8205,7 @@ interface SharedWorkerGlobalScope extends WorkerGlobalScope { ): void; } @@ -3022,7 +3049,7 @@ prototype: SharedWorkerGlobalScope; new (): SharedWorkerGlobalScope; }; -@@ -8322,7 +8364,7 @@ interface StorageManager { +@@ -8191,7 +8233,7 @@ interface StorageManager { persisted(): Promise; } @@ -3031,7 +3058,7 @@ prototype: StorageManager; new (): StorageManager; }; -@@ -8354,15 +8396,15 @@ interface StylePropertyMapReadOnly { +@@ -8223,15 +8265,15 @@ interface StylePropertyMapReadOnly { has(property: string): boolean; forEach( callbackfn: ( @@ -3050,7 +3077,7 @@ prototype: StylePropertyMapReadOnly; new (): StylePropertyMapReadOnly; }; -@@ -8420,7 +8462,7 @@ interface SubtleCrypto { +@@ -8289,7 +8331,7 @@ interface SubtleCrypto { | HkdfParams | Pbkdf2Params, extractable: boolean, @@ -3059,7 +3086,7 @@ ): Promise; /** * [MDN -@@ -8479,7 +8521,7 @@ interface SubtleCrypto { +@@ -8348,7 +8390,7 @@ interface SubtleCrypto { generateKey( algorithm: AlgorithmIdentifier, extractable: boolean, @@ -3068,7 +3095,7 @@ ): Promise; /** * [MDN -@@ -8507,7 +8549,7 @@ interface SubtleCrypto { +@@ -8376,7 +8418,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -3077,7 +3104,7 @@ ): Promise; /** * [MDN -@@ -8539,7 +8581,7 @@ interface SubtleCrypto { +@@ -8408,7 +8450,7 @@ interface SubtleCrypto { | HmacImportParams | AesKeyAlgorithm, extractable: boolean, @@ -3086,7 +3113,7 @@ ): Promise; /** * [MDN -@@ -8568,7 +8610,7 @@ interface SubtleCrypto { +@@ -8437,7 +8479,7 @@ interface SubtleCrypto { ): Promise; } @@ -3095,7 +3122,7 @@ prototype: SubtleCrypto; new (): SubtleCrypto; }; -@@ -8590,7 +8632,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -8459,7 +8501,7 @@ interface TextDecoder extends TextDecoderCommon { * invocation without options's stream (or set to false) has no input, it's * clearest to omit both arguments. * @@ -3104,7 +3131,7 @@ * decoder = new TextDecoder(encoding), * buffer; * while ((buffer = next_chunk())) { -@@ -8607,7 +8649,7 @@ interface TextDecoder extends TextDecoderCommon { +@@ -8476,7 +8518,7 @@ interface TextDecoder extends TextDecoderCommon { decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string; } @@ -3113,7 +3140,7 @@ prototype: TextDecoder; new (label?: string, options?: TextDecoderOptions): TextDecoder; }; -@@ -8642,7 +8684,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { +@@ -8511,7 +8553,7 @@ interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { readonly writable: WritableStream; } @@ -3122,7 +3149,7 @@ prototype: TextDecoderStream; new (label?: string, options?: TextDecoderOptions): TextDecoderStream; }; -@@ -8677,7 +8719,7 @@ interface TextEncoder extends TextEncoderCommon { +@@ -8546,7 +8588,7 @@ interface TextEncoder extends TextEncoderCommon { ): TextEncoderEncodeIntoResult; } @@ -3131,7 +3158,7 @@ prototype: TextEncoder; new (): TextEncoder; }; -@@ -8698,7 +8740,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { +@@ -8567,7 +8609,7 @@ interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { readonly writable: WritableStream; } @@ -3140,7 +3167,7 @@ prototype: TextEncoderStream; new (): TextEncoderStream; }; -@@ -8796,13 +8838,13 @@ interface TextMetrics { +@@ -8665,13 +8707,13 @@ interface TextMetrics { readonly width: number; } @@ -3156,7 +3183,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) -@@ -8815,9 +8857,9 @@ interface TransformStream { +@@ -8684,9 +8726,9 @@ interface TransformStream { readonly writable: WritableStream; } @@ -3168,7 +3195,7 @@ transformer?: Transformer, writableStrategy?: QueuingStrategy, readableStrategy?: QueuingStrategy, -@@ -8828,7 +8870,7 @@ declare var TransformStream: { +@@ -8697,7 +8739,7 @@ declare var TransformStream: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */ @@ -3177,7 +3204,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) -@@ -8843,7 +8885,7 @@ interface TransformStreamDefaultController { +@@ -8712,7 +8754,7 @@ interface TransformStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */ @@ -3186,7 +3213,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) -@@ -8851,7 +8893,7 @@ interface TransformStreamDefaultController { +@@ -8720,7 +8762,7 @@ interface TransformStreamDefaultController { terminate(): void; } @@ -3195,7 +3222,7 @@ prototype: TransformStreamDefaultController; new (): TransformStreamDefaultController; }; -@@ -8895,7 +8937,7 @@ interface URL { +@@ -8764,7 +8806,7 @@ interface URL { toJSON(): string; } @@ -3204,7 +3231,7 @@ prototype: URL; new (url: string | URL, base?: string | URL): URL; /** -@@ -8978,14 +9020,18 @@ interface URLSearchParams { +@@ -8852,14 +8894,18 @@ interface URLSearchParams { toString(): string; forEach( callbackfn: (value: string, key: string, parent: URLSearchParams) => void, @@ -3226,7 +3253,7 @@ ): URLSearchParams; }; -@@ -9018,7 +9064,7 @@ interface VideoColorSpace { +@@ -8892,7 +8938,7 @@ interface VideoColorSpace { toJSON(): VideoColorSpaceInit; } @@ -3235,16 +3262,16 @@ prototype: VideoColorSpace; new (init?: VideoColorSpaceInit): VideoColorSpace; }; -@@ -9038,7 +9084,7 @@ interface VideoDecoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) +@@ -8916,7 +8962,7 @@ interface VideoDecoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ - readonly decodeQueueSize: number; - ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; + ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) -@@ -9071,7 +9117,7 @@ interface VideoDecoder extends EventTarget { +@@ -8949,7 +8995,7 @@ interface VideoDecoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -3253,7 +3280,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -9081,7 +9127,7 @@ interface VideoDecoder extends EventTarget { +@@ -8959,7 +9005,7 @@ interface VideoDecoder extends EventTarget { ): void; removeEventListener( type: K, @@ -3262,7 +3289,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -9091,7 +9137,7 @@ interface VideoDecoder extends EventTarget { +@@ -8969,7 +9015,7 @@ interface VideoDecoder extends EventTarget { ): void; } @@ -3270,17 +3297,17 @@ +declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; - isConfigSupported(config: VideoDecoderConfig): Promise; -@@ -9112,7 +9158,7 @@ interface VideoEncoder extends EventTarget { - * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) + /** +@@ -8998,7 +9044,7 @@ interface VideoEncoder extends EventTarget { + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ - readonly encodeQueueSize: number; - ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; + ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) -@@ -9141,7 +9187,7 @@ interface VideoEncoder extends EventTarget { +@@ -9031,7 +9077,7 @@ interface VideoEncoder extends EventTarget { reset(): void; addEventListener( type: K, @@ -3289,7 +3316,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -9151,7 +9197,7 @@ interface VideoEncoder extends EventTarget { +@@ -9041,7 +9087,7 @@ interface VideoEncoder extends EventTarget { ): void; removeEventListener( type: K, @@ -3298,7 +3325,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -9161,7 +9207,7 @@ interface VideoEncoder extends EventTarget { +@@ -9051,7 +9097,7 @@ interface VideoEncoder extends EventTarget { ): void; } @@ -3306,8 +3333,8 @@ +declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; - isConfigSupported(config: VideoEncoderConfig): Promise; -@@ -9240,7 +9286,7 @@ interface VideoFrame { + /** +@@ -9138,7 +9184,7 @@ interface VideoFrame { ): Promise; } @@ -3316,7 +3343,7 @@ prototype: VideoFrame; new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame; new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame; -@@ -9402,7 +9448,7 @@ interface WEBGL_draw_buffers { +@@ -9300,7 +9346,7 @@ interface WEBGL_draw_buffers { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ @@ -3325,7 +3352,7 @@ readonly COLOR_ATTACHMENT0_WEBGL: 0x8ce0; readonly COLOR_ATTACHMENT1_WEBGL: 0x8ce1; readonly COLOR_ATTACHMENT2_WEBGL: 0x8ce2; -@@ -9464,11 +9510,11 @@ interface WEBGL_multi_draw { +@@ -9362,11 +9408,11 @@ interface WEBGL_multi_draw { */ multiDrawArraysInstancedWEBGL( mode: GLenum, @@ -3340,7 +3367,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -9478,9 +9524,9 @@ interface WEBGL_multi_draw { +@@ -9376,9 +9422,9 @@ interface WEBGL_multi_draw { */ multiDrawArraysWEBGL( mode: GLenum, @@ -3352,7 +3379,7 @@ countsOffset: number, drawcount: GLsizei, ): void; -@@ -9490,12 +9536,12 @@ interface WEBGL_multi_draw { +@@ -9388,12 +9434,12 @@ interface WEBGL_multi_draw { */ multiDrawElementsInstancedWEBGL( mode: GLenum, @@ -3368,7 +3395,7 @@ instanceCountsOffset: number, drawcount: GLsizei, ): void; -@@ -9505,10 +9551,10 @@ interface WEBGL_multi_draw { +@@ -9403,10 +9449,10 @@ interface WEBGL_multi_draw { */ multiDrawElementsWEBGL( mode: GLenum, @@ -3381,7 +3408,7 @@ offsetsOffset: number, drawcount: GLsizei, ): void; -@@ -9523,7 +9569,7 @@ interface WebGL2RenderingContext +@@ -9421,7 +9467,7 @@ interface WebGL2RenderingContext WebGL2RenderingContextOverloads, WebGLRenderingContextBase {} @@ -3390,7 +3417,7 @@ prototype: WebGL2RenderingContext; new (): WebGL2RenderingContext; readonly READ_BUFFER: 0x0c02; -@@ -10340,7 +10386,7 @@ interface WebGL2RenderingContextBase { +@@ -10238,7 +10284,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */ @@ -3399,7 +3426,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) -@@ -10406,16 +10452,16 @@ interface WebGL2RenderingContextBase { +@@ -10304,16 +10350,16 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum, @@ -3419,7 +3446,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) -@@ -10436,7 +10482,7 @@ interface WebGL2RenderingContextBase { +@@ -10334,7 +10380,7 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */ @@ -3428,7 +3455,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) -@@ -10445,7 +10491,7 @@ interface WebGL2RenderingContextBase { +@@ -10343,7 +10389,7 @@ interface WebGL2RenderingContextBase { target: GLenum, internalformat: GLenum, pname: GLenum, @@ -3437,7 +3464,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) -@@ -10455,17 +10501,17 @@ interface WebGL2RenderingContextBase { +@@ -10353,17 +10399,17 @@ interface WebGL2RenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */ @@ -3458,7 +3485,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) -@@ -10485,20 +10531,20 @@ interface WebGL2RenderingContextBase { +@@ -10383,20 +10429,20 @@ interface WebGL2RenderingContextBase { */ getUniformIndices( program: WebGLProgram, @@ -3482,7 +3509,7 @@ x: GLint, y: GLint, width: GLsizei, -@@ -10691,7 +10737,7 @@ interface WebGL2RenderingContextBase { +@@ -10589,7 +10635,7 @@ interface WebGL2RenderingContextBase { */ transformFeedbackVaryings( program: WebGLProgram, @@ -3491,7 +3518,7 @@ bufferMode: GLenum, ): void; /** -@@ -11528,7 +11574,7 @@ interface WebGLActiveInfo { +@@ -11426,7 +11472,7 @@ interface WebGLActiveInfo { readonly type: GLenum; } @@ -3500,7 +3527,7 @@ prototype: WebGLActiveInfo; new (): WebGLActiveInfo; }; -@@ -11541,7 +11587,7 @@ declare var WebGLActiveInfo: { +@@ -11439,7 +11485,7 @@ declare var WebGLActiveInfo: { */ interface WebGLBuffer {} @@ -3509,7 +3536,7 @@ prototype: WebGLBuffer; new (): WebGLBuffer; }; -@@ -11561,7 +11607,7 @@ interface WebGLContextEvent extends Event { +@@ -11459,7 +11505,7 @@ interface WebGLContextEvent extends Event { readonly statusMessage: string; } @@ -3518,7 +3545,7 @@ prototype: WebGLContextEvent; new (type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent; }; -@@ -11574,7 +11620,7 @@ declare var WebGLContextEvent: { +@@ -11472,7 +11518,7 @@ declare var WebGLContextEvent: { */ interface WebGLFramebuffer {} @@ -3527,7 +3554,7 @@ prototype: WebGLFramebuffer; new (): WebGLFramebuffer; }; -@@ -11588,7 +11634,7 @@ declare var WebGLFramebuffer: { +@@ -11486,7 +11532,7 @@ declare var WebGLFramebuffer: { */ interface WebGLProgram {} @@ -3536,7 +3563,7 @@ prototype: WebGLProgram; new (): WebGLProgram; }; -@@ -11596,7 +11642,7 @@ declare var WebGLProgram: { +@@ -11494,7 +11540,7 @@ declare var WebGLProgram: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery) */ interface WebGLQuery {} @@ -3545,7 +3572,7 @@ prototype: WebGLQuery; new (): WebGLQuery; }; -@@ -11609,7 +11655,7 @@ declare var WebGLQuery: { +@@ -11507,7 +11553,7 @@ declare var WebGLQuery: { */ interface WebGLRenderbuffer {} @@ -3554,7 +3581,7 @@ prototype: WebGLRenderbuffer; new (): WebGLRenderbuffer; }; -@@ -11625,7 +11671,7 @@ interface WebGLRenderingContext +@@ -11523,7 +11569,7 @@ interface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {} @@ -3563,7 +3590,7 @@ prototype: WebGLRenderingContext; new (): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; -@@ -12273,7 +12319,7 @@ interface WebGLRenderingContextBase { +@@ -12175,7 +12221,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */ @@ -3572,7 +3599,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) -@@ -12372,7 +12418,7 @@ interface WebGLRenderingContextBase { +@@ -12274,7 +12320,7 @@ interface WebGLRenderingContextBase { getExtension(extensionName: 'WEBGL_draw_buffers'): WEBGL_draw_buffers | null; getExtension(extensionName: 'WEBGL_lose_context'): WEBGL_lose_context | null; getExtension(extensionName: 'WEBGL_multi_draw'): WEBGL_multi_draw | null; @@ -3581,7 +3608,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) -@@ -12381,12 +12427,12 @@ interface WebGLRenderingContextBase { +@@ -12283,12 +12329,12 @@ interface WebGLRenderingContextBase { target: GLenum, attachment: GLenum, pname: GLenum, @@ -3596,7 +3623,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) -@@ -12396,12 +12442,12 @@ interface WebGLRenderingContextBase { +@@ -12298,12 +12344,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */ @@ -3611,7 +3638,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) -@@ -12411,7 +12457,7 @@ interface WebGLRenderingContextBase { +@@ -12313,7 +12359,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */ @@ -3620,7 +3647,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) -@@ -12434,12 +12480,12 @@ interface WebGLRenderingContextBase { +@@ -12336,12 +12382,12 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getTexParameter) */ @@ -3635,7 +3662,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) -@@ -12452,7 +12498,7 @@ interface WebGLRenderingContextBase { +@@ -12354,7 +12400,7 @@ interface WebGLRenderingContextBase { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */ @@ -3644,7 +3671,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) -@@ -13211,7 +13257,7 @@ interface WebGLRenderingContextOverloads { +@@ -13113,7 +13159,7 @@ interface WebGLRenderingContextOverloads { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler) */ interface WebGLSampler {} @@ -3653,7 +3680,7 @@ prototype: WebGLSampler; new (): WebGLSampler; }; -@@ -13224,7 +13270,7 @@ declare var WebGLSampler: { +@@ -13126,7 +13172,7 @@ declare var WebGLSampler: { */ interface WebGLShader {} @@ -3662,7 +3689,7 @@ prototype: WebGLShader; new (): WebGLShader; }; -@@ -13254,7 +13300,7 @@ interface WebGLShaderPrecisionFormat { +@@ -13156,7 +13202,7 @@ interface WebGLShaderPrecisionFormat { readonly rangeMin: GLint; } @@ -3671,7 +3698,7 @@ prototype: WebGLShaderPrecisionFormat; new (): WebGLShaderPrecisionFormat; }; -@@ -13262,7 +13308,7 @@ declare var WebGLShaderPrecisionFormat: { +@@ -13164,7 +13210,7 @@ declare var WebGLShaderPrecisionFormat: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync) */ interface WebGLSync {} @@ -3680,7 +3707,7 @@ prototype: WebGLSync; new (): WebGLSync; }; -@@ -13275,7 +13321,7 @@ declare var WebGLSync: { +@@ -13177,7 +13223,7 @@ declare var WebGLSync: { */ interface WebGLTexture {} @@ -3689,7 +3716,7 @@ prototype: WebGLTexture; new (): WebGLTexture; }; -@@ -13286,7 +13332,7 @@ declare var WebGLTexture: { +@@ -13188,7 +13234,7 @@ declare var WebGLTexture: { */ interface WebGLTransformFeedback {} @@ -3698,7 +3725,7 @@ prototype: WebGLTransformFeedback; new (): WebGLTransformFeedback; }; -@@ -13300,7 +13346,7 @@ declare var WebGLTransformFeedback: { +@@ -13202,7 +13248,7 @@ declare var WebGLTransformFeedback: { */ interface WebGLUniformLocation {} @@ -3707,7 +3734,7 @@ prototype: WebGLUniformLocation; new (): WebGLUniformLocation; }; -@@ -13311,7 +13357,7 @@ declare var WebGLUniformLocation: { +@@ -13213,7 +13259,7 @@ declare var WebGLUniformLocation: { */ interface WebGLVertexArrayObject {} @@ -3716,7 +3743,7 @@ prototype: WebGLVertexArrayObject; new (): WebGLVertexArrayObject; }; -@@ -13370,22 +13416,22 @@ interface WebSocket extends EventTarget { +@@ -13272,22 +13318,22 @@ interface WebSocket extends EventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */ @@ -3743,7 +3770,7 @@ /** * Returns the subprotocol selected by the server, if any. It can be used in * conjunction with the array form of the constructor's second argument to -@@ -13430,7 +13476,7 @@ interface WebSocket extends EventTarget { +@@ -13332,7 +13378,7 @@ interface WebSocket extends EventTarget { readonly CLOSED: 3; addEventListener( type: K, @@ -3752,7 +3779,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13440,7 +13486,7 @@ interface WebSocket extends EventTarget { +@@ -13342,7 +13388,7 @@ interface WebSocket extends EventTarget { ): void; removeEventListener( type: K, @@ -3761,7 +3788,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13450,9 +13496,9 @@ interface WebSocket extends EventTarget { +@@ -13352,9 +13398,9 @@ interface WebSocket extends EventTarget { ): void; } @@ -3773,7 +3800,7 @@ readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; -@@ -13511,7 +13557,7 @@ interface WebTransport { +@@ -13413,7 +13459,7 @@ interface WebTransport { ): Promise; } @@ -3782,7 +3809,7 @@ prototype: WebTransport; new (url: string | URL, options?: WebTransportOptions): WebTransport; }; -@@ -13535,7 +13581,7 @@ interface WebTransportBidirectionalStream { +@@ -13437,7 +13483,7 @@ interface WebTransportBidirectionalStream { readonly writable: WritableStream; } @@ -3791,7 +3818,7 @@ prototype: WebTransportBidirectionalStream; new (): WebTransportBidirectionalStream; }; -@@ -13584,7 +13630,7 @@ interface WebTransportDatagramDuplexStream { +@@ -13486,7 +13532,7 @@ interface WebTransportDatagramDuplexStream { readonly writable: WritableStream; } @@ -3800,7 +3827,7 @@ prototype: WebTransportDatagramDuplexStream; new (): WebTransportDatagramDuplexStream; }; -@@ -13607,7 +13653,7 @@ interface WebTransportError extends DOMException { +@@ -13509,7 +13555,7 @@ interface WebTransportError extends DOMException { readonly streamErrorCode: number | null; } @@ -3809,7 +3836,7 @@ prototype: WebTransportError; new (message?: string, options?: WebTransportErrorOptions): WebTransportError; }; -@@ -13643,7 +13689,7 @@ interface WindowClient extends Client { +@@ -13545,7 +13591,7 @@ interface WindowClient extends Client { navigate(url: string | URL): Promise; } @@ -3818,7 +3845,7 @@ prototype: WindowClient; new (): WindowClient; }; -@@ -13702,21 +13748,24 @@ interface WindowOrWorkerGlobalScope { +@@ -13610,21 +13656,24 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -3847,7 +3874,7 @@ } interface WorkerEventMap extends AbstractWorkerEventMap { -@@ -13737,12 +13786,12 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13645,12 +13694,12 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/message_event) */ @@ -3862,7 +3889,7 @@ /** * Clones message and transmits it to worker's global environment. transfer * can be passed as a list of objects that are to be transferred rather than -@@ -13751,8 +13800,8 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13659,8 +13708,8 @@ interface Worker extends EventTarget, AbstractWorker { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage) */ @@ -3873,7 +3900,7 @@ /** * Aborts worker's associated global environment. * -@@ -13762,7 +13811,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13670,7 +13719,7 @@ interface Worker extends EventTarget, AbstractWorker { terminate(): void; addEventListener( type: K, @@ -3882,7 +3909,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13772,7 +13821,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13680,7 +13729,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; removeEventListener( type: K, @@ -3891,7 +3918,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13782,7 +13831,7 @@ interface Worker extends EventTarget, AbstractWorker { +@@ -13690,7 +13739,7 @@ interface Worker extends EventTarget, AbstractWorker { ): void; } @@ -3900,7 +3927,7 @@ prototype: Worker; new (scriptURL: string | URL, options?: WorkerOptions): Worker; }; -@@ -13827,27 +13876,27 @@ interface WorkerGlobalScope +@@ -13735,35 +13784,35 @@ interface WorkerGlobalScope * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/error_event) */ @@ -3924,17 +3951,25 @@ */ - ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null; + ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: - | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) + | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: - | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) + | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; /** * Returns workerGlobal. -@@ -13869,7 +13918,7 @@ interface WorkerGlobalScope +@@ -13785,7 +13834,7 @@ interface WorkerGlobalScope listener: ( this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K], @@ -3943,7 +3978,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -13882,7 +13931,7 @@ interface WorkerGlobalScope +@@ -13798,7 +13847,7 @@ interface WorkerGlobalScope listener: ( this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K], @@ -3952,7 +3987,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -13892,7 +13941,7 @@ interface WorkerGlobalScope +@@ -13808,7 +13857,7 @@ interface WorkerGlobalScope ): void; } @@ -3961,7 +3996,7 @@ prototype: WorkerGlobalScope; new (): WorkerGlobalScope; }; -@@ -13953,7 +14002,7 @@ interface WorkerLocation { +@@ -13869,7 +13918,7 @@ interface WorkerLocation { readonly search: string; } @@ -3970,7 +4005,7 @@ prototype: WorkerLocation; new (): WorkerLocation; }; -@@ -13986,7 +14035,7 @@ interface WorkerNavigator +@@ -13902,7 +13951,7 @@ interface WorkerNavigator readonly permissions: Permissions; } @@ -3979,7 +4014,7 @@ prototype: WorkerNavigator; new (): WorkerNavigator; }; -@@ -13998,7 +14047,7 @@ declare var WorkerNavigator: { +@@ -13914,7 +13963,7 @@ declare var WorkerNavigator: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream) */ @@ -3988,7 +4023,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) -@@ -14008,7 +14057,7 @@ interface WritableStream { +@@ -13924,7 +13973,7 @@ interface WritableStream { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */ @@ -3997,7 +4032,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) -@@ -14021,9 +14070,9 @@ interface WritableStream { +@@ -13937,9 +13986,9 @@ interface WritableStream { getWriter(): WritableStreamDefaultWriter; } @@ -4009,7 +4044,7 @@ underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy, ): WritableStream; -@@ -14048,10 +14097,10 @@ interface WritableStreamDefaultController { +@@ -13964,10 +14013,10 @@ interface WritableStreamDefaultController { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */ @@ -4022,7 +4057,7 @@ prototype: WritableStreamDefaultController; new (): WritableStreamDefaultController; }; -@@ -14065,7 +14114,7 @@ declare var WritableStreamDefaultController: { +@@ -13981,7 +14030,7 @@ declare var WritableStreamDefaultController: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter) */ @@ -4031,7 +4066,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) -@@ -14085,7 +14134,7 @@ interface WritableStreamDefaultWriter { +@@ -14001,7 +14050,7 @@ interface WritableStreamDefaultWriter { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */ @@ -4040,7 +4075,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) -@@ -14103,9 +14152,9 @@ interface WritableStreamDefaultWriter { +@@ -14019,9 +14068,9 @@ interface WritableStreamDefaultWriter { write(chunk?: W): Promise; } @@ -4052,7 +4087,7 @@ }; interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { -@@ -14125,7 +14174,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14041,7 +14090,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */ @@ -4061,7 +4096,7 @@ /** * Returns client's state. * -@@ -14139,7 +14188,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14055,7 +14104,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response) */ @@ -4070,7 +4105,7 @@ /** * Returns response as text. * -@@ -14251,9 +14300,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14167,9 +14216,9 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open) */ @@ -4082,7 +4117,7 @@ url: string | URL, async: boolean, username?: string | null, -@@ -14300,7 +14349,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14216,7 +14265,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { readonly DONE: 4; addEventListener( type: K, @@ -4091,7 +4126,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14310,7 +14359,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14226,7 +14275,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; removeEventListener( type: K, @@ -4100,7 +4135,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14320,7 +14369,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { +@@ -14236,7 +14285,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget { ): void; } @@ -4109,7 +4144,7 @@ prototype: XMLHttpRequest; new (): XMLHttpRequest; readonly UNSENT: 0; -@@ -14345,19 +14394,19 @@ interface XMLHttpRequestEventTargetEventMap { +@@ -14261,19 +14310,19 @@ interface XMLHttpRequestEventTargetEventMap { * Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget) */ interface XMLHttpRequestEventTarget extends EventTarget { @@ -4137,7 +4172,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14370,7 +14419,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -14286,7 +14335,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { listener: ( this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4146,7 +4181,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14380,7 +14429,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { +@@ -14296,7 +14345,7 @@ interface XMLHttpRequestEventTarget extends EventTarget { ): void; } @@ -4155,7 +4190,7 @@ prototype: XMLHttpRequestEventTarget; new (): XMLHttpRequestEventTarget; }; -@@ -14395,7 +14444,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14311,7 +14360,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4164,7 +4199,7 @@ options?: boolean | AddEventListenerOptions, ): void; addEventListener( -@@ -14408,7 +14457,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14324,7 +14373,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { listener: ( this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K], @@ -4173,7 +4208,7 @@ options?: boolean | EventListenerOptions, ): void; removeEventListener( -@@ -14418,7 +14467,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { +@@ -14334,7 +14383,7 @@ interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { ): void; } @@ -4182,7 +4217,7 @@ prototype: XMLHttpRequestUpload; new (): XMLHttpRequestUpload; }; -@@ -14429,7 +14478,7 @@ interface Console { +@@ -14345,7 +14394,7 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */ @@ -4191,7 +4226,7 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) -@@ -14449,32 +14498,32 @@ interface Console { +@@ -14365,32 +14414,32 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ @@ -4223,14 +4258,14 @@ + group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ - groupCollapsed(...data: any[]): void; + groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) -@@ -14484,17 +14533,17 @@ interface Console { + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) +@@ -14400,17 +14449,17 @@ interface Console { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ @@ -4251,9 +4286,9 @@ /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) -@@ -14509,26 +14558,26 @@ interface Console { +@@ -14425,26 +14474,26 @@ interface Console { * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ - timeLog(label?: string, ...data: any[]): void; + timeLog(label?: string, ...data: readonly unknown[]): void; @@ -4283,7 +4318,7 @@ prototype: CompileError; new (message?: string): CompileError; (message?: string): CompileError; -@@ -14551,7 +14600,7 @@ declare namespace WebAssembly { +@@ -14459,7 +14508,7 @@ declare namespace WebAssembly { valueOf(): ValueTypeMap[T]; } @@ -4292,7 +4327,7 @@ prototype: Global; new ( descriptor: GlobalDescriptor, -@@ -14571,14 +14620,14 @@ declare namespace WebAssembly { +@@ -14479,14 +14528,14 @@ declare namespace WebAssembly { readonly exports: Exports; } @@ -4309,7 +4344,7 @@ prototype: LinkError; new (message?: string): LinkError; (message?: string): LinkError; -@@ -14601,7 +14650,7 @@ declare namespace WebAssembly { +@@ -14509,7 +14558,7 @@ declare namespace WebAssembly { grow(delta: number): number; } @@ -4318,7 +4353,7 @@ prototype: Memory; new (descriptor: MemoryDescriptor): Memory; }; -@@ -14612,7 +14661,7 @@ declare namespace WebAssembly { +@@ -14520,7 +14569,7 @@ declare namespace WebAssembly { */ interface Module {} @@ -4327,7 +4362,7 @@ prototype: Module; new (bytes: BufferSource): Module; /** -@@ -14634,7 +14683,7 @@ declare namespace WebAssembly { +@@ -14542,7 +14591,7 @@ declare namespace WebAssembly { interface RuntimeError extends Error {} @@ -4336,7 +4371,7 @@ prototype: RuntimeError; new (message?: string): RuntimeError; (message?: string): RuntimeError; -@@ -14654,22 +14703,22 @@ declare namespace WebAssembly { +@@ -14562,22 +14611,22 @@ declare namespace WebAssembly { * [MDN * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */ @@ -4364,7 +4399,7 @@ }; interface GlobalDescriptor { -@@ -14702,7 +14751,7 @@ declare namespace WebAssembly { +@@ -14610,7 +14659,7 @@ declare namespace WebAssembly { interface ValueTypeMap { anyfunc: Function; @@ -4373,7 +4408,7 @@ f32: number; f64: number; i32: number; -@@ -14771,7 +14820,7 @@ interface FrameRequestCallback { +@@ -14679,7 +14728,7 @@ interface FrameRequestCallback { } interface LockGrantedCallback { @@ -4382,7 +4417,7 @@ } interface OnErrorEventHandlerNonNull { -@@ -14781,19 +14830,19 @@ interface OnErrorEventHandlerNonNull { +@@ -14689,19 +14738,19 @@ interface OnErrorEventHandlerNonNull { lineno?: number, colno?: number, error?: Error, @@ -4405,7 +4440,7 @@ } interface TransformerFlushCallback { -@@ -14801,7 +14850,7 @@ interface TransformerFlushCallback { +@@ -14709,7 +14758,7 @@ interface TransformerFlushCallback { } interface TransformerStartCallback { @@ -4414,7 +4449,7 @@ } interface TransformerTransformCallback { -@@ -14812,7 +14861,7 @@ interface TransformerTransformCallback { +@@ -14720,7 +14769,7 @@ interface TransformerTransformCallback { } interface UnderlyingSinkAbortCallback { @@ -4423,7 +4458,7 @@ } interface UnderlyingSinkCloseCallback { -@@ -14820,7 +14869,7 @@ interface UnderlyingSinkCloseCallback { +@@ -14728,7 +14777,7 @@ interface UnderlyingSinkCloseCallback { } interface UnderlyingSinkStartCallback { @@ -4432,7 +4467,7 @@ } interface UnderlyingSinkWriteCallback { -@@ -14831,7 +14880,7 @@ interface UnderlyingSinkWriteCallback { +@@ -14739,7 +14788,7 @@ interface UnderlyingSinkWriteCallback { } interface UnderlyingSourceCancelCallback { @@ -4441,7 +4476,7 @@ } interface UnderlyingSourcePullCallback { -@@ -14839,7 +14888,7 @@ interface UnderlyingSourcePullCallback { +@@ -14747,7 +14796,7 @@ interface UnderlyingSourcePullCallback { } interface UnderlyingSourceStartCallback { @@ -4450,7 +4485,7 @@ } interface VideoFrameOutputCallback { -@@ -14861,27 +14910,27 @@ interface WebCodecsErrorCallback { +@@ -14769,27 +14818,27 @@ interface WebCodecsErrorCallback { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name) */ @@ -4485,7 +4520,7 @@ | null; /** * Aborts dedicatedWorkerGlobal. -@@ -14898,9 +14947,12 @@ declare function close(): void; +@@ -14806,9 +14855,12 @@ declare function close(): void; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage) */ @@ -4500,7 +4535,7 @@ options?: StructuredSerializeOptions, ): void; /** -@@ -14918,47 +14970,47 @@ declare function dispatchEvent(event: Event): boolean; +@@ -14826,55 +14878,55 @@ declare function dispatchEvent(event: Event): boolean; * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location) */ @@ -4550,11 +4585,19 @@ +declare const ononline: + | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ -declare var onrejectionhandled: - | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) +declare const onrejectionhandled: + | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ -declare var onunhandledrejection: - | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) +declare const onunhandledrejection: @@ -4562,7 +4605,7 @@ | null; /** * Returns workerGlobal. -@@ -14966,7 +15018,7 @@ declare var onunhandledrejection: +@@ -14882,7 +14934,7 @@ declare var onunhandledrejection: * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ @@ -4571,7 +4614,7 @@ /** * Fetches each URL in urls, executes them one-by-one in the order they are * passed, and then returns (or throws if something went amiss). -@@ -14985,31 +15037,31 @@ declare function importScripts(...urls: (string | URL)[]): void; +@@ -14901,34 +14953,34 @@ declare function importScripts(...urls: (string | URL)[]): void; */ declare function dispatchEvent(event: Event): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fonts) */ @@ -4580,38 +4623,41 @@ /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ -declare var caches: CacheStorage; +declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ -declare var crossOriginIsolated: boolean; +declare const crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ -declare var crypto: Crypto; +declare const crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ -declare var indexedDB: IDBFactory; +declare const indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ -declare var isSecureContext: boolean; +declare const isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ -declare var origin: string; +declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ -declare var performance: Performance; +declare const performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ -@@ -15039,21 +15091,21 @@ declare function fetch( + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ +@@ -14958,21 +15010,21 @@ declare function fetch( /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */ @@ -4637,7 +4683,7 @@ value: T, options?: StructuredSerializeOptions, ): T; -@@ -15074,7 +15126,7 @@ declare function addEventListener< +@@ -14993,7 +15045,7 @@ declare function addEventListener< listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -4646,7 +4692,7 @@ options?: boolean | AddEventListenerOptions, ): void; declare function addEventListener( -@@ -15089,7 +15141,7 @@ declare function removeEventListener< +@@ -15008,7 +15060,7 @@ declare function removeEventListener< listener: ( this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K], @@ -4655,7 +4701,7 @@ options?: boolean | EventListenerOptions, ): void; declare function removeEventListener( -@@ -15113,7 +15165,7 @@ type DOMHighResTimeStamp = number; +@@ -15032,7 +15084,7 @@ type DOMHighResTimeStamp = number; type EpochTimeStamp = number; type EventListenerOrEventListenerObject = EventListener | EventListenerObject; type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams; @@ -4664,7 +4710,7 @@ type FormDataEntryValue = File | string; type GLbitfield = number; type GLboolean = boolean; -@@ -15128,10 +15180,18 @@ type GLsizeiptr = number; +@@ -15047,10 +15099,18 @@ type GLsizeiptr = number; type GLuint = number; type GLuint64 = number; type HashAlgorithmIdentifier = AlgorithmIdentifier; @@ -4686,7 +4732,7 @@ type MessageEventSource = MessagePort | ServiceWorker; type NamedCurve = string; type OffscreenRenderingContext = -@@ -15140,7 +15200,7 @@ type OffscreenRenderingContext = +@@ -15059,7 +15119,7 @@ type OffscreenRenderingContext = | WebGLRenderingContext | WebGL2RenderingContext; type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; @@ -4695,7 +4741,7 @@ type PushMessageDataInit = BufferSource | string; type ReadableStreamController = | ReadableStreamDefaultController -@@ -15151,7 +15211,7 @@ type ReadableStreamReadResult = +@@ -15070,7 +15130,7 @@ type ReadableStreamReadResult = type ReadableStreamReader = | ReadableStreamDefaultReader | ReadableStreamBYOBReader; @@ -4704,7 +4750,7 @@ type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -@@ -15164,7 +15224,7 @@ type Transferable = +@@ -15084,7 +15144,7 @@ type Transferable = | TransformStream | VideoFrame | ArrayBuffer; diff --git a/packages/strict-ts-lib/output/diff/lib.webworker.iterable.diff b/packages/strict-ts-lib/output/diff/lib.webworker.iterable.diff index 3085b6159e..d6328e49ce 100644 --- a/packages/strict-ts-lib/output/diff/lib.webworker.iterable.diff +++ b/packages/strict-ts-lib/output/diff/lib.webworker.iterable.diff @@ -19,68 +19,66 @@ ///////////////////////////// /// Worker Iterable APIs -@@ -21,21 +7,21 @@ and limitations under the License. +@@ -29,21 +15,21 @@ interface AbortSignal { interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSNumericValue]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSNumericValue]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSTransformComponent]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSTransformComponent]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; -- entries(): IterableIterator<[number, CSSUnparsedSegment]>; -+ entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; +- entries(): ArrayIterator<[number, CSSUnparsedSegment]>; ++ entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; + } +@@ -91,9 +77,9 @@ interface FormDataIterator } -@@ -78,9 +64,9 @@ interface FileList { - interface FontFaceSet extends Set {} interface FormData { -- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; ++ [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ -- entries(): IterableIterator<[string, FormDataEntryValue]>; -+ entries(): IterableIterator; +- entries(): FormDataIterator<[string, FormDataEntryValue]>; ++ entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ -@@ -88,12 +74,12 @@ interface FormData { +@@ -106,12 +92,12 @@ interface HeadersIterator } interface Headers { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): HeadersIterator<[string, string]>; ++ [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): HeadersIterator<[string, string]>; ++ entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. -@@ -141,7 +127,7 @@ interface IDBObjectStore { +@@ -159,13 +145,13 @@ interface IDBObjectStore { ): IDBIndex; } -interface MessageEvent { +interface MessageEvent { - /** - * @deprecated - * -@@ -152,7 +138,7 @@ interface MessageEvent { + /** @deprecated */ + initMessageEvent( type: string, bubbles?: boolean, cancelable?: boolean, @@ -89,32 +87,32 @@ origin?: string, lastEventId?: string, source?: MessageEventSource | null, -@@ -161,8 +147,10 @@ interface MessageEvent { - } +@@ -180,10 +166,10 @@ interface StylePropertyMapReadOnlyIterator interface StylePropertyMapReadOnly { -- [Symbol.iterator](): IterableIterator<[string, Iterable]>; -- entries(): IterableIterator<[string, Iterable]>; -+ [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< +- [string, Iterable] + readonly [string, Iterable] -+ >; -+ entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; - } -@@ -266,9 +254,9 @@ interface SubtleCrypto { + >; + entries(): StylePropertyMapReadOnlyIterator< +- [string, Iterable] ++ readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; +@@ -293,9 +279,9 @@ interface URLSearchParamsIterator } interface URLSearchParams { -- [Symbol.iterator](): IterableIterator<[string, string]>; -+ [Symbol.iterator](): IterableIterator; +- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; ++ [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ -- entries(): IterableIterator<[string, string]>; -+ entries(): IterableIterator; +- entries(): URLSearchParamsIterator<[string, string]>; ++ entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ -@@ -384,7 +372,7 @@ interface WebGL2RenderingContextBase { +@@ -411,7 +397,7 @@ interface WebGL2RenderingContextBase { program: WebGLProgram, uniformIndices: Iterable, pname: GLenum, diff --git a/packages/strict-ts-lib/output/lib-files/lib.dom.asynciterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.dom.asynciterable.d.ts index 1217ef100d..3158cd9aca 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.dom.asynciterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.dom.asynciterable.d.ts @@ -5,11 +5,32 @@ /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output/lib-files/lib.dom.d.ts b/packages/strict-ts-lib/output/lib-files/lib.dom.d.ts index c8865e8a7e..a5f251d773 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.dom.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.dom.d.ts @@ -204,6 +204,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -270,6 +273,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -559,6 +566,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -572,6 +581,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: readonly ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -661,10 +675,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -838,6 +848,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1194,6 +1208,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: unknown; } @@ -1385,11 +1403,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1520,7 +1533,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: readonly RTCRtpCodecCapability[]; + codecs: readonly RTCRtpCodec[]; headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } @@ -1531,8 +1544,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1647,6 +1658,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1805,21 +1831,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2298,6 +2325,16 @@ interface ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) + */ + ariaBrailleLabel: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) + */ + ariaBrailleRoleDescription: string | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) @@ -2570,6 +2607,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -3409,10 +3451,6 @@ declare const AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) - */ automationRate: AutomationRate; /** * [MDN @@ -3969,7 +4007,12 @@ declare const BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: unknown; } @@ -4475,7 +4518,7 @@ interface CSSImportRule extends CSSRule { readonly media: MediaList; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** @@ -4913,7 +4956,7 @@ interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** @@ -5052,6 +5095,25 @@ declare const CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) + */ + readonly end: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) + */ + readonly start: string | null; +} + +declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -5087,6 +5149,17 @@ declare const CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) + */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and * various style-related methods and properties. @@ -5210,7 +5283,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -5506,6 +5578,10 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) + */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -5541,20 +5617,12 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) - */ containIntrinsicBlockSize: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) - */ containIntrinsicInlineSize: string; /** * [MDN @@ -5574,6 +5642,11 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) + */ + contentVisibility: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) @@ -6334,6 +6407,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -6351,6 +6428,11 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) + */ + transitionBehavior: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) @@ -6380,6 +6462,11 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) + */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -6624,8 +6711,10 @@ interface CSSStyleDeclaration { */ webkitJustifyContent: string; /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ webkitLineClamp: string; /** @@ -6824,6 +6913,11 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) + */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -6842,6 +6936,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) @@ -7753,6 +7849,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -8092,6 +8193,11 @@ declare const ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) + */ + readonly presentationStyle: PresentationStyle; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) @@ -8110,6 +8216,11 @@ declare const ClipboardItem: { items: Record>, options?: ClipboardItemOptions, ): ClipboardItem; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) + */ + supports(type: string): boolean; }; /** @@ -8246,6 +8357,26 @@ declare const ConstantSourceNode: { ): ConstantSourceNode; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) + */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) + */ + readonly skipped: boolean; +} + +declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, + eventInitDict?: ContentVisibilityAutoStateChangeEventInit, + ): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often * used to achieve a reverb effect. A ConvolverNode always has exactly one input @@ -8481,6 +8612,19 @@ declare const CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, + thisArg?: unknown, + ): void; +} + +declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a * method or accessing a property of a web API. @@ -8642,20 +8786,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -8686,165 +8822,45 @@ declare const WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -8858,48 +8874,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -8998,10 +8985,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -9022,18 +9005,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -9061,6 +9036,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -10066,12 +10045,7 @@ interface Document * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -10207,6 +10181,9 @@ interface Document createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent( + eventInterface: 'ContentVisibilityAutoStateChangeEvent', + ): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -10267,6 +10244,7 @@ interface Document createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -10521,9 +10499,6 @@ interface Document * the indeterminate state. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -10553,24 +10528,21 @@ interface Document * the given command. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) + */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -10614,6 +10586,11 @@ interface Document declare const Document: { prototype: Document; new (): Document; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) + */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -10926,7 +10903,6 @@ interface Element ARIAMixin, Animatable, ChildNode, - InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { @@ -10978,6 +10954,11 @@ interface Element * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) + */ + innerHTML: string; /** * Returns the local name. * @@ -11182,6 +11163,8 @@ interface Element namespace: string | null, localName: string, ): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is * qualifiedName, and false otherwise. @@ -11222,7 +11205,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) @@ -11278,7 +11261,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -11329,6 +11312,11 @@ interface Element * Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) @@ -11379,6 +11367,10 @@ declare const Element: { }; interface ElementCSSInlineStyle { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) + */ readonly attributeStyleMap: StylePropertyMap; /** * [MDN @@ -11435,6 +11427,11 @@ interface ElementInternals extends ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) + */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's * target element was to be checked for validity. @@ -11550,30 +11547,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -11930,25 +11907,11 @@ declare const EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -12655,7 +12618,7 @@ declare const GainNode: { /** * This Gamepad API interface defines an individual gamepad or other controller, * allowing access to information such as button presses, axis positions, and - * id. Available only in secure contexts. + * id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -12680,7 +12643,11 @@ interface Gamepad { * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) + */ + readonly vibrationActuator: GamepadHapticActuator; } declare const Gamepad: { @@ -12691,7 +12658,6 @@ declare const Gamepad: { /** * An individual button of a gamepad or other controller, allowing access to the * current state of different types of buttons available on the control device. - * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -12721,8 +12687,7 @@ declare const GamepadButton: { /** * This Gamepad API interface contains references to gamepads connected to the * system, which is what the gamepad events Window.gamepadconnected and - * Window.gamepaddisconnected are fired in response to. Available only in secure - * contexts. + * Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -12750,9 +12715,8 @@ declare const GamepadEvent: { interface GamepadHapticActuator { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) + * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ - readonly type: GamepadHapticActuatorType; playEffect( type: GamepadHapticEffectType, params?: GamepadEffectParameters, @@ -12858,6 +12822,11 @@ interface GeolocationCoordinates { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ + toJSON(): unknown; } declare const GeolocationCoordinates: { @@ -12882,6 +12851,11 @@ interface GeolocationPosition { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ + toJSON(): unknown; } declare const GeolocationPosition: { @@ -12936,7 +12910,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -13087,7 +13063,7 @@ interface GlobalEventHandlers { onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** @@ -13127,6 +13103,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. @@ -13139,6 +13120,11 @@ interface GlobalEventHandlers { oncontextmenu: | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -13364,7 +13350,7 @@ interface GlobalEventHandlers { onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: | ((this: GlobalEventHandlers, ev: PointerEvent) => unknown) @@ -13848,18 +13834,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** @@ -13878,11 +13858,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) + */ ping: string; /** * [MDN @@ -13907,18 +13888,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * of the link. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -13975,34 +13950,21 @@ declare const HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) - */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) + */ ping: string; /** * [MDN @@ -14019,12 +13981,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14111,9 +14068,6 @@ interface HTMLBRElement extends HTMLElement { * positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener( @@ -14150,12 +14104,7 @@ declare const HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14202,47 +14151,17 @@ interface HTMLBodyElementEventMap * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener( type: K, @@ -14289,64 +14208,37 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -14360,32 +14252,18 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) */ readonly willValidate: boolean; /** @@ -14393,10 +14271,6 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -14592,12 +14466,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -14674,12 +14543,7 @@ declare const HTMLDataElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -14861,9 +14725,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener( @@ -14949,6 +14810,10 @@ interface HTMLElement * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) + */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -15088,7 +14953,12 @@ declare const HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -15096,10 +14966,20 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener( @@ -15138,61 +15018,29 @@ declare const HTMLEmbedElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) - */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) - */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) */ readonly validity: ValidityState; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) */ readonly willValidate: boolean; /** @@ -15200,10 +15048,6 @@ interface HTMLFieldSetElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -15353,12 +15197,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -15402,12 +15241,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -15421,9 +15255,6 @@ interface HTMLFormElement extends HTMLElement { /** * Returns whether a form will validate when it is submitted, without having * to submit it. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) */ checkValidity(): boolean; /** @@ -15479,46 +15310,30 @@ declare const HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** @@ -15526,9 +15341,6 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** @@ -15536,45 +15348,30 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener( @@ -15768,9 +15565,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener( @@ -15957,12 +15751,17 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) + */ allow: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) + */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -15982,9 +15781,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -15994,14 +15790,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** @@ -16009,9 +15806,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** @@ -16019,9 +15813,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -16036,14 +15827,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) + */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -16194,12 +15986,7 @@ interface HTMLImageElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -16329,12 +16116,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -16361,49 +16143,27 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** * When set, overrides the rendering of checkbox controls so that the current @@ -16415,12 +16175,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** * Defines the maximum acceptable value for an input element with @@ -16455,36 +16210,35 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Gets or sets a string containing a regular expression that the user's input * must match. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) */ pattern: string; /** * Gets or sets a text string that is displayed in an input field as a hint or * prompt to users as the format or type of information they need to enter.The * text appears in an input field until the user puts focus on the field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ @@ -16496,7 +16250,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use @@ -16510,17 +16269,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ @@ -16543,19 +16296,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) */ readonly willValidate: boolean; /** @@ -16825,18 +16570,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; - disabled: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ - fetchPriority: string; + disabled: boolean; /** - * Sets or retrieves a destination URL or an anchor point. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ + fetchPriority: string; + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -16847,6 +16591,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) + */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -16875,10 +16623,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) - */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -16886,7 +16630,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener( type: K, @@ -16926,9 +16675,6 @@ interface HTMLMapElement extends HTMLElement { /** * Retrieves a collection of the area objects defined for the given map * object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) */ readonly areas: HTMLCollection; /** @@ -17163,10 +16909,6 @@ interface HTMLMediaElement extends HTMLElement { onencrypted: | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. @@ -17184,12 +16926,7 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -17224,9 +16961,6 @@ interface HTMLMediaElement extends HTMLElement { /** * Gets a flag that indicates whether the client is currently moving to a new * playback position in the media resource. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) */ readonly seeking: boolean; /** @@ -17260,10 +16994,6 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) - */ addTextTrack( kind: TextTrackKind, label?: string, @@ -17370,12 +17100,7 @@ declare const HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -17411,17 +17136,32 @@ declare const HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; /** * Gets or sets information used to bind the value of a content attribute of a * meta element to an HTTP response header. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) */ httpEquiv: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) + */ media: string; /** * Sets or retrieves the value specified in the content attribute of the meta * object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) */ name: string; /** @@ -17429,6 +17169,9 @@ interface HTMLMetaElement extends HTMLElement { * property specified for the object. * * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener( @@ -17467,40 +17210,16 @@ declare const HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) - */ high: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) - */ low: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) - */ max: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) - */ min: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) - */ optimum: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) - */ value: number; addEventListener( type: K, @@ -17538,19 +17257,9 @@ declare const HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener( type: K, @@ -17587,12 +17296,7 @@ declare const HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** * [MDN @@ -17647,46 +17351,27 @@ declare const HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own * archive functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** @@ -17694,9 +17379,6 @@ interface HTMLObjectElement extends HTMLElement { * object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -17718,12 +17400,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -17739,12 +17416,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -17757,9 +17429,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -17773,8 +17442,10 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves the URL, often with a bookmark extension (#name), to use * as a client-side image map. * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -17795,12 +17466,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -17825,15 +17491,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) - */ getSVGDocument(): Document | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -17881,17 +17539,10 @@ declare const HTMLObjectElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) - */ disabled: boolean; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) */ label: string; addEventListener( @@ -17933,60 +17584,25 @@ declare const HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) - */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; /** * Sets or retrieves the value which is returned to the server when the form * control is submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) */ value: string; addEventListener( @@ -18034,9 +17650,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * When set to a greater number, adds new blank option elements to that * container. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** @@ -18044,9 +17657,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * selected item. * * Can be set, to change the selection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -18061,20 +17671,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * This method will throw a "HierarchyRequestError" DOMException if element is * an ancestor of the element into which it is to be inserted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add( element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null, ): void; - /** - * Removes the item with index index from the collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -18123,76 +17725,28 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) - */ defaultValue: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) - */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) - */ readonly htmlFor: DOMTokenList; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) - */ name: string; - /** - * Returns the string "output". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) - */ readonly validationMessage: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) - */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) - */ readonly willValidate: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) - */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) - */ reportValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) - */ setCustomValidity(error: string): void; addEventListener( type: K, @@ -18233,9 +17787,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener( @@ -18285,9 +17836,6 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** @@ -18295,27 +17843,18 @@ interface HTMLParamElement extends HTMLElement { * attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener( @@ -18394,9 +17933,6 @@ interface HTMLPreElement extends HTMLElement { * functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener( @@ -18505,12 +18041,7 @@ declare const HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener( type: K, @@ -18547,6 +18078,10 @@ declare const HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) + */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -18559,7 +18094,12 @@ interface HTMLScriptElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -18567,6 +18107,10 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) + */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -18574,7 +18118,15 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) + */ integrity: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) + */ noModule: boolean; /** * [MDN @@ -18584,11 +18136,24 @@ interface HTMLScriptElement extends HTMLElement { /** * Retrieves the URL to an external file that contains the source code or * data. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener( type: K, @@ -18629,10 +18194,6 @@ declare const HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) - */ autocomplete: AutoFill; /** * [MDN @@ -18651,27 +18212,14 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can * be selected from a list. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -18680,12 +18228,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -18699,12 +18242,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE @@ -18713,23 +18251,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; + readonly type: 'select-one' | 'select-multiple'; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) */ readonly validity: ValidityState; /** @@ -18743,9 +18275,6 @@ interface HTMLSelectElement extends HTMLElement { /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) */ readonly willValidate: boolean; /** @@ -18809,10 +18338,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -18914,38 +18439,23 @@ declare const HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { - height: number; /** - * Gets or sets the intended media type of the media source. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ + height: number; + /** Gets or sets the intended media type of the media source. */ media: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) - */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) - */ srcset: string; + /** Gets or sets the MIME type of a media resource. */ + type: string; /** - * Gets or sets the MIME type of a media resource. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ - type: string; width: number; addEventListener( type: K, @@ -19077,9 +18587,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener( @@ -19146,9 +18653,6 @@ interface HTMLTableCellElement extends HTMLElement { * associated with the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -19199,9 +18703,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -19239,9 +18740,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener( @@ -19328,9 +18826,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener( @@ -19662,9 +19157,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -19709,12 +19201,7 @@ interface HTMLTableRowElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells @@ -19787,9 +19274,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -19813,12 +19297,7 @@ interface HTMLTableSectionElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows @@ -19890,7 +19369,26 @@ interface HTMLTemplateElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) + */ + shadowRootClonable: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) + */ + shadowRootDelegatesFocus: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) + */ shadowRootMode: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) + */ + shadowRootSerializable: boolean; addEventListener( type: K, listener: ( @@ -19932,10 +19430,6 @@ declare const HTMLTemplateElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) - */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -19978,12 +19472,13 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; + readonly textLength: number; /** + * Retrieves the type of control. + * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ - readonly textLength: number; - /** Retrieves the type of control. */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the @@ -20011,10 +19506,6 @@ interface HTMLTextAreaElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) - */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -20163,42 +19654,19 @@ declare const HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) - */ default: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) - */ kind: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) - */ label: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) - */ readonly readyState: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) - */ srclang: string; /** * Returns the TextTrack object corresponding to the text track of the track * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) */ readonly track: TextTrack; readonly NONE: 0; @@ -20244,19 +19712,9 @@ declare const HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener( type: K, @@ -20396,6 +19854,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) + */ cancelVideoFrameCallback(handle: number): void; /** * [MDN @@ -20407,6 +19869,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) + */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -21496,7 +20962,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -21738,12 +21204,9 @@ declare const ImageData: { ): ImageData; }; -interface InnerHTML { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -22061,6 +21524,53 @@ declare const KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) + */ +interface LargestContentfulPaint extends PerformanceEntry { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) + */ + readonly element: Element | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) + */ + readonly id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) + */ + readonly loadTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ + readonly renderTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) + */ + readonly size: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) + */ + readonly url: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ + toJSON(): unknown; +} + +declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** * [MDN @@ -22972,6 +22482,7 @@ interface MediaKeys { * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) @@ -23326,20 +22837,8 @@ interface MediaSource extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) - */ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN @@ -23401,6 +22900,11 @@ interface MediaSource extends EventTarget { declare const MediaSource: { prototype: MediaSource; new (): MediaSource; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) + */ + readonly canConstructInDedicatedWorker: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) @@ -23408,6 +22912,14 @@ declare const MediaSource: { isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -23772,12 +23284,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -23885,35 +23392,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -23934,26 +23430,11 @@ declare const MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -24679,7 +24160,7 @@ interface NavigatorPlugins { * @deprecated * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** @@ -25521,7 +25002,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -25649,11 +25138,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -27097,9 +26581,6 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** @@ -27107,8 +26588,6 @@ interface Plugin { * platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -27122,24 +26601,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -27162,33 +26632,13 @@ declare const Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -27282,6 +26732,7 @@ declare const PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or * replaceState(). @@ -27394,6 +26845,10 @@ declare const PromiseRejectionEvent: { * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) + */ readonly authenticatorAttachment: string | null; /** * [MDN @@ -27797,21 +27252,17 @@ interface RTCDtlsTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; - onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ + onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) - */ getRemoteCertificates(): ArrayBuffer[]; addEventListener( type: K, @@ -28043,6 +27494,11 @@ declare const RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -28437,21 +27893,9 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * 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; readonly port: number | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) - */ readonly url: string; } @@ -28493,6 +27937,11 @@ declare const RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) + */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) @@ -28653,7 +28102,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) @@ -28682,6 +28131,10 @@ interface RTCSctpTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) + */ onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN @@ -28750,7 +28203,7 @@ interface RTCSessionDescription { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): unknown; + toJSON(): RTCSessionDescriptionInit; } declare const RTCSessionDescription: { @@ -28857,7 +28310,7 @@ interface Range extends AbstractRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) @@ -29262,6 +28715,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -29348,9 +28805,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -29462,6 +28916,10 @@ interface ResizeObserverEntry { * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) + */ readonly devicePixelContentBoxSize: ReadonlyArray; /** * [MDN @@ -29765,7 +29223,15 @@ declare const SVGAnimatedBoolean: { * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) + */ readonly animVal: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) + */ baseVal: number; } @@ -29796,7 +29262,15 @@ declare const SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) + */ readonly animVal: SVGLength; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) + */ readonly baseVal: SVGLength; } @@ -30358,20 +29832,8 @@ declare const SVGFEBlendElement: { interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) - */ readonly in1: SVGAnimatedString; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) - */ readonly type: SVGAnimatedEnumeration; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) - */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -31719,10 +31181,6 @@ declare const SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) - */ crossOrigin: string | null; /** * [MDN @@ -33316,6 +32774,10 @@ interface ScreenOrientation extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) + */ onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN @@ -33521,6 +32983,11 @@ interface Selection { * Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) + */ + readonly direction: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) @@ -33911,7 +33378,12 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) + */ + readonly clonable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) @@ -33919,14 +33391,34 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) + */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) + */ + readonly serializable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) + */ + getHTML(options?: GetHTMLOptions): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * Throws a "NotSupportedError" DOMException if context object is a shadow * root. @@ -34038,30 +33530,10 @@ interface SourceBuffer extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) - */ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN @@ -34136,15 +33608,7 @@ interface SourceBufferList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) - */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -35306,6 +34770,22 @@ declare const TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + view?: Window | null, + data?: string, + ): void; +} + +declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the * CanvasRenderingContext2D.measureText() method. @@ -35674,7 +35154,7 @@ interface TextTrackList extends EventTarget { onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** @@ -36144,12 +35624,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -36322,36 +35807,13 @@ declare const VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) - */ regionAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) - */ regionAnchorY: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) - */ scroll: ScrollSetting; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) - */ viewportAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) - */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -36373,10 +35835,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) - */ readonly customError: boolean; /** * [MDN @@ -36413,10 +35871,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) - */ readonly valid: boolean; /** * [MDN @@ -36479,6 +35933,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -36535,6 +35993,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -36553,6 +36015,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -36574,6 +36040,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -36605,6 +36075,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -36675,6 +36149,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -36725,6 +36203,35 @@ declare const VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) + */ + readonly finished: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) + */ + readonly ready: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) + */ + readonly updateCallbackDone: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) + */ + skipTransition(): void; +} + +declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -37861,7 +37368,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -39595,6 +39102,10 @@ interface WebGLRenderingContextBase { * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -40985,7 +40496,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -41572,7 +41083,11 @@ interface Window readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** * [MDN @@ -41897,30 +41412,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -42792,7 +42313,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -42822,12 +42343,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -42852,12 +42373,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -43196,15 +42717,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -43586,6 +43099,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): unknown; } +interface UpdateCallback { + (): unknown; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -44085,7 +43602,11 @@ declare const visualViewport: VisualViewport | null; declare const window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: unknown): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** * [MDN @@ -44291,7 +43812,7 @@ declare const onbeforetoggle: ((this: Window, ev: Event) => unknown) | null; declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** @@ -44331,6 +43852,11 @@ declare const onclick: ((this: Window, ev: MouseEvent) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare const onclose: ((this: Window, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. @@ -44341,6 +43867,11 @@ declare const onclose: ((this: Window, ev: Event) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -44559,7 +44090,7 @@ declare const onloadedmetadata: ((this: Window, ev: Event) => unknown) | null; declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare const onlostpointercapture: | ((this: Window, ev: PointerEvent) => unknown) @@ -45078,30 +44609,33 @@ declare const localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -45284,6 +44818,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream @@ -45463,8 +44998,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/output/lib-files/lib.dom.iterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.dom.iterable.d.ts index 54f4299b24..ae0ace9b1f 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.dom.iterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.dom.iterable.d.ts @@ -5,6 +5,14 @@ /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** * [MDN @@ -40,36 +48,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -99,80 +107,92 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -223,26 +243,26 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator + extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< readonly [BufferSource, MediaKeyStatus] >; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -256,11 +276,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -282,31 +302,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -314,54 +334,61 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -463,25 +490,30 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2015.core.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2015.core.d.ts index 7715eef387..04151a74f4 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2015.core.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2015.core.d.ts @@ -64,6 +64,11 @@ interface Array { * default value. */ copyWithin(target: number, start: number, end?: number): this; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface ArrayConstructor { @@ -431,6 +436,11 @@ interface ReadonlyArray { predicate: (value: T, index: number, obj: readonly T[]) => boolean, thisArg?: unknown, ): number; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface RegExp { @@ -656,3 +666,66 @@ interface StringConstructor { ...substitutions: readonly unknown[] ): string; } + +interface Int8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8ClampedArray { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float64Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2015.generator.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2015.generator.d.ts index 01a3d87416..364d494ea1 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2015.generator.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2015.generator.d.ts @@ -4,9 +4,9 @@ /// interface Generator - extends Iterator { + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: unknown): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2015.iterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2015.iterable.d.ts index d91c2f88e2..865150bbee 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2015.iterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2015.iterable.d.ts @@ -25,33 +25,56 @@ type IteratorResult = | IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: unknown): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, + * `Map`, `Set`, and others. This is `undefined` when + * `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator + extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -78,49 +101,54 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator + extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -136,32 +164,35 @@ interface WeakMapConstructor { ): WeakMap; } +interface SetIterator + extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; - + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; - + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -197,21 +228,24 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator + extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -232,15 +266,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -261,15 +293,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -290,15 +322,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -319,15 +351,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -348,15 +378,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -377,15 +405,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -406,15 +432,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -435,15 +459,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2017.object.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2017.object.d.ts index c504247dc4..37d2f8e44c 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2017.object.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2017.object.d.ts @@ -31,7 +31,7 @@ declare namespace StrictLibInternals { interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -40,7 +40,7 @@ interface ObjectConstructor { values(o: { readonly [s: string]: T } | ArrayLike): T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -49,7 +49,8 @@ interface ObjectConstructor { values(o: {}): unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -71,7 +72,8 @@ interface ObjectConstructor { ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2018.asyncgenerator.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2018.asyncgenerator.d.ts index d049fcd3c5..eb4d1bae4c 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2018.asyncgenerator.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2018.asyncgenerator.d.ts @@ -4,10 +4,10 @@ /// interface AsyncGenerator - extends AsyncIterator { + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2018.asynciterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2018.asynciterable.d.ts index 6d1b6ec139..930c92b257 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2018.asynciterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2018.asynciterable.d.ts @@ -12,10 +12,10 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return?( value?: TReturn | PromiseLike, @@ -23,10 +23,21 @@ interface AsyncIterator { throw?(e?: unknown): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2018.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2018.intl.d.ts index 11311ac586..675ff73fcc 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2018.intl.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2018.intl.d.ts @@ -49,33 +49,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = - | 'literal' - | 'nan' - | 'infinity' - | 'percent' - | 'integer' - | 'group' - | 'decimal' - | 'fraction' - | 'plusSign' - | 'minusSign' - | 'percentSign' - | 'currency' - | 'code' - | 'symbol' - | 'name'; - type ES2020NumberFormatPartType = - | 'compact' - | 'exponentInteger' - | 'exponentMinusSign' - | 'exponentSeparator' - | 'unit' - | 'unknown'; - type NumberFormatPartTypes = - | ES2018NumberFormatPartType - | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + readonly literal: never; + readonly nan: never; + readonly infinity: never; + readonly percent: never; + readonly integer: never; + readonly group: never; + readonly decimal: never; + readonly fraction: never; + readonly plusSign: never; + readonly minusSign: never; + readonly percentSign: never; + readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { readonly type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2019.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2019.intl.d.ts index 6fcf37cf61..15635a1052 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2019.intl.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2019.intl.d.ts @@ -3,6 +3,6 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - readonly unknown: unknown; + readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2020.bigint.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2020.bigint.d.ts index 616a60aef1..e27dbfd621 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2020.bigint.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2020.bigint.d.ts @@ -193,7 +193,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -316,7 +316,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -488,7 +488,10 @@ interface BigInt64Array { subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -497,9 +500,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -575,7 +578,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -698,7 +701,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -870,7 +873,10 @@ interface BigUint64Array { subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -879,9 +885,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -976,6 +982,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2020.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2020.intl.d.ts index 5134308ecc..51890c4283 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2020.intl.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2020.intl.d.ts @@ -252,7 +252,26 @@ declare namespace Intl { ): UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly auto: never; + readonly never: never; + readonly always: never; + readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + readonly numberingSystem?: string | undefined; readonly compactDisplay?: 'short' | 'long' | undefined; readonly notation?: | 'standard' @@ -260,26 +279,28 @@ declare namespace Intl { | 'engineering' | 'compact' | undefined; - readonly signDisplay?: - | 'auto' - | 'never' - | 'always' - | 'exceptZero' - | undefined; + readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; readonly unit?: string | undefined; readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - readonly currencyDisplay?: string | undefined; - readonly currencySign?: string | undefined; + readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { readonly compactDisplay?: 'short' | 'long'; - readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + readonly signDisplay: NumberFormatOptionsSignDisplay; readonly unit?: string; readonly unitDisplay?: 'short' | 'long' | 'narrow'; - readonly currencyDisplay?: string; - readonly currencySign?: string; + readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + readonly compact: never; + readonly exponentInteger: never; + readonly exponentMinusSign: never; + readonly exponentSeparator: never; + readonly unit: never; + readonly unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2020.string.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2020.string.d.ts index 6a0d40af53..b9bf37b84e 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2020.string.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2020.string.d.ts @@ -1,7 +1,7 @@ /// /// -/// +/// interface String { /** @@ -11,7 +11,7 @@ interface String { * @param regexp A variable name or string literal containing the regular * expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** * Converts all alphabetic characters to lowercase, taking into account the diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2020.symbol.wellknown.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2020.symbol.wellknown.d.ts index d72dc4bd8f..71c4078794 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2020.symbol.wellknown.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2020.symbol.wellknown.d.ts @@ -12,6 +12,11 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator + extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of @@ -19,5 +24,5 @@ interface RegExp { * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2021.weakref.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2021.weakref.d.ts index bae2947f9b..35656e80e5 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2021.weakref.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2021.weakref.d.ts @@ -50,7 +50,7 @@ interface FinalizationRegistry { * @param unregisterToken The token that was used as the unregisterToken * argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2022.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2022.intl.d.ts index a71f9c01bc..fa248ccfa8 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2022.intl.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2022.intl.d.ts @@ -37,6 +37,11 @@ declare namespace Intl { readonly granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator + extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that @@ -49,7 +54,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2022.regexp.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2022.regexp.d.ts index 14a59c1c48..9af685c4c1 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2022.regexp.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2022.regexp.d.ts @@ -18,7 +18,7 @@ interface RegExpIndicesArray extends Array { interface RegExp { /** * Returns a Boolean value indicating the state of the hasIndices flag (d) - * used with with a regular expression. Default is false. Read-only. + * used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2023.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2023.d.ts index 67da266670..cb4077328b 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es2023.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es2023.d.ts @@ -4,3 +4,4 @@ /// /// /// +/// diff --git a/packages/strict-ts-lib/output/lib-files/lib.es2023.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es2023.intl.d.ts new file mode 100644 index 0000000000..0a200a45d9 --- /dev/null +++ b/packages/strict-ts-lib/output/lib-files/lib.es2023.intl.d.ts @@ -0,0 +1,107 @@ +/// +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + readonly min2: never; + readonly auto: never; + readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly negative: never; + } + + interface NumberFormatOptions { + readonly roundingPriority?: + | 'auto' + | 'morePrecision' + | 'lessPrecision' + | undefined; + readonly roundingIncrement?: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000 + | undefined; + readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven' + | undefined; + readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; + readonly roundingIncrement: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000; + readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = + | `${number}` + | 'Infinity' + | '-Infinity' + | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, + ): NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): string; + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.es5.d.ts b/packages/strict-ts-lib/output/lib-files/lib.es5.d.ts index d281328b51..236b8d969a 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.es5.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.es5.d.ts @@ -1097,8 +1097,8 @@ interface Date { */ getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ getTimezoneOffset(): number; /** @@ -6209,12 +6209,44 @@ declare namespace Intl { const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + readonly decimal: never; + readonly percent: never; + readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly code: never; + readonly symbol: never; + readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = + keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : + | keyof NumberFormatOptionsUseGroupingRegistry + | 'true' + | 'false' + | boolean; + type ResolvedNumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - readonly localeMatcher?: string | undefined; - readonly style?: string | undefined; + readonly localeMatcher?: 'lookup' | 'best fit' | undefined; + readonly style?: NumberFormatOptionsStyle | undefined; readonly currency?: string | undefined; - readonly currencySign?: string | undefined; - readonly useGrouping?: boolean | undefined; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; readonly minimumFractionDigits?: UintRange<0, 21> | undefined; readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -6225,14 +6257,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { readonly locale: string; readonly numberingSystem: string; - readonly style: string; + readonly style: NumberFormatOptionsStyle; readonly currency?: string; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; readonly minimumIntegerDigits: UintRange<1, 22>; - readonly minimumFractionDigits: UintRange<0, 21>; - readonly maximumFractionDigits: UintRange<0, 21>; + readonly minimumFractionDigits?: UintRange<0, 21>; + readonly maximumFractionDigits?: UintRange<0, 21>; readonly minimumSignificantDigits?: UintRange<1, 22>; readonly maximumSignificantDigits?: UintRange<1, 22>; - readonly useGrouping: boolean; + readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.array.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.array.d.ts new file mode 100644 index 0000000000..809dbed724 --- /dev/null +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.array.d.ts @@ -0,0 +1,33 @@ +/// +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + */ + fromAsync( + iterableOrArrayLike: + | AsyncIterable + | Iterable> + | ArrayLike>, + ): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + * @param mapfn A mapping function to call on every element of + * itarableOrArrayLike. Each return value is awaited before being added to + * result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, + thisArg?: unknown, + ): Promise[]>; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.collection.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.collection.d.ts index 50e6d90be8..7aacaee9e9 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.esnext.collection.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.collection.d.ts @@ -14,3 +14,91 @@ interface MapConstructor { keySelector: (item: T, index: number) => K, ): Map; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** + * @returns A boolean indicating whether an element with the specified value + * exists in the set-like or not. + */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.d.ts index f1a2eb2bc0..7be31fcf07 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.esnext.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.d.ts @@ -8,3 +8,7 @@ /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.disposable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.disposable.d.ts index f7ca59bca4..2cf6a7fd4e 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.esnext.disposable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.disposable.d.ts @@ -2,6 +2,8 @@ /// /// +/// +/// interface SymbolConstructor { /** @@ -175,3 +177,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.intl.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.intl.d.ts index 585aaa6f79..d09d4b696f 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.esnext.intl.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.intl.d.ts @@ -2,15 +2,5 @@ /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts( - start: number | bigint, - end: number | bigint, - ): NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.iterator.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.iterator.d.ts new file mode 100644 index 0000000000..79e636a4c5 --- /dev/null +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.iterator.d.ts @@ -0,0 +1,213 @@ +/// +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator + extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used + * to transform values from the underlying iterator. + */ + map( + callbackfn: (value: T, index: number) => U, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => value is S, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => unknown, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, + * stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after + * skipping the provided count. + * + * @param count The number of values to drop. + */ + drop(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator and then flattening the resulting + * iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to + * transform values from the underlying iterator into new iterators or + * iterables to be flattened into the result. + */ + flatMap( + callback: ( + value: T, + index: number, + ) => Iterator | Iterable, + ): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + initialValue: T, + ): T; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach + * calls the callbackfn function one time for each element in the + * iterator. + */ + forEach(callbackfn: (value: T, index: number) => void): void; + + /** + * Determines whether the specified callback function returns true for any + * element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some + * method calls the predicate function for each element in this iterator + * until the predicate returns a value true, or until the end of the + * iterator. + */ + some(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified + * test. + * + * @param predicate A function that accepts up to two arguments. The every + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ + every(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Returns the value of the first element in this iterator where predicate + * is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this + * iterator, in order, until it finds one where predicate returns true. If + * such an element is found, find immediately returns that element value. + * Otherwise, find returns undefined. + */ + find( + predicate: (value: T, index: number) => value is S, + ): S | undefined; + find(predicate: (value: T, index: number) => unknown): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns + * its input if the input already inherits from the built-in Iterator + * class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from( + value: Iterator | Iterable, + ): IteratorObject; + } + + const Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.regexp.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.regexp.d.ts new file mode 100644 index 0000000000..6a74735b1f --- /dev/null +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.regexp.d.ts @@ -0,0 +1,10 @@ +/// +/// + +interface RegExp { + /** + * Returns a Boolean value indicating the state of the unicodeSets flag (v) + * used with a regular expression. Default is false. Read-only. + */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.esnext.string.d.ts b/packages/strict-ts-lib/output/lib-files/lib.esnext.string.d.ts new file mode 100644 index 0000000000..60bfbd68ff --- /dev/null +++ b/packages/strict-ts-lib/output/lib-files/lib.esnext.string.d.ts @@ -0,0 +1,16 @@ +/// +/// + +interface String { + /** + * Returns true if all leading surrogates and trailing surrogates appear + * paired and in order. + */ + isWellFormed(): boolean; + + /** + * Returns a string where all lone or out-of-order surrogates have been + * replaced by the Unicode replacement character (U+FFFD). + */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/output/lib-files/lib.webworker.asynciterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.webworker.asynciterable.d.ts index 8f9272dcf5..e080132e87 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.webworker.asynciterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.webworker.asynciterable.d.ts @@ -5,11 +5,32 @@ /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output/lib-files/lib.webworker.d.ts b/packages/strict-ts-lib/output/lib-files/lib.webworker.d.ts index 030b3e7ad9..1b17900d37 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.webworker.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.webworker.d.ts @@ -324,10 +324,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -398,6 +394,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -542,6 +542,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -666,16 +681,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -1071,6 +1086,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -2240,6 +2260,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -2721,20 +2746,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -2758,165 +2775,45 @@ declare const DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -2930,48 +2827,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -3032,10 +2900,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -3056,18 +2920,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -3095,6 +2951,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -3439,30 +3299,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -5481,7 +5321,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -5676,6 +5516,11 @@ declare const ImageData: { ): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) @@ -5752,6 +5597,31 @@ declare const MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) + */ +interface MediaStreamTrackProcessor { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) + */ + readonly readable: ReadableStream; +} + +declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message * channel and send data through it via its two MessagePort properties. @@ -5825,12 +5695,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -6394,7 +6259,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -6522,11 +6395,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -7582,6 +7450,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -7668,9 +7540,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -8050,7 +7919,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { /** * This ServiceWorker API interface represents the global execution context of a - * service worker. + * service worker. Available only in secure contexts. * * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) @@ -8944,12 +8813,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -9084,6 +8958,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -9140,6 +9018,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -9158,6 +9040,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -9179,6 +9065,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -9210,6 +9100,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -9280,6 +9174,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -10245,7 +10143,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -11974,6 +11872,10 @@ declare const WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -13364,7 +13266,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -13698,30 +13600,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -13892,9 +13800,17 @@ interface WorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -14491,7 +14407,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -14521,12 +14437,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -14551,12 +14467,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -14588,15 +14504,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -15006,9 +14914,17 @@ declare const onoffline: declare const ononline: | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ declare const onrejectionhandled: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ declare const onunhandledrejection: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -15041,30 +14957,33 @@ declare const fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -15219,6 +15138,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream diff --git a/packages/strict-ts-lib/output/lib-files/lib.webworker.iterable.d.ts b/packages/strict-ts-lib/output/lib-files/lib.webworker.iterable.d.ts index 9646d510a4..1f85f66b6a 100644 --- a/packages/strict-ts-lib/output/lib-files/lib.webworker.iterable.d.ts +++ b/packages/strict-ts-lib/output/lib-files/lib.webworker.iterable.d.ts @@ -5,25 +5,33 @@ /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -54,42 +62,52 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -128,12 +146,7 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -146,13 +159,20 @@ interface MessageEvent { ): void; } +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + entries(): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -253,14 +273,19 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output/packages/decorators/legacy/package.json b/packages/strict-ts-lib/output/packages/decorators/legacy/package.json index 9ada85e5d6..a796d29a3c 100644 --- a/packages/strict-ts-lib/output/packages/decorators/legacy/package.json +++ b/packages/strict-ts-lib/output/packages/decorators/legacy/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-decorators-legacy", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/decorators/package.json b/packages/strict-ts-lib/output/packages/decorators/package.json index a3269a2061..56d09546ad 100644 --- a/packages/strict-ts-lib/output/packages/decorators/package.json +++ b/packages/strict-ts-lib/output/packages/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-decorators", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/dom/asynciterable/index.d.ts b/packages/strict-ts-lib/output/packages/dom/asynciterable/index.d.ts index 1217ef100d..3158cd9aca 100644 --- a/packages/strict-ts-lib/output/packages/dom/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/dom/asynciterable/index.d.ts @@ -5,11 +5,32 @@ /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output/packages/dom/asynciterable/package.json b/packages/strict-ts-lib/output/packages/dom/asynciterable/package.json index ca873a8823..5e24220452 100644 --- a/packages/strict-ts-lib/output/packages/dom/asynciterable/package.json +++ b/packages/strict-ts-lib/output/packages/dom/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-dom-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/dom/index.d.ts b/packages/strict-ts-lib/output/packages/dom/index.d.ts index e17c1af4c7..5d4cbc67aa 100644 --- a/packages/strict-ts-lib/output/packages/dom/index.d.ts +++ b/packages/strict-ts-lib/output/packages/dom/index.d.ts @@ -204,6 +204,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -270,6 +273,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -559,6 +566,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -572,6 +581,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: readonly ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -661,10 +675,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -838,6 +848,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1194,6 +1208,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: unknown; } @@ -1385,11 +1403,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1520,7 +1533,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: readonly RTCRtpCodecCapability[]; + codecs: readonly RTCRtpCodec[]; headerExtensions: readonly RTCRtpHeaderExtensionCapability[]; } @@ -1531,8 +1544,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1647,6 +1658,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1805,21 +1831,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2298,6 +2325,16 @@ interface ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) + */ + ariaBrailleLabel: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) + */ + ariaBrailleRoleDescription: string | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) @@ -2570,6 +2607,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -3409,10 +3451,6 @@ declare const AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) - */ automationRate: AutomationRate; /** * [MDN @@ -3969,7 +4007,12 @@ declare const BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Omit { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: unknown; } @@ -4475,7 +4518,7 @@ interface CSSImportRule extends CSSRule { readonly media: MediaList; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** @@ -4913,7 +4956,7 @@ interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** @@ -5052,6 +5095,25 @@ declare const CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) + */ + readonly end: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) + */ + readonly start: string | null; +} + +declare const CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -5087,6 +5149,17 @@ declare const CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) + */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare const CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and * various style-related methods and properties. @@ -5210,7 +5283,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -5506,6 +5578,10 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) + */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -5541,20 +5617,12 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) - */ containIntrinsicBlockSize: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) - */ containIntrinsicInlineSize: string; /** * [MDN @@ -5574,6 +5642,11 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) + */ + contentVisibility: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) @@ -6334,6 +6407,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -6351,6 +6428,11 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) + */ + transitionBehavior: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) @@ -6380,6 +6462,11 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) + */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -6624,8 +6711,10 @@ interface CSSStyleDeclaration { */ webkitJustifyContent: string; /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ webkitLineClamp: string; /** @@ -6824,6 +6913,11 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) + */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -6842,6 +6936,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) @@ -7753,6 +7849,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -8092,6 +8193,11 @@ declare const ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) + */ + readonly presentationStyle: PresentationStyle; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) @@ -8110,6 +8216,11 @@ declare const ClipboardItem: { items: Record>, options?: ClipboardItemOptions, ): ClipboardItem; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) + */ + supports(type: string): boolean; }; /** @@ -8246,6 +8357,26 @@ declare const ConstantSourceNode: { ): ConstantSourceNode; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) + */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) + */ + readonly skipped: boolean; +} + +declare const ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, + eventInitDict?: ContentVisibilityAutoStateChangeEventInit, + ): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often * used to achieve a reverb effect. A ConvolverNode always has exactly one input @@ -8481,6 +8612,19 @@ declare const CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, + thisArg?: unknown, + ): void; +} + +declare const CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a * method or accessing a property of a web API. @@ -8642,20 +8786,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -8686,165 +8822,45 @@ declare const WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -8858,48 +8874,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -8998,10 +8985,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -9022,18 +9005,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -9061,6 +9036,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -10066,12 +10045,7 @@ interface Document * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -10207,6 +10181,9 @@ interface Document createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent( + eventInterface: 'ContentVisibilityAutoStateChangeEvent', + ): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -10267,6 +10244,7 @@ interface Document createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -10521,9 +10499,6 @@ interface Document * the indeterminate state. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -10553,24 +10528,21 @@ interface Document * the given command. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) + */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -10614,6 +10586,11 @@ interface Document declare const Document: { prototype: Document; new (): Document; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) + */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -10926,7 +10903,6 @@ interface Element ARIAMixin, Animatable, ChildNode, - InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { @@ -10978,6 +10954,11 @@ interface Element * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) + */ + innerHTML: string; /** * Returns the local name. * @@ -11182,6 +11163,8 @@ interface Element namespace: string | null, localName: string, ): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is * qualifiedName, and false otherwise. @@ -11222,7 +11205,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) @@ -11278,7 +11261,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -11329,6 +11312,11 @@ interface Element * Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) @@ -11379,6 +11367,10 @@ declare const Element: { }; interface ElementCSSInlineStyle { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) + */ readonly attributeStyleMap: StylePropertyMap; /** * [MDN @@ -11435,6 +11427,11 @@ interface ElementInternals extends ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) + */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's * target element was to be checked for validity. @@ -11550,30 +11547,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -11930,25 +11907,11 @@ declare const EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -12655,7 +12618,7 @@ declare const GainNode: { /** * This Gamepad API interface defines an individual gamepad or other controller, * allowing access to information such as button presses, axis positions, and - * id. Available only in secure contexts. + * id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -12680,7 +12643,11 @@ interface Gamepad { * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) + */ + readonly vibrationActuator: GamepadHapticActuator; } declare const Gamepad: { @@ -12691,7 +12658,6 @@ declare const Gamepad: { /** * An individual button of a gamepad or other controller, allowing access to the * current state of different types of buttons available on the control device. - * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -12721,8 +12687,7 @@ declare const GamepadButton: { /** * This Gamepad API interface contains references to gamepads connected to the * system, which is what the gamepad events Window.gamepadconnected and - * Window.gamepaddisconnected are fired in response to. Available only in secure - * contexts. + * Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -12750,9 +12715,8 @@ declare const GamepadEvent: { interface GamepadHapticActuator { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) + * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ - readonly type: GamepadHapticActuatorType; playEffect( type: GamepadHapticEffectType, params?: GamepadEffectParameters, @@ -12858,6 +12822,11 @@ interface GeolocationCoordinates { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ + toJSON(): unknown; } declare const GeolocationCoordinates: { @@ -12882,6 +12851,11 @@ interface GeolocationPosition { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ + toJSON(): unknown; } declare const GeolocationPosition: { @@ -12936,7 +12910,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -13087,7 +13063,7 @@ interface GlobalEventHandlers { onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** @@ -13127,6 +13103,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. @@ -13139,6 +13120,11 @@ interface GlobalEventHandlers { oncontextmenu: | ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -13364,7 +13350,7 @@ interface GlobalEventHandlers { onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: | ((this: GlobalEventHandlers, ev: PointerEvent) => unknown) @@ -13848,18 +13834,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** @@ -13878,11 +13858,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) + */ ping: string; /** * [MDN @@ -13907,18 +13888,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * of the link. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -13975,34 +13950,21 @@ declare const HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) - */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) + */ ping: string; /** * [MDN @@ -14019,12 +13981,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14111,9 +14068,6 @@ interface HTMLBRElement extends HTMLElement { * positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener( @@ -14150,12 +14104,7 @@ declare const HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14202,47 +14151,17 @@ interface HTMLBodyElementEventMap * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener( type: K, @@ -14289,64 +14208,37 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -14360,32 +14252,18 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) */ readonly willValidate: boolean; /** @@ -14393,10 +14271,6 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -14592,12 +14466,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -14674,12 +14543,7 @@ declare const HTMLDataElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -14861,9 +14725,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener( @@ -14949,6 +14810,10 @@ interface HTMLElement * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) + */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -15088,7 +14953,12 @@ declare const HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -15096,10 +14966,20 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener( @@ -15138,61 +15018,29 @@ declare const HTMLEmbedElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) - */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) - */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) */ readonly validity: ValidityState; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) */ readonly willValidate: boolean; /** @@ -15200,10 +15048,6 @@ interface HTMLFieldSetElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -15353,12 +15197,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -15402,12 +15241,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -15421,9 +15255,6 @@ interface HTMLFormElement extends HTMLElement { /** * Returns whether a form will validate when it is submitted, without having * to submit it. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) */ checkValidity(): boolean; /** @@ -15479,46 +15310,30 @@ declare const HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** @@ -15526,9 +15341,6 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** @@ -15536,45 +15348,30 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener( @@ -15768,9 +15565,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener( @@ -15957,12 +15751,17 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) + */ allow: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) + */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -15982,9 +15781,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -15994,14 +15790,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** @@ -16009,9 +15806,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** @@ -16019,9 +15813,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -16036,14 +15827,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) + */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -16194,12 +15986,7 @@ interface HTMLImageElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -16329,12 +16116,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -16361,49 +16143,27 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** * When set, overrides the rendering of checkbox controls so that the current @@ -16415,12 +16175,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** * Defines the maximum acceptable value for an input element with @@ -16455,36 +16210,35 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Gets or sets a string containing a regular expression that the user's input * must match. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) */ pattern: string; /** * Gets or sets a text string that is displayed in an input field as a hint or * prompt to users as the format or type of information they need to enter.The * text appears in an input field until the user puts focus on the field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ @@ -16496,7 +16250,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use @@ -16510,17 +16269,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ @@ -16543,19 +16296,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) */ readonly willValidate: boolean; /** @@ -16824,18 +16569,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; - disabled: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ - fetchPriority: string; + disabled: boolean; /** - * Sets or retrieves a destination URL or an anchor point. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ + fetchPriority: string; + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -16846,6 +16590,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) + */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -16874,10 +16622,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) - */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -16885,7 +16629,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener( type: K, @@ -16925,9 +16674,6 @@ interface HTMLMapElement extends HTMLElement { /** * Retrieves a collection of the area objects defined for the given map * object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) */ readonly areas: HTMLCollection; /** @@ -17162,10 +16908,6 @@ interface HTMLMediaElement extends HTMLElement { onencrypted: | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. @@ -17183,12 +16925,7 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -17223,9 +16960,6 @@ interface HTMLMediaElement extends HTMLElement { /** * Gets a flag that indicates whether the client is currently moving to a new * playback position in the media resource. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) */ readonly seeking: boolean; /** @@ -17259,10 +16993,6 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) - */ addTextTrack( kind: TextTrackKind, label?: string, @@ -17369,12 +17099,7 @@ declare const HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -17410,17 +17135,32 @@ declare const HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; /** * Gets or sets information used to bind the value of a content attribute of a * meta element to an HTTP response header. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) */ httpEquiv: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) + */ media: string; /** * Sets or retrieves the value specified in the content attribute of the meta * object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) */ name: string; /** @@ -17428,6 +17168,9 @@ interface HTMLMetaElement extends HTMLElement { * property specified for the object. * * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener( @@ -17466,40 +17209,16 @@ declare const HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) - */ high: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) - */ low: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) - */ max: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) - */ min: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) - */ optimum: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) - */ value: number; addEventListener( type: K, @@ -17537,19 +17256,9 @@ declare const HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener( type: K, @@ -17586,12 +17295,7 @@ declare const HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** * [MDN @@ -17646,46 +17350,27 @@ declare const HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own * archive functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** @@ -17693,9 +17378,6 @@ interface HTMLObjectElement extends HTMLElement { * object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -17717,12 +17399,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -17738,12 +17415,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -17756,9 +17428,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -17772,8 +17441,10 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves the URL, often with a bookmark extension (#name), to use * as a client-side image map. * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -17794,12 +17465,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -17824,15 +17490,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) - */ getSVGDocument(): Document | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -17880,17 +17538,10 @@ declare const HTMLObjectElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) - */ disabled: boolean; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) */ label: string; addEventListener( @@ -17932,60 +17583,25 @@ declare const HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) - */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; /** * Sets or retrieves the value which is returned to the server when the form * control is submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) */ value: string; addEventListener( @@ -18033,9 +17649,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * When set to a greater number, adds new blank option elements to that * container. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** @@ -18043,9 +17656,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * selected item. * * Can be set, to change the selection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -18060,20 +17670,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * This method will throw a "HierarchyRequestError" DOMException if element is * an ancestor of the element into which it is to be inserted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add( element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null, ): void; - /** - * Removes the item with index index from the collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -18122,76 +17724,28 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) - */ defaultValue: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) - */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) - */ readonly htmlFor: DOMTokenList; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) - */ name: string; - /** - * Returns the string "output". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) - */ readonly validationMessage: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) - */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) - */ readonly willValidate: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) - */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) - */ reportValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) - */ setCustomValidity(error: string): void; addEventListener( type: K, @@ -18232,9 +17786,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener( @@ -18284,9 +17835,6 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** @@ -18294,27 +17842,18 @@ interface HTMLParamElement extends HTMLElement { * attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener( @@ -18393,9 +17932,6 @@ interface HTMLPreElement extends HTMLElement { * functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener( @@ -18504,12 +18040,7 @@ declare const HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener( type: K, @@ -18546,6 +18077,10 @@ declare const HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) + */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -18558,7 +18093,12 @@ interface HTMLScriptElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -18566,6 +18106,10 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) + */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -18573,7 +18117,15 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) + */ integrity: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) + */ noModule: boolean; /** * [MDN @@ -18583,11 +18135,24 @@ interface HTMLScriptElement extends HTMLElement { /** * Retrieves the URL to an external file that contains the source code or * data. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener( type: K, @@ -18628,10 +18193,6 @@ declare const HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) - */ autocomplete: AutoFill; /** * [MDN @@ -18650,27 +18211,14 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can * be selected from a list. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -18679,12 +18227,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -18698,12 +18241,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE @@ -18712,23 +18250,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; + readonly type: 'select-one' | 'select-multiple'; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) */ readonly validity: ValidityState; /** @@ -18742,9 +18274,6 @@ interface HTMLSelectElement extends HTMLElement { /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) */ readonly willValidate: boolean; /** @@ -18808,10 +18337,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -18913,38 +18438,23 @@ declare const HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { - height: number; /** - * Gets or sets the intended media type of the media source. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ + height: number; + /** Gets or sets the intended media type of the media source. */ media: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) - */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) - */ srcset: string; + /** Gets or sets the MIME type of a media resource. */ + type: string; /** - * Gets or sets the MIME type of a media resource. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ - type: string; width: number; addEventListener( type: K, @@ -19076,9 +18586,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener( @@ -19145,9 +18652,6 @@ interface HTMLTableCellElement extends HTMLElement { * associated with the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -19198,9 +18702,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -19238,9 +18739,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener( @@ -19327,9 +18825,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener( @@ -19661,9 +19156,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -19708,12 +19200,7 @@ interface HTMLTableRowElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells @@ -19786,9 +19273,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -19812,12 +19296,7 @@ interface HTMLTableSectionElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows @@ -19889,7 +19368,26 @@ interface HTMLTemplateElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) + */ + shadowRootClonable: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) + */ + shadowRootDelegatesFocus: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) + */ shadowRootMode: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) + */ + shadowRootSerializable: boolean; addEventListener( type: K, listener: ( @@ -19931,10 +19429,6 @@ declare const HTMLTemplateElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) - */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -19977,12 +19471,13 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; + readonly textLength: number; /** + * Retrieves the type of control. + * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ - readonly textLength: number; - /** Retrieves the type of control. */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the @@ -20010,10 +19505,6 @@ interface HTMLTextAreaElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) - */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -20162,42 +19653,19 @@ declare const HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) - */ default: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) - */ kind: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) - */ label: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) - */ readonly readyState: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) - */ srclang: string; /** * Returns the TextTrack object corresponding to the text track of the track * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) */ readonly track: TextTrack; readonly NONE: 0; @@ -20243,19 +19711,9 @@ declare const HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener( type: K, @@ -20395,6 +19853,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) + */ cancelVideoFrameCallback(handle: number): void; /** * [MDN @@ -20406,6 +19868,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) + */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -21495,7 +20961,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -21737,12 +21203,9 @@ declare const ImageData: { ): ImageData; }; -interface InnerHTML { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -22060,6 +21523,53 @@ declare const KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) + */ +interface LargestContentfulPaint extends PerformanceEntry { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) + */ + readonly element: Element | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) + */ + readonly id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) + */ + readonly loadTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ + readonly renderTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) + */ + readonly size: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) + */ + readonly url: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ + toJSON(): unknown; +} + +declare const LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** * [MDN @@ -22971,6 +22481,7 @@ interface MediaKeys { * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) @@ -23325,20 +22836,8 @@ interface MediaSource extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) - */ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** * [MDN @@ -23400,6 +22899,11 @@ interface MediaSource extends EventTarget { declare const MediaSource: { prototype: MediaSource; new (): MediaSource; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) + */ + readonly canConstructInDedicatedWorker: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) @@ -23407,6 +22911,14 @@ declare const MediaSource: { isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -23771,12 +23283,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -23884,35 +23391,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -23933,26 +23429,11 @@ declare const MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -24678,7 +24159,7 @@ interface NavigatorPlugins { * @deprecated * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** @@ -25520,7 +25001,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -25648,11 +25137,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -27096,9 +26580,6 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** @@ -27106,8 +26587,6 @@ interface Plugin { * platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -27121,24 +26600,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -27161,33 +26631,13 @@ declare const Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -27281,6 +26731,7 @@ declare const PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or * replaceState(). @@ -27393,6 +26844,10 @@ declare const PromiseRejectionEvent: { * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) + */ readonly authenticatorAttachment: string | null; /** * [MDN @@ -27796,21 +27251,17 @@ interface RTCDtlsTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; - onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ + onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) - */ getRemoteCertificates(): ArrayBuffer[]; addEventListener( type: K, @@ -28042,6 +27493,11 @@ declare const RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -28436,21 +27892,9 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * 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; readonly port: number | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) - */ readonly url: string; } @@ -28492,6 +27936,11 @@ declare const RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) + */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) @@ -28652,7 +28101,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: readonly RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: readonly RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) @@ -28681,6 +28130,10 @@ interface RTCSctpTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) + */ onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** * [MDN @@ -28749,7 +28202,7 @@ interface RTCSessionDescription { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): unknown; + toJSON(): RTCSessionDescriptionInit; } declare const RTCSessionDescription: { @@ -28856,7 +28309,7 @@ interface Range extends AbstractRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) @@ -29261,6 +28714,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -29347,9 +28804,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -29461,6 +28915,10 @@ interface ResizeObserverEntry { * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) + */ readonly devicePixelContentBoxSize: ReadonlyArray; /** * [MDN @@ -29764,7 +29222,15 @@ declare const SVGAnimatedBoolean: { * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) + */ readonly animVal: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) + */ baseVal: number; } @@ -29795,7 +29261,15 @@ declare const SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) + */ readonly animVal: SVGLength; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) + */ readonly baseVal: SVGLength; } @@ -30357,20 +29831,8 @@ declare const SVGFEBlendElement: { interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) - */ readonly in1: SVGAnimatedString; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) - */ readonly type: SVGAnimatedEnumeration; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) - */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -31718,10 +31180,6 @@ declare const SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) - */ crossOrigin: string | null; /** * [MDN @@ -33315,6 +32773,10 @@ interface ScreenOrientation extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) + */ onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** * [MDN @@ -33520,6 +32982,11 @@ interface Selection { * Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) + */ + readonly direction: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) @@ -33910,7 +33377,12 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) + */ + readonly clonable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) @@ -33918,14 +33390,34 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) + */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) + */ + readonly serializable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) + */ + getHTML(options?: GetHTMLOptions): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * Throws a "NotSupportedError" DOMException if context object is a shadow * root. @@ -34037,30 +33529,10 @@ interface SourceBuffer extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) - */ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** * [MDN @@ -34135,15 +33607,7 @@ interface SourceBufferList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) - */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener( type: K, @@ -35305,6 +34769,22 @@ declare const TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + view?: Window | null, + data?: string, + ): void; +} + +declare const TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the * CanvasRenderingContext2D.measureText() method. @@ -35673,7 +35153,7 @@ interface TextTrackList extends EventTarget { onchange: ((this: TextTrackList, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** @@ -36143,12 +35623,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -36321,36 +35806,13 @@ declare const VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) - */ regionAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) - */ regionAnchorY: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) - */ scroll: ScrollSetting; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) - */ viewportAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) - */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -36372,10 +35834,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) - */ readonly customError: boolean; /** * [MDN @@ -36412,10 +35870,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) - */ readonly valid: boolean; /** * [MDN @@ -36478,6 +35932,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -36534,6 +35992,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -36552,6 +36014,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -36573,6 +36039,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -36604,6 +36074,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -36674,6 +36148,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -36724,6 +36202,35 @@ declare const VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) + */ + readonly finished: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) + */ + readonly ready: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) + */ + readonly updateCallbackDone: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) + */ + skipTransition(): void; +} + +declare const ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -37860,7 +37367,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -39594,6 +39101,10 @@ interface WebGLRenderingContextBase { * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -40984,7 +40495,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -41571,7 +41082,11 @@ interface Window readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** * [MDN @@ -41896,30 +41411,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -42791,7 +42312,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -42821,12 +42342,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -42851,12 +42372,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -43195,15 +42716,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -43585,6 +43098,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): unknown; } +interface UpdateCallback { + (): unknown; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -44084,7 +43601,11 @@ declare const visualViewport: VisualViewport | null; declare const window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: unknown): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** * [MDN @@ -44290,7 +43811,7 @@ declare const onbeforetoggle: ((this: Window, ev: Event) => unknown) | null; declare const onblur: ((this: Window, ev: FocusEvent) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare const oncancel: ((this: Window, ev: Event) => unknown) | null; /** @@ -44330,6 +43851,11 @@ declare const onclick: ((this: Window, ev: MouseEvent) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare const onclose: ((this: Window, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +declare const oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. @@ -44340,6 +43866,11 @@ declare const onclose: ((this: Window, ev: Event) => unknown) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare const oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +declare const oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -44558,7 +44089,7 @@ declare const onloadedmetadata: ((this: Window, ev: Event) => unknown) | null; declare const onloadstart: ((this: Window, ev: Event) => unknown) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare const onlostpointercapture: | ((this: Window, ev: PointerEvent) => unknown) @@ -45077,30 +44608,33 @@ declare const localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -45283,6 +44817,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream @@ -45462,8 +44997,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/output/packages/dom/iterable/index.d.ts b/packages/strict-ts-lib/output/packages/dom/iterable/index.d.ts index 54f4299b24..ae0ace9b1f 100644 --- a/packages/strict-ts-lib/output/packages/dom/iterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/dom/iterable/index.d.ts @@ -5,6 +5,14 @@ /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** * [MDN @@ -40,36 +48,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -99,80 +107,92 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -223,26 +243,26 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator + extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): MediaKeyStatusMapIterator< readonly [BufferSource, MediaKeyStatus] >; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -256,11 +276,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -282,31 +302,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -314,54 +334,61 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -463,25 +490,30 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output/packages/dom/iterable/package.json b/packages/strict-ts-lib/output/packages/dom/iterable/package.json index 41c692e16d..1641b688f8 100644 --- a/packages/strict-ts-lib/output/packages/dom/iterable/package.json +++ b/packages/strict-ts-lib/output/packages/dom/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-dom-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/dom/package.json b/packages/strict-ts-lib/output/packages/dom/package.json index 302d62e1a1..cd27c8e836 100644 --- a/packages/strict-ts-lib/output/packages/dom/package.json +++ b/packages/strict-ts-lib/output/packages/dom/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-dom", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/collection/package.json b/packages/strict-ts-lib/output/packages/es2015/collection/package.json index d03142e426..f90abd1a8e 100644 --- a/packages/strict-ts-lib/output/packages/es2015/collection/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/core/index.d.ts b/packages/strict-ts-lib/output/packages/es2015/core/index.d.ts index 7715eef387..04151a74f4 100644 --- a/packages/strict-ts-lib/output/packages/es2015/core/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2015/core/index.d.ts @@ -64,6 +64,11 @@ interface Array { * default value. */ copyWithin(target: number, start: number, end?: number): this; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface ArrayConstructor { @@ -431,6 +436,11 @@ interface ReadonlyArray { predicate: (value: T, index: number, obj: readonly T[]) => boolean, thisArg?: unknown, ): number; + + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface RegExp { @@ -656,3 +666,66 @@ interface StringConstructor { ...substitutions: readonly unknown[] ): string; } + +interface Int8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8ClampedArray { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint16Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float32Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float64Array { + toLocaleString( + locales: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; +} diff --git a/packages/strict-ts-lib/output/packages/es2015/core/package.json b/packages/strict-ts-lib/output/packages/es2015/core/package.json index 0a63ed7845..96a5355181 100644 --- a/packages/strict-ts-lib/output/packages/es2015/core/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/core/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-core", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/generator/index.d.ts b/packages/strict-ts-lib/output/packages/es2015/generator/index.d.ts index 355c44ec7e..ad4f63cb3a 100644 --- a/packages/strict-ts-lib/output/packages/es2015/generator/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2015/generator/index.d.ts @@ -4,9 +4,9 @@ /// interface Generator - extends Iterator { + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: unknown): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/output/packages/es2015/generator/package.json b/packages/strict-ts-lib/output/packages/es2015/generator/package.json index 50d0f6b9f9..90ae00794a 100644 --- a/packages/strict-ts-lib/output/packages/es2015/generator/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/generator/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-generator", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/iterable/index.d.ts b/packages/strict-ts-lib/output/packages/es2015/iterable/index.d.ts index 56e335dce8..4de32e9f0d 100644 --- a/packages/strict-ts-lib/output/packages/es2015/iterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2015/iterable/index.d.ts @@ -25,33 +25,56 @@ type IteratorResult = | IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: unknown): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, + * `Map`, `Set`, and others. This is `undefined` when + * `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator + extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -78,49 +101,54 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator + extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -136,32 +164,35 @@ interface WeakMapConstructor { ): WeakMap; } +interface SetIterator + extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; - + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; - + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -197,21 +228,24 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator + extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -232,15 +266,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -261,15 +293,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -290,15 +322,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -319,15 +351,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -348,15 +378,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -377,15 +405,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -406,15 +432,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -435,15 +459,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; - + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; - + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/output/packages/es2015/iterable/package.json b/packages/strict-ts-lib/output/packages/es2015/iterable/package.json index 424f055a6a..f6d44484dc 100644 --- a/packages/strict-ts-lib/output/packages/es2015/iterable/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/package.json b/packages/strict-ts-lib/output/packages/es2015/package.json index c4515228d3..bb6816d761 100644 --- a/packages/strict-ts-lib/output/packages/es2015/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/promise/package.json b/packages/strict-ts-lib/output/packages/es2015/promise/package.json index fdb0826d56..a96f197b92 100644 --- a/packages/strict-ts-lib/output/packages/es2015/promise/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/proxy/package.json b/packages/strict-ts-lib/output/packages/es2015/proxy/package.json index df8d310329..c9e7f6c79f 100644 --- a/packages/strict-ts-lib/output/packages/es2015/proxy/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/proxy/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-proxy", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/reflect/package.json b/packages/strict-ts-lib/output/packages/es2015/reflect/package.json index de53c18e9a..99c2100ecd 100644 --- a/packages/strict-ts-lib/output/packages/es2015/reflect/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/reflect/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-reflect", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/symbol/package.json b/packages/strict-ts-lib/output/packages/es2015/symbol/package.json index 4f88320d81..f1b39bb84a 100644 --- a/packages/strict-ts-lib/output/packages/es2015/symbol/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/symbol/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-symbol", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2015/symbol/wellknown/package.json b/packages/strict-ts-lib/output/packages/es2015/symbol/wellknown/package.json index 5dd0950ca6..0bcefd5598 100644 --- a/packages/strict-ts-lib/output/packages/es2015/symbol/wellknown/package.json +++ b/packages/strict-ts-lib/output/packages/es2015/symbol/wellknown/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2015-symbol-wellknown", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2016/array/include/package.json b/packages/strict-ts-lib/output/packages/es2016/array/include/package.json index 844e3a56a1..0858af9de0 100644 --- a/packages/strict-ts-lib/output/packages/es2016/array/include/package.json +++ b/packages/strict-ts-lib/output/packages/es2016/array/include/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2016-array-include", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2016/full/package.json b/packages/strict-ts-lib/output/packages/es2016/full/package.json index 1db1468c86..658bdd9a1e 100644 --- a/packages/strict-ts-lib/output/packages/es2016/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2016/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2016-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2016/intl/package.json b/packages/strict-ts-lib/output/packages/es2016/intl/package.json index bdb07bbbc6..13c055866f 100644 --- a/packages/strict-ts-lib/output/packages/es2016/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2016/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2016-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2016/package.json b/packages/strict-ts-lib/output/packages/es2016/package.json index 9d53430854..4333b8a9e9 100644 --- a/packages/strict-ts-lib/output/packages/es2016/package.json +++ b/packages/strict-ts-lib/output/packages/es2016/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2016", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/date/package.json b/packages/strict-ts-lib/output/packages/es2017/date/package.json index d21e42ff5f..5975d45ad7 100644 --- a/packages/strict-ts-lib/output/packages/es2017/date/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/date/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-date", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/full/package.json b/packages/strict-ts-lib/output/packages/es2017/full/package.json index ead84b6ed9..851221bc17 100644 --- a/packages/strict-ts-lib/output/packages/es2017/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/intl/package.json b/packages/strict-ts-lib/output/packages/es2017/intl/package.json index 5bf2fff3ae..10474deb66 100644 --- a/packages/strict-ts-lib/output/packages/es2017/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/object/index.d.ts b/packages/strict-ts-lib/output/packages/es2017/object/index.d.ts index c504247dc4..37d2f8e44c 100644 --- a/packages/strict-ts-lib/output/packages/es2017/object/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2017/object/index.d.ts @@ -31,7 +31,7 @@ declare namespace StrictLibInternals { interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -40,7 +40,7 @@ interface ObjectConstructor { values(o: { readonly [s: string]: T } | ArrayLike): T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -49,7 +49,8 @@ interface ObjectConstructor { values(o: {}): unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -71,7 +72,8 @@ interface ObjectConstructor { ): StrictLibInternals.ToObjectEntries; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) diff --git a/packages/strict-ts-lib/output/packages/es2017/object/package.json b/packages/strict-ts-lib/output/packages/es2017/object/package.json index 6777d02aa6..4d023e23b0 100644 --- a/packages/strict-ts-lib/output/packages/es2017/object/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/package.json b/packages/strict-ts-lib/output/packages/es2017/package.json index ca13ea06be..a05c6a3787 100644 --- a/packages/strict-ts-lib/output/packages/es2017/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/sharedmemory/package.json b/packages/strict-ts-lib/output/packages/es2017/sharedmemory/package.json index 6b36563e36..76415da7a5 100644 --- a/packages/strict-ts-lib/output/packages/es2017/sharedmemory/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/string/package.json b/packages/strict-ts-lib/output/packages/es2017/string/package.json index 6887589185..74226609f5 100644 --- a/packages/strict-ts-lib/output/packages/es2017/string/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2017/typedarrays/package.json b/packages/strict-ts-lib/output/packages/es2017/typedarrays/package.json index 7eef2b9fce..c1742d7060 100644 --- a/packages/strict-ts-lib/output/packages/es2017/typedarrays/package.json +++ b/packages/strict-ts-lib/output/packages/es2017/typedarrays/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2017-typedarrays", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/index.d.ts b/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/index.d.ts index a162528e93..565f5659e9 100644 --- a/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/index.d.ts @@ -4,10 +4,10 @@ /// interface AsyncGenerator - extends AsyncIterator { + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return( value: TReturn | PromiseLike, diff --git a/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/package.json b/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/package.json index a87d25b5d9..7406c1ddc0 100644 --- a/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/asyncgenerator/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-asyncgenerator", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/asynciterable/index.d.ts b/packages/strict-ts-lib/output/packages/es2018/asynciterable/index.d.ts index ed0b6f7638..a797b8d707 100644 --- a/packages/strict-ts-lib/output/packages/es2018/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2018/asynciterable/index.d.ts @@ -12,10 +12,10 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next( - ...args: readonly [] | readonly [TNext] + ...[value]: readonly [] | readonly [TNext] ): Promise>; return?( value?: TReturn | PromiseLike, @@ -23,10 +23,21 @@ interface AsyncIterator { throw?(e?: unknown): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/output/packages/es2018/asynciterable/package.json b/packages/strict-ts-lib/output/packages/es2018/asynciterable/package.json index 96a56529b0..2344a343e2 100644 --- a/packages/strict-ts-lib/output/packages/es2018/asynciterable/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/full/package.json b/packages/strict-ts-lib/output/packages/es2018/full/package.json index 818942cd36..f161135746 100644 --- a/packages/strict-ts-lib/output/packages/es2018/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/intl/index.d.ts b/packages/strict-ts-lib/output/packages/es2018/intl/index.d.ts index 11311ac586..675ff73fcc 100644 --- a/packages/strict-ts-lib/output/packages/es2018/intl/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2018/intl/index.d.ts @@ -49,33 +49,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = - | 'literal' - | 'nan' - | 'infinity' - | 'percent' - | 'integer' - | 'group' - | 'decimal' - | 'fraction' - | 'plusSign' - | 'minusSign' - | 'percentSign' - | 'currency' - | 'code' - | 'symbol' - | 'name'; - type ES2020NumberFormatPartType = - | 'compact' - | 'exponentInteger' - | 'exponentMinusSign' - | 'exponentSeparator' - | 'unit' - | 'unknown'; - type NumberFormatPartTypes = - | ES2018NumberFormatPartType - | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + readonly literal: never; + readonly nan: never; + readonly infinity: never; + readonly percent: never; + readonly integer: never; + readonly group: never; + readonly decimal: never; + readonly fraction: never; + readonly plusSign: never; + readonly minusSign: never; + readonly percentSign: never; + readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { readonly type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/output/packages/es2018/intl/package.json b/packages/strict-ts-lib/output/packages/es2018/intl/package.json index b7ebed8bdd..5f3cb08996 100644 --- a/packages/strict-ts-lib/output/packages/es2018/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/package.json b/packages/strict-ts-lib/output/packages/es2018/package.json index deae173abd..3ef17d3dd2 100644 --- a/packages/strict-ts-lib/output/packages/es2018/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/promise/package.json b/packages/strict-ts-lib/output/packages/es2018/promise/package.json index 2e3e046b1f..2f64221c35 100644 --- a/packages/strict-ts-lib/output/packages/es2018/promise/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2018/regexp/package.json b/packages/strict-ts-lib/output/packages/es2018/regexp/package.json index 36d47e6837..8c9ca503f2 100644 --- a/packages/strict-ts-lib/output/packages/es2018/regexp/package.json +++ b/packages/strict-ts-lib/output/packages/es2018/regexp/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2018-regexp", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/array/package.json b/packages/strict-ts-lib/output/packages/es2019/array/package.json index 5ae1b45bf9..2e41951d4d 100644 --- a/packages/strict-ts-lib/output/packages/es2019/array/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/full/package.json b/packages/strict-ts-lib/output/packages/es2019/full/package.json index 918142ca18..97aa81fab9 100644 --- a/packages/strict-ts-lib/output/packages/es2019/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/intl/index.d.ts b/packages/strict-ts-lib/output/packages/es2019/intl/index.d.ts index 6fcf37cf61..15635a1052 100644 --- a/packages/strict-ts-lib/output/packages/es2019/intl/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2019/intl/index.d.ts @@ -3,6 +3,6 @@ declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - readonly unknown: unknown; + readonly unknown: never; } } diff --git a/packages/strict-ts-lib/output/packages/es2019/intl/package.json b/packages/strict-ts-lib/output/packages/es2019/intl/package.json index df6bdde556..617f623753 100644 --- a/packages/strict-ts-lib/output/packages/es2019/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/object/package.json b/packages/strict-ts-lib/output/packages/es2019/object/package.json index ea41fecf56..3547bb50d8 100644 --- a/packages/strict-ts-lib/output/packages/es2019/object/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/package.json b/packages/strict-ts-lib/output/packages/es2019/package.json index 963f191747..3ad3e6169f 100644 --- a/packages/strict-ts-lib/output/packages/es2019/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/string/package.json b/packages/strict-ts-lib/output/packages/es2019/string/package.json index 683a8a2932..8552fd55d0 100644 --- a/packages/strict-ts-lib/output/packages/es2019/string/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2019/symbol/package.json b/packages/strict-ts-lib/output/packages/es2019/symbol/package.json index b977854320..82b9ab83ee 100644 --- a/packages/strict-ts-lib/output/packages/es2019/symbol/package.json +++ b/packages/strict-ts-lib/output/packages/es2019/symbol/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2019-symbol", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/bigint/index.d.ts b/packages/strict-ts-lib/output/packages/es2020/bigint/index.d.ts index 295e344ecb..95283bfbbc 100644 --- a/packages/strict-ts-lib/output/packages/es2020/bigint/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2020/bigint/index.d.ts @@ -193,7 +193,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -316,7 +316,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -488,7 +488,10 @@ interface BigInt64Array { subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -497,9 +500,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -575,7 +578,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -698,7 +701,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -870,7 +873,10 @@ interface BigUint64Array { subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | readonly string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -879,9 +885,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -976,6 +982,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/output/packages/es2020/bigint/package.json b/packages/strict-ts-lib/output/packages/es2020/bigint/package.json index 9696fac1f1..fad36f656f 100644 --- a/packages/strict-ts-lib/output/packages/es2020/bigint/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/bigint/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-bigint", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/date/package.json b/packages/strict-ts-lib/output/packages/es2020/date/package.json index 558855be11..9a35bca130 100644 --- a/packages/strict-ts-lib/output/packages/es2020/date/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/date/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-date", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/full/package.json b/packages/strict-ts-lib/output/packages/es2020/full/package.json index 6e5439043e..ebfb3ff5f7 100644 --- a/packages/strict-ts-lib/output/packages/es2020/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/intl/index.d.ts b/packages/strict-ts-lib/output/packages/es2020/intl/index.d.ts index 152aad8ad3..9c803be496 100644 --- a/packages/strict-ts-lib/output/packages/es2020/intl/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2020/intl/index.d.ts @@ -252,7 +252,26 @@ declare namespace Intl { ): UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly auto: never; + readonly never: never; + readonly always: never; + readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + readonly numberingSystem?: string | undefined; readonly compactDisplay?: 'short' | 'long' | undefined; readonly notation?: | 'standard' @@ -260,26 +279,28 @@ declare namespace Intl { | 'engineering' | 'compact' | undefined; - readonly signDisplay?: - | 'auto' - | 'never' - | 'always' - | 'exceptZero' - | undefined; + readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; readonly unit?: string | undefined; readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - readonly currencyDisplay?: string | undefined; - readonly currencySign?: string | undefined; + readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { readonly compactDisplay?: 'short' | 'long'; - readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + readonly signDisplay: NumberFormatOptionsSignDisplay; readonly unit?: string; readonly unitDisplay?: 'short' | 'long' | 'narrow'; - readonly currencyDisplay?: string; - readonly currencySign?: string; + readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + readonly compact: never; + readonly exponentInteger: never; + readonly exponentMinusSign: never; + readonly exponentSeparator: never; + readonly unit: never; + readonly unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/output/packages/es2020/intl/package.json b/packages/strict-ts-lib/output/packages/es2020/intl/package.json index bfba2a6bc6..3572eb4673 100644 --- a/packages/strict-ts-lib/output/packages/es2020/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/number/package.json b/packages/strict-ts-lib/output/packages/es2020/number/package.json index 091cd3434e..696f66dbd2 100644 --- a/packages/strict-ts-lib/output/packages/es2020/number/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/number/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-number", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/package.json b/packages/strict-ts-lib/output/packages/es2020/package.json index 9820c45e7d..5d6a108211 100644 --- a/packages/strict-ts-lib/output/packages/es2020/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/promise/package.json b/packages/strict-ts-lib/output/packages/es2020/promise/package.json index fda79eef25..3102201538 100644 --- a/packages/strict-ts-lib/output/packages/es2020/promise/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/sharedmemory/package.json b/packages/strict-ts-lib/output/packages/es2020/sharedmemory/package.json index a971590848..36ae1efbbf 100644 --- a/packages/strict-ts-lib/output/packages/es2020/sharedmemory/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/string/index.d.ts b/packages/strict-ts-lib/output/packages/es2020/string/index.d.ts index 971508bf5e..26573262ff 100644 --- a/packages/strict-ts-lib/output/packages/es2020/string/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2020/string/index.d.ts @@ -1,7 +1,7 @@ /// /// -/// +/// interface String { /** @@ -11,7 +11,7 @@ interface String { * @param regexp A variable name or string literal containing the regular * expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** * Converts all alphabetic characters to lowercase, taking into account the diff --git a/packages/strict-ts-lib/output/packages/es2020/string/package.json b/packages/strict-ts-lib/output/packages/es2020/string/package.json index 71eeb60ba3..3602831efb 100644 --- a/packages/strict-ts-lib/output/packages/es2020/string/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/index.d.ts b/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/index.d.ts index 240f5562e5..3efc6dadb3 100644 --- a/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/index.d.ts @@ -12,6 +12,11 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator + extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of @@ -19,5 +24,5 @@ interface RegExp { * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/package.json b/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/package.json index 175eb34de4..b92895de07 100644 --- a/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/package.json +++ b/packages/strict-ts-lib/output/packages/es2020/symbol/wellknown/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2020-symbol-wellknown", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/full/package.json b/packages/strict-ts-lib/output/packages/es2021/full/package.json index 5b3bdcf6fa..fbdb8db91d 100644 --- a/packages/strict-ts-lib/output/packages/es2021/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/intl/package.json b/packages/strict-ts-lib/output/packages/es2021/intl/package.json index d395b29fad..99dd11372d 100644 --- a/packages/strict-ts-lib/output/packages/es2021/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/package.json b/packages/strict-ts-lib/output/packages/es2021/package.json index 615533aad5..ab6af42e40 100644 --- a/packages/strict-ts-lib/output/packages/es2021/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/promise/package.json b/packages/strict-ts-lib/output/packages/es2021/promise/package.json index 8949f4bc38..346e859a7f 100644 --- a/packages/strict-ts-lib/output/packages/es2021/promise/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/string/package.json b/packages/strict-ts-lib/output/packages/es2021/string/package.json index 8557fdd4de..5911011592 100644 --- a/packages/strict-ts-lib/output/packages/es2021/string/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2021/weakref/index.d.ts b/packages/strict-ts-lib/output/packages/es2021/weakref/index.d.ts index bae2947f9b..35656e80e5 100644 --- a/packages/strict-ts-lib/output/packages/es2021/weakref/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2021/weakref/index.d.ts @@ -50,7 +50,7 @@ interface FinalizationRegistry { * @param unregisterToken The token that was used as the unregisterToken * argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/output/packages/es2021/weakref/package.json b/packages/strict-ts-lib/output/packages/es2021/weakref/package.json index 5ebaa61444..98bd54fa7e 100644 --- a/packages/strict-ts-lib/output/packages/es2021/weakref/package.json +++ b/packages/strict-ts-lib/output/packages/es2021/weakref/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2021-weakref", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/array/package.json b/packages/strict-ts-lib/output/packages/es2022/array/package.json index 04cf01b9a1..6354c5335f 100644 --- a/packages/strict-ts-lib/output/packages/es2022/array/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/error/package.json b/packages/strict-ts-lib/output/packages/es2022/error/package.json index b93a0683c9..e5de682523 100644 --- a/packages/strict-ts-lib/output/packages/es2022/error/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/error/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-error", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/full/package.json b/packages/strict-ts-lib/output/packages/es2022/full/package.json index e5b680d8de..8f23226cf9 100644 --- a/packages/strict-ts-lib/output/packages/es2022/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/intl/index.d.ts b/packages/strict-ts-lib/output/packages/es2022/intl/index.d.ts index a71f9c01bc..fa248ccfa8 100644 --- a/packages/strict-ts-lib/output/packages/es2022/intl/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2022/intl/index.d.ts @@ -37,6 +37,11 @@ declare namespace Intl { readonly granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator + extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that @@ -49,7 +54,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/output/packages/es2022/intl/package.json b/packages/strict-ts-lib/output/packages/es2022/intl/package.json index dcbdfa6fa1..0576897ccd 100644 --- a/packages/strict-ts-lib/output/packages/es2022/intl/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/object/package.json b/packages/strict-ts-lib/output/packages/es2022/object/package.json index f806607252..0788005df8 100644 --- a/packages/strict-ts-lib/output/packages/es2022/object/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/package.json b/packages/strict-ts-lib/output/packages/es2022/package.json index a0607845df..e49b455c61 100644 --- a/packages/strict-ts-lib/output/packages/es2022/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/regexp/index.d.ts b/packages/strict-ts-lib/output/packages/es2022/regexp/index.d.ts index 14a59c1c48..9af685c4c1 100644 --- a/packages/strict-ts-lib/output/packages/es2022/regexp/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2022/regexp/index.d.ts @@ -18,7 +18,7 @@ interface RegExpIndicesArray extends Array { interface RegExp { /** * Returns a Boolean value indicating the state of the hasIndices flag (d) - * used with with a regular expression. Default is false. Read-only. + * used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/output/packages/es2022/regexp/package.json b/packages/strict-ts-lib/output/packages/es2022/regexp/package.json index 70e9394a01..bbb33f2a84 100644 --- a/packages/strict-ts-lib/output/packages/es2022/regexp/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/regexp/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-regexp", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/sharedmemory/package.json b/packages/strict-ts-lib/output/packages/es2022/sharedmemory/package.json index 37eccd424d..d4241bf263 100644 --- a/packages/strict-ts-lib/output/packages/es2022/sharedmemory/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/sharedmemory/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-sharedmemory", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2022/string/package.json b/packages/strict-ts-lib/output/packages/es2022/string/package.json index d55eb8422e..c3a3f5b243 100644 --- a/packages/strict-ts-lib/output/packages/es2022/string/package.json +++ b/packages/strict-ts-lib/output/packages/es2022/string/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2022-string", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2023/array/package.json b/packages/strict-ts-lib/output/packages/es2023/array/package.json index a4227b3b6f..e719be1a0a 100644 --- a/packages/strict-ts-lib/output/packages/es2023/array/package.json +++ b/packages/strict-ts-lib/output/packages/es2023/array/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2023-array", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2023/collection/package.json b/packages/strict-ts-lib/output/packages/es2023/collection/package.json index e43c43b459..231ec85352 100644 --- a/packages/strict-ts-lib/output/packages/es2023/collection/package.json +++ b/packages/strict-ts-lib/output/packages/es2023/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2023-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2023/full/package.json b/packages/strict-ts-lib/output/packages/es2023/full/package.json index 69af480e56..98a29d7ac9 100644 --- a/packages/strict-ts-lib/output/packages/es2023/full/package.json +++ b/packages/strict-ts-lib/output/packages/es2023/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2023-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es2023/index.d.ts b/packages/strict-ts-lib/output/packages/es2023/index.d.ts index f940e415ef..e2704e020d 100644 --- a/packages/strict-ts-lib/output/packages/es2023/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es2023/index.d.ts @@ -4,3 +4,4 @@ /// /// /// +/// diff --git a/packages/strict-ts-lib/output/packages/es2023/intl/index.d.ts b/packages/strict-ts-lib/output/packages/es2023/intl/index.d.ts new file mode 100644 index 0000000000..0a200a45d9 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/es2023/intl/index.d.ts @@ -0,0 +1,107 @@ +/// +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + readonly min2: never; + readonly auto: never; + readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly negative: never; + } + + interface NumberFormatOptions { + readonly roundingPriority?: + | 'auto' + | 'morePrecision' + | 'lessPrecision' + | undefined; + readonly roundingIncrement?: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000 + | undefined; + readonly roundingMode?: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven' + | undefined; + readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + readonly roundingMode: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; + readonly roundingIncrement: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000; + readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = + | `${number}` + | 'Infinity' + | '-Infinity' + | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, + ): NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): string; + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsc b/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsserver b/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output/packages/es2023/intl/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/es2023/intl/package.json b/packages/strict-ts-lib/output/packages/es2023/intl/package.json new file mode 100644 index 0000000000..d5e8a40156 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/es2023/intl/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-es2023-intl", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output/packages/es2023/package.json b/packages/strict-ts-lib/output/packages/es2023/package.json index a328ac7750..e9a338597e 100644 --- a/packages/strict-ts-lib/output/packages/es2023/package.json +++ b/packages/strict-ts-lib/output/packages/es2023/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es2023", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es5/index.d.ts b/packages/strict-ts-lib/output/packages/es5/index.d.ts index a049e96705..df1fbf483b 100644 --- a/packages/strict-ts-lib/output/packages/es5/index.d.ts +++ b/packages/strict-ts-lib/output/packages/es5/index.d.ts @@ -1097,8 +1097,8 @@ interface Date { */ getUTCMilliseconds(): MillisecondsEnum; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ getTimezoneOffset(): number; /** @@ -6209,12 +6209,44 @@ declare namespace Intl { const Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + readonly decimal: never; + readonly percent: never; + readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly code: never; + readonly symbol: never; + readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = + keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : + | keyof NumberFormatOptionsUseGroupingRegistry + | 'true' + | 'false' + | boolean; + type ResolvedNumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - readonly localeMatcher?: string | undefined; - readonly style?: string | undefined; + readonly localeMatcher?: 'lookup' | 'best fit' | undefined; + readonly style?: NumberFormatOptionsStyle | undefined; readonly currency?: string | undefined; - readonly currencySign?: string | undefined; - readonly useGrouping?: boolean | undefined; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; readonly minimumIntegerDigits?: UintRange<1, 22> | undefined; readonly minimumFractionDigits?: UintRange<0, 21> | undefined; readonly maximumFractionDigits?: UintRange<0, 21> | undefined; @@ -6225,14 +6257,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { readonly locale: string; readonly numberingSystem: string; - readonly style: string; + readonly style: NumberFormatOptionsStyle; readonly currency?: string; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; readonly minimumIntegerDigits: UintRange<1, 22>; - readonly minimumFractionDigits: UintRange<0, 21>; - readonly maximumFractionDigits: UintRange<0, 21>; + readonly minimumFractionDigits?: UintRange<0, 21>; + readonly maximumFractionDigits?: UintRange<0, 21>; readonly minimumSignificantDigits?: UintRange<1, 22>; readonly maximumSignificantDigits?: UintRange<1, 22>; - readonly useGrouping: boolean; + readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/output/packages/es5/package.json b/packages/strict-ts-lib/output/packages/es5/package.json index f3e97d417f..132a5eba27 100644 --- a/packages/strict-ts-lib/output/packages/es5/package.json +++ b/packages/strict-ts-lib/output/packages/es5/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es5", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/es6/package.json b/packages/strict-ts-lib/output/packages/es6/package.json index 8f19faa9c2..3bf1b5bb67 100644 --- a/packages/strict-ts-lib/output/packages/es6/package.json +++ b/packages/strict-ts-lib/output/packages/es6/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-es6", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/array/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/array/index.d.ts new file mode 100644 index 0000000000..809dbed724 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/array/index.d.ts @@ -0,0 +1,33 @@ +/// +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + */ + fromAsync( + iterableOrArrayLike: + | AsyncIterable + | Iterable> + | ArrayLike>, + ): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + * @param mapfn A mapping function to call on every element of + * itarableOrArrayLike. Each return value is awaited before being added to + * result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, + thisArg?: unknown, + ): Promise[]>; +} diff --git a/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsc b/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsserver b/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/array/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/array/package.json b/packages/strict-ts-lib/output/packages/esnext/array/package.json new file mode 100644 index 0000000000..1fa9f7d3bd --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/array/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-esnext-array", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output/packages/esnext/collection/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/collection/index.d.ts index 50e6d90be8..7aacaee9e9 100644 --- a/packages/strict-ts-lib/output/packages/esnext/collection/index.d.ts +++ b/packages/strict-ts-lib/output/packages/esnext/collection/index.d.ts @@ -14,3 +14,91 @@ interface MapConstructor { keySelector: (item: T, index: number) => K, ): Map; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** + * @returns A boolean indicating whether an element with the specified value + * exists in the set-like or not. + */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/output/packages/esnext/collection/package.json b/packages/strict-ts-lib/output/packages/esnext/collection/package.json index 1bc1bc3944..33ab2da398 100644 --- a/packages/strict-ts-lib/output/packages/esnext/collection/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/collection/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-collection", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/decorators/package.json b/packages/strict-ts-lib/output/packages/esnext/decorators/package.json index ce13403b2c..800f2024f7 100644 --- a/packages/strict-ts-lib/output/packages/esnext/decorators/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-decorators", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/disposable/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/disposable/index.d.ts index f2582d46e3..eb03c8b386 100644 --- a/packages/strict-ts-lib/output/packages/esnext/disposable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/esnext/disposable/index.d.ts @@ -2,6 +2,8 @@ /// /// +/// +/// interface SymbolConstructor { /** @@ -175,3 +177,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare const AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/output/packages/esnext/disposable/package.json b/packages/strict-ts-lib/output/packages/esnext/disposable/package.json index 901f42b3e8..9ff5d4ecf2 100644 --- a/packages/strict-ts-lib/output/packages/esnext/disposable/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/disposable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-disposable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/full/package.json b/packages/strict-ts-lib/output/packages/esnext/full/package.json index fced39165e..ac4d8ef8bc 100644 --- a/packages/strict-ts-lib/output/packages/esnext/full/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/full/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-full", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/index.d.ts index 738490b9b2..4d9d844c80 100644 --- a/packages/strict-ts-lib/output/packages/esnext/index.d.ts +++ b/packages/strict-ts-lib/output/packages/esnext/index.d.ts @@ -8,3 +8,7 @@ /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/output/packages/esnext/intl/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/intl/index.d.ts index 585aaa6f79..d09d4b696f 100644 --- a/packages/strict-ts-lib/output/packages/esnext/intl/index.d.ts +++ b/packages/strict-ts-lib/output/packages/esnext/intl/index.d.ts @@ -2,15 +2,5 @@ /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts( - start: number | bigint, - end: number | bigint, - ): NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/output/packages/esnext/intl/package.json b/packages/strict-ts-lib/output/packages/esnext/intl/package.json index 426c86a1e9..04766a90bc 100644 --- a/packages/strict-ts-lib/output/packages/esnext/intl/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/intl/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-intl", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/iterator/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/iterator/index.d.ts new file mode 100644 index 0000000000..d2cd802ca9 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/iterator/index.d.ts @@ -0,0 +1,213 @@ +/// +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator + extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used + * to transform values from the underlying iterator. + */ + map( + callbackfn: (value: T, index: number) => U, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => value is S, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => unknown, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, + * stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after + * skipping the provided count. + * + * @param count The number of values to drop. + */ + drop(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator and then flattening the resulting + * iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to + * transform values from the underlying iterator into new iterators or + * iterables to be flattened into the result. + */ + flatMap( + callback: ( + value: T, + index: number, + ) => Iterator | Iterable, + ): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + initialValue: T, + ): T; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach + * calls the callbackfn function one time for each element in the + * iterator. + */ + forEach(callbackfn: (value: T, index: number) => void): void; + + /** + * Determines whether the specified callback function returns true for any + * element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some + * method calls the predicate function for each element in this iterator + * until the predicate returns a value true, or until the end of the + * iterator. + */ + some(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified + * test. + * + * @param predicate A function that accepts up to two arguments. The every + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ + every(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Returns the value of the first element in this iterator where predicate + * is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this + * iterator, in order, until it finds one where predicate returns true. If + * such an element is found, find immediately returns that element value. + * Otherwise, find returns undefined. + */ + find( + predicate: (value: T, index: number) => value is S, + ): S | undefined; + find(predicate: (value: T, index: number) => unknown): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns + * its input if the input already inherits from the built-in Iterator + * class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from( + value: Iterator | Iterable, + ): IteratorObject; + } + + const Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsc b/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsserver b/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/iterator/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/iterator/package.json b/packages/strict-ts-lib/output/packages/esnext/iterator/package.json new file mode 100644 index 0000000000..592ae70057 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/iterator/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-esnext-iterator", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output/packages/esnext/object/package.json b/packages/strict-ts-lib/output/packages/esnext/object/package.json index 71b6685b8e..fc1d15b42c 100644 --- a/packages/strict-ts-lib/output/packages/esnext/object/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/object/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-object", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/package.json b/packages/strict-ts-lib/output/packages/esnext/package.json index 9acf6a0699..cb3e254296 100644 --- a/packages/strict-ts-lib/output/packages/esnext/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/promise/package.json b/packages/strict-ts-lib/output/packages/esnext/promise/package.json index 0b08eedebc..f8a0753da4 100644 --- a/packages/strict-ts-lib/output/packages/esnext/promise/package.json +++ b/packages/strict-ts-lib/output/packages/esnext/promise/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-esnext-promise", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/esnext/regexp/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/regexp/index.d.ts new file mode 100644 index 0000000000..6a74735b1f --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/regexp/index.d.ts @@ -0,0 +1,10 @@ +/// +/// + +interface RegExp { + /** + * Returns a Boolean value indicating the state of the unicodeSets flag (v) + * used with a regular expression. Default is false. Read-only. + */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsc b/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsserver b/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/regexp/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/regexp/package.json b/packages/strict-ts-lib/output/packages/esnext/regexp/package.json new file mode 100644 index 0000000000..bf5774024d --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/regexp/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-esnext-regexp", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output/packages/esnext/string/index.d.ts b/packages/strict-ts-lib/output/packages/esnext/string/index.d.ts new file mode 100644 index 0000000000..60bfbd68ff --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/string/index.d.ts @@ -0,0 +1,16 @@ +/// +/// + +interface String { + /** + * Returns true if all leading surrogates and trailing surrogates appear + * paired and in order. + */ + isWellFormed(): boolean; + + /** + * Returns a string where all lone or out-of-order surrogates have been + * replaced by the Unicode replacement character (U+FFFD). + */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsc b/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsc new file mode 120000 index 0000000000..f8d600c216 --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsc @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsc \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsserver b/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsserver new file mode 120000 index 0000000000..6f27b03ded --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/string/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../../../../../../../../node_modules/typescript/bin/tsserver \ No newline at end of file diff --git a/packages/strict-ts-lib/output/packages/esnext/string/package.json b/packages/strict-ts-lib/output/packages/esnext/string/package.json new file mode 100644 index 0000000000..0292c6dc4f --- /dev/null +++ b/packages/strict-ts-lib/output/packages/esnext/string/package.json @@ -0,0 +1,21 @@ +{ + "name": "@noshiro/strict-typescript-lib-esnext-string", + "version": "5.6.2", + "private": false, + "description": "Strict TypeScript lib", + "repository": { + "type": "git", + "url": "https://github.com/noshiro-pf/mono.git" + }, + "license": "MIT", + "author": "noshiro-pf ", + "sideEffects": false, + "type": "module", + "types": "./index.d.ts", + "dependencies": { + "@noshiro/ts-type-utils": "1.1.0" + }, + "peerDependencies": { + "typescript": ">=4.5.2" + } +} diff --git a/packages/strict-ts-lib/output/packages/scripthost/package.json b/packages/strict-ts-lib/output/packages/scripthost/package.json index 817214446e..784a54e070 100644 --- a/packages/strict-ts-lib/output/packages/scripthost/package.json +++ b/packages/strict-ts-lib/output/packages/scripthost/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-scripthost", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/webworker/asynciterable/index.d.ts b/packages/strict-ts-lib/output/packages/webworker/asynciterable/index.d.ts index 8f9272dcf5..e080132e87 100644 --- a/packages/strict-ts-lib/output/packages/webworker/asynciterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/webworker/asynciterable/index.d.ts @@ -5,11 +5,32 @@ /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator< + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + readonly [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator< readonly [string, FileSystemHandle] >; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/output/packages/webworker/asynciterable/package.json b/packages/strict-ts-lib/output/packages/webworker/asynciterable/package.json index e8e783a55f..36ebecb6c0 100644 --- a/packages/strict-ts-lib/output/packages/webworker/asynciterable/package.json +++ b/packages/strict-ts-lib/output/packages/webworker/asynciterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-webworker-asynciterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/webworker/importscripts/package.json b/packages/strict-ts-lib/output/packages/webworker/importscripts/package.json index a52611a28c..d99f1913c8 100644 --- a/packages/strict-ts-lib/output/packages/webworker/importscripts/package.json +++ b/packages/strict-ts-lib/output/packages/webworker/importscripts/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-webworker-importscripts", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/webworker/index.d.ts b/packages/strict-ts-lib/output/packages/webworker/index.d.ts index 030b3e7ad9..1b17900d37 100644 --- a/packages/strict-ts-lib/output/packages/webworker/index.d.ts +++ b/packages/strict-ts-lib/output/packages/webworker/index.d.ts @@ -324,10 +324,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -398,6 +394,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -542,6 +542,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -666,16 +681,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -1071,6 +1086,11 @@ declare const AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: readonly AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -2240,6 +2260,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -2721,20 +2746,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -2758,165 +2775,45 @@ declare const DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -2930,48 +2827,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -3032,10 +2900,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -3056,18 +2920,10 @@ declare const DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): unknown; } @@ -3095,6 +2951,10 @@ interface DOMRect extends DOMRectReadOnly { declare const DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -3439,30 +3299,10 @@ declare const EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: unknown; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -5481,7 +5321,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -5676,6 +5516,11 @@ declare const ImageData: { ): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) @@ -5752,6 +5597,31 @@ declare const MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare const MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) + */ +interface MediaStreamTrackProcessor { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) + */ + readonly readable: ReadableStream; +} + +declare const MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message * channel and send data through it via its two MessagePort properties. @@ -5825,12 +5695,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -6394,7 +6259,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -6522,11 +6395,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare const OffscreenCanvasRenderingContext2D: { @@ -7582,6 +7450,10 @@ declare const Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): unknown; } @@ -7668,9 +7540,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -8050,7 +7919,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { /** * This ServiceWorker API interface represents the global execution context of a - * service worker. + * service worker. Available only in secure contexts. * * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) @@ -8944,12 +8813,17 @@ declare const URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -9084,6 +8958,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** * [MDN @@ -9140,6 +9018,10 @@ interface VideoDecoder extends EventTarget { declare const VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -9158,6 +9040,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** * [MDN @@ -9179,6 +9065,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -9210,6 +9100,10 @@ interface VideoEncoder extends EventTarget { declare const VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -9280,6 +9174,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -10245,7 +10143,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -11974,6 +11872,10 @@ declare const WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -13364,7 +13266,7 @@ declare const WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -13698,30 +13600,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -13892,9 +13800,17 @@ interface WorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -14491,7 +14407,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -14521,12 +14437,12 @@ interface Console { group(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: readonly unknown[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -14551,12 +14467,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: readonly unknown[]): void; timeStamp(label?: string): void; @@ -14588,15 +14504,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -15006,9 +14914,17 @@ declare const onoffline: declare const ononline: | ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ declare const onrejectionhandled: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ declare const onunhandledrejection: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; @@ -15041,30 +14957,33 @@ declare const fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare const caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare const crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare const crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare const indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare const isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare const origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare const performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -15219,6 +15138,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream diff --git a/packages/strict-ts-lib/output/packages/webworker/iterable/index.d.ts b/packages/strict-ts-lib/output/packages/webworker/iterable/index.d.ts index 9646d510a4..1f85f66b6a 100644 --- a/packages/strict-ts-lib/output/packages/webworker/iterable/index.d.ts +++ b/packages/strict-ts-lib/output/packages/webworker/iterable/index.d.ts @@ -5,25 +5,33 @@ /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -54,42 +62,52 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -128,12 +146,7 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -146,13 +159,20 @@ interface MessageEvent { ): void; } +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator< + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< readonly [string, Iterable] >; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + entries(): StylePropertyMapReadOnlyIterator< + readonly [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -253,14 +273,19 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/output/packages/webworker/iterable/package.json b/packages/strict-ts-lib/output/packages/webworker/iterable/package.json index 202024565b..bf80c2f786 100644 --- a/packages/strict-ts-lib/output/packages/webworker/iterable/package.json +++ b/packages/strict-ts-lib/output/packages/webworker/iterable/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-webworker-iterable", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/output/packages/webworker/package.json b/packages/strict-ts-lib/output/packages/webworker/package.json index 04466f6516..1d82bbe742 100644 --- a/packages/strict-ts-lib/output/packages/webworker/package.json +++ b/packages/strict-ts-lib/output/packages/webworker/package.json @@ -1,6 +1,6 @@ { "name": "@noshiro/strict-typescript-lib-webworker", - "version": "5.4.3", + "version": "5.6.2", "private": false, "description": "Strict TypeScript lib", "repository": { diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/common.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/common.mts index f07f11b525..418d18f6a5 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/common.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/common.mts @@ -88,7 +88,7 @@ const tupleMap = ( tpl: T, mapFn: (a: T[number]) => B, ): { readonly [K in keyof T]: B } => - // eslint-disable-next-line no-restricted-syntax + // eslint-disable-next-line total-functions/no-unsafe-type-assertion tpl.map(mapFn as (a: unknown) => B) as { readonly [K in keyof T]: B; }; diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-main.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-main.mts index bde69a5c86..feb628d57f 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-main.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-main.mts @@ -33,6 +33,7 @@ import { convertLibEs2022Object } from './lib.es2022.object.mjs'; import { convertLibEs2022Sharedmemory } from './lib.es2022.sharedmemory.mjs'; import { convertLibEs2023Array } from './lib.es2023.array.mjs'; import { convertLibEs5 } from './lib.es5.mjs'; +import { convertLibEsNextIterator } from './lib.esnext.iterator.mjs'; export const convert = ( filename: string, @@ -318,6 +319,9 @@ export const convert = ( ), ); + case 'lib.esnext.iterator.d.ts': + return convertLibEsNextIterator(options); + default: return idFn; } diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-return-type-to-uint-range.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-return-type-to-uint-range.mts index da2ecf757b..aae31b10c3 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-return-type-to-uint-range.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/convert-return-type-to-uint-range.mts @@ -8,40 +8,52 @@ export const convertReturnTypeToUintRange = composeMonoTypeFns( 'minimumIntegerDigits?: number | undefined', 'minimumIntegerDigits?: UintRange<1, 22> | undefined', ), + replaceWithNoMatchCheck( + 'minimumIntegerDigits: number;', + 'minimumIntegerDigits: UintRange<1, 22>;', + ), replaceWithNoMatchCheck( 'minimumSignificantDigits?: number | undefined', 'minimumSignificantDigits?: UintRange<1, 22> | undefined', ), + replaceWithNoMatchCheck( + 'minimumSignificantDigits?: number;', + 'minimumSignificantDigits?: UintRange<1, 22>;', + ), replaceWithNoMatchCheck( 'maximumSignificantDigits?: number | undefined', 'maximumSignificantDigits?: UintRange<1, 22> | undefined', ), replaceWithNoMatchCheck( - 'minimumFractionDigits?: number | undefined', - 'minimumFractionDigits?: UintRange<0, 21> | undefined', + 'maximumSignificantDigits?: number;', + 'maximumSignificantDigits?: UintRange<1, 22>;', ), replaceWithNoMatchCheck( - 'maximumFractionDigits?: number | undefined', - 'maximumFractionDigits?: UintRange<0, 21> | undefined', + 'minimumFractionDigits?: number | undefined', + 'minimumFractionDigits?: UintRange<0, 21> | undefined', ), replaceWithNoMatchCheck( - 'minimumIntegerDigits: number;', - 'minimumIntegerDigits: UintRange<1, 22>;', + 'minimumFractionDigits?: number;', + 'minimumFractionDigits?: UintRange<0, 21>;', + { onNotFound: 'off' }, ), replaceWithNoMatchCheck( - 'minimumSignificantDigits?: number;', - 'minimumSignificantDigits?: UintRange<1, 22>;', + 'minimumFractionDigits: number;', + 'minimumFractionDigits: UintRange<0, 21>;', + { onNotFound: 'off' }, ), replaceWithNoMatchCheck( - 'maximumSignificantDigits?: number;', - 'maximumSignificantDigits?: UintRange<1, 22>;', + 'maximumFractionDigits?: number | undefined', + 'maximumFractionDigits?: UintRange<0, 21> | undefined', ), replaceWithNoMatchCheck( - 'minimumFractionDigits: number;', - 'minimumFractionDigits: UintRange<0, 21>;', + 'maximumFractionDigits?: number;', + 'maximumFractionDigits?: UintRange<0, 21>;', + { onNotFound: 'off' }, ), replaceWithNoMatchCheck( 'maximumFractionDigits: number;', 'maximumFractionDigits: UintRange<0, 21>;', + { onNotFound: 'off' }, ), ); diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.dom.iterable.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.dom.iterable.mts index cccb31fa19..ce5f573535 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.dom.iterable.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.dom.iterable.mts @@ -9,11 +9,11 @@ export const convertLibDomIterable = ({ }: ConverterOptions): MonoTypeFunction => composeMonoTypeFns( replaceWithNoMatchCheck( - 'entries(): IterableIterator;', - `keys(): IterableIterator<${brandedNumber.ArraySize}>;`, + 'keys(): ArrayIterator;', + `keys(): ArrayIterator<${brandedNumber.ArraySize}>;`, ), ); diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2015.iterable.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2015.iterable.mts index 4b7373bec0..2b4ac5056a 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2015.iterable.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2015.iterable.mts @@ -22,12 +22,12 @@ export const convertLibEs2015Iterable = ({ endRegexp: closeBraceRegexp, mapFn: composeMonoTypeFns( replaceWithNoMatchCheck( - `IterableIterator`, - `IterableIterator`, + `ArrayIterator`, + `ArrayIterator`, ), replaceWithNoMatchCheck( - `IterableIterator`, - `IterableIterator<${brandedNumber.ArraySize}>`, + `ArrayIterator`, + `ArrayIterator<${brandedNumber.ArraySize}>`, ), ), }), @@ -56,12 +56,12 @@ export const convertLibEs2015Iterable = ({ endRegexp: closeBraceRegexp, mapFn: composeMonoTypeFns( replaceWithNoMatchCheck( - `IterableIterator`, - `IterableIterator`, + `ArrayIterator`, + `ArrayIterator`, ), replaceWithNoMatchCheck( - `IterableIterator`, - `IterableIterator<${brandedNumber.ArraySize}>`, + `ArrayIterator`, + `ArrayIterator<${brandedNumber.ArraySize}>`, ), ), }), @@ -93,21 +93,6 @@ export const convertLibEs2015Iterable = ({ ].join('\n'), ), - ...( - [ - '[Symbol.iterator](): IterableIterator;', - 'entries(): IterableIterator;', - 'entries(): IterableIterator;', - 'keys(): IterableIterator;', - ] as const - ).flatMap( - // normalize newlines - (line) => [ - replaceWithNoMatchCheck(`${line}\n`, `${line}\n\n`), - replaceWithNoMatchCheck(`${line}\n\n\n`, `${line}\n\n`), - ], - ), - ...( [ ['Int8Array', enumType.Int8], @@ -126,20 +111,20 @@ export const convertLibEs2015Iterable = ({ endRegexp: closeBraceRegexp, mapFn: composeMonoTypeFns( replaceWithNoMatchCheck( - `[Symbol.iterator](): IterableIterator;`, - `[Symbol.iterator](): IterableIterator<${elementType}>;`, + `[Symbol.iterator](): ArrayIterator;`, + `[Symbol.iterator](): ArrayIterator<${elementType}>;`, ), replaceWithNoMatchCheck( - `entries(): IterableIterator;`, - `entries(): IterableIterator;`, + `entries(): ArrayIterator;`, + `entries(): ArrayIterator;`, ), replaceWithNoMatchCheck( - `keys(): IterableIterator;`, - `keys(): IterableIterator<${brandedNumber.TypedArraySize}>;`, + `keys(): ArrayIterator;`, + `keys(): ArrayIterator<${brandedNumber.TypedArraySize}>;`, ), replaceWithNoMatchCheck( - `values(): IterableIterator`, - `values(): IterableIterator<${elementType}>`, + `values(): ArrayIterator`, + `values(): ArrayIterator<${elementType}>`, ), ), }), @@ -163,7 +148,14 @@ export const convertLibEs2015Iterable = ({ ), }), ]), - + replaceWithNoMatchCheckBetweenRegexp({ + startRegexp: 'interface Iterator<', + endRegexp: closeBraceRegexp, + mapFn: replaceWithNoMatchCheck( + `next(...[value]: readonly [] | readonly [TNext]): IteratorResult;`, + `next(...[value]: [] | [TNext]): IteratorResult;`, + ), + }), returnType === 'readonly' ? idFn : replaceWithNoMatchCheckBetweenRegexp({ diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2020.bigint.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2020.bigint.mts index 4c328ed623..7491c15d7a 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2020.bigint.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2020.bigint.mts @@ -80,8 +80,8 @@ export const convertLibEs2020Bigint = ( `): ${config.brandedNumber.TypedArraySearchResult};`, ), replaceWithNoMatchCheck( - 'keys(): IterableIterator;', - `keys(): IterableIterator<${config.brandedNumber.TypedArraySize}>;`, + 'keys(): ArrayIterator;', + `keys(): ArrayIterator<${config.brandedNumber.TypedArraySize}>;`, ), replaceWithNoMatchCheck( 'fill(value: bigint, start?: number, end?: number): this;', diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2023.array.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2023.array.mts index ba44254106..6f7a047fac 100644 --- a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2023.array.mts +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.es2023.array.mts @@ -165,13 +165,4 @@ export const convertLibEs2023Array = ({ 'Copies and sorts the array.', 'Returns a copy of an array with its elements sorted.', // use the same description with Array ), - replaceWithNoMatchCheckBetweenRegexp({ - startRegexp: markers.Int8, - endRegexp: closeBraceRegexp, - mapFn: replaceWithNoMatchCheck( - // - 'Uint8Array', - 'Int8Array', - ), - }), ); diff --git a/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.esnext.iterator.mts b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.esnext.iterator.mts new file mode 100644 index 0000000000..2fca13e82f --- /dev/null +++ b/packages/strict-ts-lib/source/scripts/src/convert-dts/lib.esnext.iterator.mts @@ -0,0 +1,71 @@ +import { + composeMonoTypeFns, + replaceWithNoMatchCheck, + replaceWithNoMatchCheckBetweenRegexp, +} from '@noshiro/mono-scripts'; +import { closeBraceRegexp, type ConverterOptions } from './common.mjs'; + +export const convertLibEsNextIterator = ({ + brandedNumber, +}: ConverterOptions): MonoTypeFunction => + composeMonoTypeFns( + // Array + replaceWithNoMatchCheckBetweenRegexp({ + startRegexp: 'declare global {', + endRegexp: closeBraceRegexp, + mapFn: composeMonoTypeFns( + replaceWithNoMatchCheck( + `map(callbackfn: (value: T, index: number) => U): IteratorObject;`, + `map(callbackfn: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => U): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `filter(predicate: (value: T, index: number) => value is S): IteratorObject;`, + `filter(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => value is S): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `filter(predicate: (value: T, index: number) => unknown): IteratorObject;`, + `filter(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => unknown): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `take(limit: number): IteratorObject;`, + `take(limit: ${brandedNumber.ArraySizeArgNonNegative}): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `drop(count: number): IteratorObject;`, + `drop(limit: ${brandedNumber.ArraySizeArgNonNegative}): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `flatMap(callback: (value: T, index: number) => Iterator | Iterable): IteratorObject;`, + `flatMap(callback: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => Iterator | Iterable): IteratorObject;`, + ), + replaceWithNoMatchCheck( + `reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T`, + `reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: ${brandedNumber.ArraySizeArgNonNegative}) => T`, + ), + replaceWithNoMatchCheck( + `reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U;`, + `reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: ${brandedNumber.ArraySizeArgNonNegative}) => U, initialValue: U): U;`, + ), + replaceWithNoMatchCheck( + `forEach(callbackfn: (value: T, index: number) => void): void;`, + `forEach(callbackfn: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => void): void;`, + ), + replaceWithNoMatchCheck( + `some(predicate: (value: T, index: number) => unknown): boolean;`, + `some(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => unknown): boolean;`, + ), + replaceWithNoMatchCheck( + `every(predicate: (value: T, index: number) => unknown): boolean;`, + `every(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => unknown): boolean;`, + ), + replaceWithNoMatchCheck( + `find(predicate: (value: T, index: number) => value is S): S | undefined;`, + `find(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => value is S): S | undefined;`, + ), + replaceWithNoMatchCheck( + `find(predicate: (value: T, index: number) => unknown): T | undefined;`, + `find(predicate: (value: T, index: ${brandedNumber.ArraySizeArgNonNegative}) => unknown): T | undefined;`, + ), + ), + }), + ); diff --git a/packages/strict-ts-lib/source/scripts/typescript-version.txt b/packages/strict-ts-lib/source/scripts/typescript-version.txt index 6ffbe8ba8e..d6a86bf436 100644 --- a/packages/strict-ts-lib/source/scripts/typescript-version.txt +++ b/packages/strict-ts-lib/source/scripts/typescript-version.txt @@ -1 +1 @@ -5.4.3 +5.6.2 diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.asynciterable.d.ts index d7e7a538cf..683fd6faca 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.asynciterable.d.ts @@ -19,9 +19,30 @@ and limitations under the License. /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; - entries(): AsyncIterableIterator<[string, FileSystemHandle]>; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.d.ts index 8de886a846..09df1f4334 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.d.ts @@ -218,6 +218,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -284,6 +287,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -573,6 +580,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -586,6 +595,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -675,10 +689,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -852,6 +862,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1208,6 +1222,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: any; } @@ -1399,11 +1417,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1534,7 +1547,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: RTCRtpCodecCapability[]; + codecs: RTCRtpCodec[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } @@ -1545,8 +1558,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1661,6 +1672,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1819,21 +1845,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2312,6 +2339,16 @@ interface ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) + */ + ariaBrailleLabel: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) + */ + ariaBrailleRoleDescription: string | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) @@ -2584,6 +2621,11 @@ declare var AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: any): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -3423,10 +3465,6 @@ declare var AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) - */ automationRate: AutomationRate; /** * [MDN @@ -3968,7 +4006,12 @@ declare var BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Event { - /** @deprecated */ + /** + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: any; } @@ -4466,7 +4509,7 @@ interface CSSImportRule extends CSSRule { readonly media: MediaList; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** @@ -4904,7 +4947,7 @@ interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) + * Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** @@ -5043,6 +5086,25 @@ declare var CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) + */ + readonly end: string | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) + */ + readonly start: string | null; +} + +declare var CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -5078,6 +5140,17 @@ declare var CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) + */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare var CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and * various style-related methods and properties. @@ -5201,7 +5274,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -5497,6 +5569,10 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) + */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -5532,20 +5608,12 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) - */ containIntrinsicBlockSize: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) - */ containIntrinsicInlineSize: string; /** * [MDN @@ -5565,6 +5633,11 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) + */ + contentVisibility: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) @@ -6325,6 +6398,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -6342,6 +6419,11 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) + */ + transitionBehavior: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) @@ -6371,6 +6453,11 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) + */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -6615,8 +6702,10 @@ interface CSSStyleDeclaration { */ webkitJustifyContent: string; /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ webkitLineClamp: string; /** @@ -6815,6 +6904,11 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) + */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -6833,6 +6927,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) @@ -7744,6 +7840,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -8083,6 +8184,11 @@ declare var ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) + */ + readonly presentationStyle: PresentationStyle; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) @@ -8101,6 +8207,11 @@ declare var ClipboardItem: { items: Record>, options?: ClipboardItemOptions, ): ClipboardItem; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) + */ + supports(type: string): boolean; }; /** @@ -8237,6 +8348,26 @@ declare var ConstantSourceNode: { ): ConstantSourceNode; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) + */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) + */ + readonly skipped: boolean; +} + +declare var ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new ( + type: string, + eventInitDict?: ContentVisibilityAutoStateChangeEventInit, + ): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often * used to achieve a reverb effect. A ConvolverNode always has exactly one input @@ -8472,6 +8603,19 @@ declare var CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach( + callbackfn: (value: string, key: string, parent: CustomStateSet) => void, + thisArg?: any, + ): void; +} + +declare var CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a * method or accessing a property of a web API. @@ -8633,20 +8777,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -8677,165 +8813,45 @@ declare var WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -8849,48 +8865,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): any; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -8989,10 +8976,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -9013,18 +8996,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): any; } @@ -9052,6 +9027,10 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -10057,12 +10036,7 @@ interface Document * Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -10198,6 +10172,9 @@ interface Document createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent( + eventInterface: 'ContentVisibilityAutoStateChangeEvent', + ): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -10258,6 +10235,7 @@ interface Document createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -10512,9 +10490,6 @@ interface Document * the indeterminate state. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -10544,24 +10519,21 @@ interface Document * the given command. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) + */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -10605,6 +10577,11 @@ interface Document declare var Document: { prototype: Document; new (): Document; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) + */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -10917,7 +10894,6 @@ interface Element ARIAMixin, Animatable, ChildNode, - InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { @@ -10969,6 +10945,11 @@ interface Element * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) + */ + innerHTML: string; /** * Returns the local name. * @@ -11173,6 +11154,8 @@ interface Element namespace: string | null, localName: string, ): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is * qualifiedName, and false otherwise. @@ -11213,7 +11196,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) @@ -11269,7 +11252,7 @@ interface Element * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -11320,6 +11303,11 @@ interface Element * Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) @@ -11370,6 +11358,10 @@ declare var Element: { }; interface ElementCSSInlineStyle { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) + */ readonly attributeStyleMap: StylePropertyMap; /** * [MDN @@ -11426,6 +11418,11 @@ interface ElementInternals extends ARIAMixin { * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) + */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's * target element was to be checked for validity. @@ -11541,30 +11538,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: any; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -11921,25 +11898,11 @@ declare var EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -12634,7 +12597,7 @@ declare var GainNode: { /** * This Gamepad API interface defines an individual gamepad or other controller, * allowing access to information such as button presses, axis positions, and - * id. Available only in secure contexts. + * id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -12659,7 +12622,11 @@ interface Gamepad { * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) + */ + readonly vibrationActuator: GamepadHapticActuator; } declare var Gamepad: { @@ -12670,7 +12637,6 @@ declare var Gamepad: { /** * An individual button of a gamepad or other controller, allowing access to the * current state of different types of buttons available on the control device. - * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -12700,8 +12666,7 @@ declare var GamepadButton: { /** * This Gamepad API interface contains references to gamepads connected to the * system, which is what the gamepad events Window.gamepadconnected and - * Window.gamepaddisconnected are fired in response to. Available only in secure - * contexts. + * Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -12729,9 +12694,8 @@ declare var GamepadEvent: { interface GamepadHapticActuator { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) + * Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ - readonly type: GamepadHapticActuatorType; playEffect( type: GamepadHapticEffectType, params?: GamepadEffectParameters, @@ -12837,6 +12801,11 @@ interface GeolocationCoordinates { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) + */ + toJSON(): any; } declare var GeolocationCoordinates: { @@ -12861,6 +12830,11 @@ interface GeolocationPosition { * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) + */ + toJSON(): any; } declare var GeolocationPosition: { @@ -12915,7 +12889,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -13064,7 +13040,7 @@ interface GlobalEventHandlers { onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** @@ -13104,6 +13080,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, * opening the context menu. @@ -13114,6 +13095,11 @@ interface GlobalEventHandlers { * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -13335,7 +13321,7 @@ interface GlobalEventHandlers { onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: | ((this: GlobalEventHandlers, ev: PointerEvent) => any) @@ -13799,18 +13785,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** @@ -13829,11 +13809,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) + */ ping: string; /** * [MDN @@ -13858,18 +13839,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * of the link. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -13926,34 +13901,21 @@ declare var HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) - */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) + */ ping: string; /** * [MDN @@ -13970,12 +13932,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14056,9 +14013,6 @@ interface HTMLBRElement extends HTMLElement { * positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener( @@ -14095,12 +14049,7 @@ declare var HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -14147,47 +14096,17 @@ interface HTMLBodyElementEventMap * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener( type: K, @@ -14228,64 +14147,37 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -14299,32 +14191,18 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) */ readonly willValidate: boolean; /** @@ -14332,10 +14210,6 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -14531,12 +14405,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -14613,12 +14482,7 @@ declare var HTMLDataElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener( type: K, @@ -14788,9 +14652,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener( @@ -14876,6 +14737,10 @@ interface HTMLElement * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) + */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -15015,7 +14880,12 @@ declare var HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -15023,10 +14893,20 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener( @@ -15065,61 +14945,29 @@ declare var HTMLEmbedElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) - */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) - */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) */ readonly validity: ValidityState; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) */ readonly willValidate: boolean; /** @@ -15127,10 +14975,6 @@ interface HTMLFieldSetElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -15274,12 +15118,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -15323,12 +15162,7 @@ interface HTMLFormElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -15342,9 +15176,6 @@ interface HTMLFormElement extends HTMLElement { /** * Returns whether a form will validate when it is submitted, without having * to submit it. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) */ checkValidity(): boolean; /** @@ -15400,46 +15231,30 @@ declare var HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** @@ -15447,9 +15262,6 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** @@ -15457,45 +15269,30 @@ interface HTMLFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener( @@ -15689,9 +15486,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener( @@ -15878,12 +15672,17 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) + */ allow: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) + */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -15903,9 +15702,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -15915,14 +15711,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** @@ -15930,9 +15727,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** @@ -15940,9 +15734,6 @@ interface HTMLIFrameElement extends HTMLElement { * text in a frame. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -15957,14 +15748,15 @@ interface HTMLIFrameElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) + */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -16115,12 +15907,7 @@ interface HTMLImageElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -16250,12 +16037,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -16282,49 +16064,27 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Overrides the action attribute (where the data on a form is sent) on the * parent form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) */ formAction: string; /** * Used to override the encoding (formEnctype attribute) specified on the form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) */ formEnctype: string; /** * Overrides the submit method attribute previously specified on a form * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) */ formMethod: string; /** * Overrides any validation or required attributes on a form or form elements * to allow it to be submitted without validation. This can be used to create * a "save draft"-type submit option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** * When set, overrides the rendering of checkbox controls so that the current @@ -16336,12 +16096,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** * Defines the maximum acceptable value for an input element with @@ -16376,36 +16131,35 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { /** * Gets or sets a string containing a regular expression that the user's input * must match. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) */ pattern: string; /** * Gets or sets a text string that is displayed in an input field as a hint or * prompt to users as the format or type of information they need to enter.The * text appears in an input field until the user puts focus on the field. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ @@ -16417,7 +16171,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use @@ -16431,17 +16190,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ @@ -16464,19 +16217,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) */ readonly willValidate: boolean; /** @@ -16745,18 +16490,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; - disabled: boolean; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ - fetchPriority: string; + disabled: boolean; /** - * Sets or retrieves a destination URL or an anchor point. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ + fetchPriority: string; + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -16767,6 +16511,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) + */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -16795,10 +16543,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) - */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -16806,7 +16550,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener( type: K, @@ -16846,9 +16595,6 @@ interface HTMLMapElement extends HTMLElement { /** * Retrieves a collection of the area objects defined for the given map * object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) */ readonly areas: HTMLCollection; /** @@ -17083,10 +16829,6 @@ interface HTMLMediaElement extends HTMLElement { onencrypted: | ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) - */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null; /** * Gets a flag that specifies whether playback is paused. @@ -17104,12 +16846,7 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -17144,9 +16881,6 @@ interface HTMLMediaElement extends HTMLElement { /** * Gets a flag that indicates whether the client is currently moving to a new * playback position in the media resource. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) */ readonly seeking: boolean; /** @@ -17180,10 +16914,6 @@ interface HTMLMediaElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) - */ addTextTrack( kind: TextTrackKind, label?: string, @@ -17284,12 +17014,7 @@ declare var HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener( type: K, @@ -17325,17 +17050,32 @@ declare var HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; /** * Gets or sets information used to bind the value of a content attribute of a * meta element to an HTTP response header. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) */ httpEquiv: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) + */ media: string; /** * Sets or retrieves the value specified in the content attribute of the meta * object. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) */ name: string; /** @@ -17343,6 +17083,9 @@ interface HTMLMetaElement extends HTMLElement { * property specified for the object. * * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener( @@ -17381,40 +17124,16 @@ declare var HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) - */ high: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) - */ low: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) - */ max: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) - */ min: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) - */ optimum: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) - */ value: number; addEventListener( type: K, @@ -17452,19 +17171,9 @@ declare var HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener( type: K, @@ -17501,12 +17210,7 @@ declare var HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** * [MDN @@ -17561,46 +17265,27 @@ declare var HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own * archive functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** @@ -17608,9 +17293,6 @@ interface HTMLObjectElement extends HTMLElement { * object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -17632,12 +17314,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -17653,12 +17330,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -17671,9 +17343,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -17687,8 +17356,10 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves the URL, often with a bookmark extension (#name), to use * as a client-side image map. * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -17709,12 +17380,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -17739,15 +17405,7 @@ interface HTMLObjectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) - */ getSVGDocument(): Document | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -17795,17 +17453,10 @@ declare var HTMLObjectElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) - */ disabled: boolean; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) */ label: string; addEventListener( @@ -17841,60 +17492,25 @@ declare var HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) - */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; /** * Sets or retrieves a value that you can use to implement your own label * functionality for the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; /** * Sets or retrieves the value which is returned to the server when the form * control is submitted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) */ value: string; addEventListener( @@ -17942,9 +17558,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * When set to a greater number, adds new blank option elements to that * container. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** @@ -17952,9 +17565,6 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * selected item. * * Can be set, to change the selection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -17969,20 +17579,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * * This method will throw a "HierarchyRequestError" DOMException if element is * an ancestor of the element into which it is to be inserted. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add( element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null, ): void; - /** - * Removes the item with index index from the collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -18031,76 +17633,28 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) - */ defaultValue: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) - */ readonly form: HTMLFormElement | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) - */ readonly htmlFor: DOMTokenList; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) - */ name: string; - /** - * Returns the string "output". - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) - */ readonly validationMessage: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) - */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) - */ readonly willValidate: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) - */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) - */ reportValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) - */ setCustomValidity(error: string): void; addEventListener( type: K, @@ -18141,9 +17695,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener( @@ -18187,9 +17738,6 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** @@ -18197,27 +17745,18 @@ interface HTMLParamElement extends HTMLElement { * attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener( @@ -18296,9 +17835,6 @@ interface HTMLPreElement extends HTMLElement { * functionality for the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener( @@ -18401,12 +17937,7 @@ declare var HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener( type: K, @@ -18443,6 +17974,10 @@ declare var HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) + */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -18455,7 +17990,12 @@ interface HTMLScriptElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -18463,6 +18003,10 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) + */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -18470,7 +18014,15 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) + */ integrity: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) + */ noModule: boolean; /** * [MDN @@ -18480,11 +18032,24 @@ interface HTMLScriptElement extends HTMLElement { /** * Retrieves the URL to an external file that contains the source code or * data. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener( type: K, @@ -18525,10 +18090,6 @@ declare var HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) - */ autocomplete: AutoFill; /** * [MDN @@ -18547,27 +18108,14 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can * be selected from a list. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -18576,12 +18124,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -18595,12 +18138,7 @@ interface HTMLSelectElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE @@ -18609,23 +18147,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; + readonly type: 'select-one' | 'select-multiple'; /** * Returns the error message that would be displayed if the user submits the * form, or an empty string if no error message. It also triggers the standard * error message, such as "this is a required field". The result is that the * user sees validation messages without actually submitting. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) */ readonly validationMessage: string; /** * Returns a ValidityState object that represents the validity states of an * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) */ readonly validity: ValidityState; /** @@ -18639,9 +18171,6 @@ interface HTMLSelectElement extends HTMLElement { /** * Returns whether an element will successfully validate based on forms * validation rules and constraints. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) */ readonly willValidate: boolean; /** @@ -18705,10 +18234,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) - */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -18810,38 +18335,23 @@ declare var HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { - height: number; /** - * Gets or sets the intended media type of the media source. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ + height: number; + /** Gets or sets the intended media type of the media source. */ media: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) - */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) - */ srcset: string; + /** Gets or sets the MIME type of a media resource. */ + type: string; /** - * Gets or sets the MIME type of a media resource. - * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ - type: string; width: number; addEventListener( type: K, @@ -18973,9 +18483,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener( @@ -19042,9 +18549,6 @@ interface HTMLTableCellElement extends HTMLElement { * associated with the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -19095,9 +18599,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -19135,9 +18636,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener( @@ -19218,9 +18716,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener( @@ -19546,9 +19041,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -19593,12 +19085,7 @@ interface HTMLTableRowElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells @@ -19665,9 +19152,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -19691,12 +19175,7 @@ interface HTMLTableSectionElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows @@ -19768,7 +19247,26 @@ interface HTMLTemplateElement extends HTMLElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) + */ + shadowRootClonable: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) + */ + shadowRootDelegatesFocus: boolean; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) + */ shadowRootMode: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) + */ + shadowRootSerializable: boolean; addEventListener( type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, @@ -19804,10 +19302,6 @@ declare var HTMLTemplateElement: { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) - */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -19850,12 +19344,13 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; + readonly textLength: number; /** + * Retrieves the type of control. + * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ - readonly textLength: number; - /** Retrieves the type of control. */ readonly type: string; /** * Returns the error message that would be displayed if the user submits the @@ -19883,10 +19378,6 @@ interface HTMLTextAreaElement extends HTMLElement { * to submit it. */ checkValidity(): boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) - */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -20029,42 +19520,19 @@ declare var HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) - */ default: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) - */ kind: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) - */ label: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) - */ readonly readyState: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) - */ srclang: string; /** * Returns the TextTrack object corresponding to the text track of the track * element. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) */ readonly track: TextTrack; readonly NONE: 0; @@ -20110,19 +19578,9 @@ declare var HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener( type: K, @@ -20258,6 +19716,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) + */ cancelVideoFrameCallback(handle: number): void; /** * [MDN @@ -20269,6 +19731,10 @@ interface HTMLVideoElement extends HTMLMediaElement { * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) + */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener( type: K, @@ -21346,7 +20812,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -21588,12 +21054,9 @@ declare var ImageData: { ): ImageData; }; -interface InnerHTML { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -21909,6 +21372,53 @@ declare var KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) + */ +interface LargestContentfulPaint extends PerformanceEntry { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) + */ + readonly element: Element | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) + */ + readonly id: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) + */ + readonly loadTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ + readonly renderTime: DOMHighResTimeStamp; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) + */ + readonly size: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) + */ + readonly url: string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) + */ + toJSON(): any; +} + +declare var LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** * [MDN @@ -22812,6 +22322,7 @@ interface MediaKeys { * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) @@ -23162,20 +22673,8 @@ interface MediaSource extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) - */ onsourceclose: ((this: MediaSource, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) - */ onsourceended: ((this: MediaSource, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) - */ onsourceopen: ((this: MediaSource, ev: Event) => any) | null; /** * [MDN @@ -23237,6 +22736,11 @@ interface MediaSource extends EventTarget { declare var MediaSource: { prototype: MediaSource; new (): MediaSource; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) + */ + readonly canConstructInDedicatedWorker: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) @@ -23244,6 +22748,14 @@ declare var MediaSource: { isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -23598,12 +23110,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -23711,35 +23218,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -23760,26 +23256,11 @@ declare var MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -24505,7 +23986,7 @@ interface NavigatorPlugins { * @deprecated * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** @@ -25347,7 +24828,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -25463,11 +24952,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -26903,9 +26387,6 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** @@ -26913,8 +26394,6 @@ interface Plugin { * platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -26928,24 +26407,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -26968,33 +26438,13 @@ declare var Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -27088,6 +26538,7 @@ declare var PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or * replaceState(). @@ -27200,6 +26651,10 @@ declare var PromiseRejectionEvent: { * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) + */ readonly authenticatorAttachment: string | null; /** * [MDN @@ -27603,21 +27058,17 @@ interface RTCDtlsTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; - onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) + * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ + onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) - */ getRemoteCertificates(): ArrayBuffer[]; addEventListener( type: K, @@ -27843,6 +27294,11 @@ declare var RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -28222,21 +27678,9 @@ interface RTCPeerConnectionIceErrorEvent extends Event { * 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; readonly port: number | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) - */ readonly url: string; } @@ -28278,6 +27722,11 @@ declare var RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) + */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) @@ -28434,7 +27883,7 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: RTCRtpCodec[]): void; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) @@ -28463,6 +27912,10 @@ interface RTCSctpTransport extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) + */ onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null; /** * [MDN @@ -28525,7 +27978,7 @@ interface RTCSessionDescription { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): any; + toJSON(): RTCSessionDescriptionInit; } declare var RTCSessionDescription: { @@ -28632,7 +28085,7 @@ interface Range extends AbstractRange { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) @@ -29037,6 +28490,10 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): any; } @@ -29123,9 +28580,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -29237,6 +28691,10 @@ interface ResizeObserverEntry { * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) + */ readonly devicePixelContentBoxSize: ReadonlyArray; /** * [MDN @@ -29534,7 +28992,15 @@ declare var SVGAnimatedBoolean: { * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) + */ readonly animVal: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) + */ baseVal: number; } @@ -29565,7 +29031,15 @@ declare var SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) + */ readonly animVal: SVGLength; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) + */ readonly baseVal: SVGLength; } @@ -30127,20 +29601,8 @@ declare var SVGFEBlendElement: { interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) - */ readonly in1: SVGAnimatedString; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) - */ readonly type: SVGAnimatedEnumeration; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) - */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -31434,10 +30896,6 @@ declare var SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) - */ crossOrigin: string | null; /** * [MDN @@ -33025,6 +32483,10 @@ interface ScreenOrientation extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) + */ onchange: ((this: ScreenOrientation, ev: Event) => any) | null; /** * [MDN @@ -33230,6 +32692,11 @@ interface Selection { * Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) + */ + readonly direction: string; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) @@ -33614,7 +33081,12 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) + */ + readonly clonable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) @@ -33622,14 +33094,34 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) + */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) + */ + readonly serializable: boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) + */ + getHTML(options?: GetHTMLOptions): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) + */ + setHTMLUnsafe(html: string): void; /** * Throws a "NotSupportedError" DOMException if context object is a shadow * root. @@ -33741,30 +33233,10 @@ interface SourceBuffer extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) - */ onabort: ((this: SourceBuffer, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) - */ onerror: ((this: SourceBuffer, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) - */ onupdate: ((this: SourceBuffer, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) - */ onupdateend: ((this: SourceBuffer, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) - */ onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null; /** * [MDN @@ -33839,15 +33311,7 @@ interface SourceBufferList extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) - */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) - */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; addEventListener( type: K, @@ -34994,6 +34458,22 @@ declare var TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + view?: Window | null, + data?: string, + ): void; +} + +declare var TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the * CanvasRenderingContext2D.measureText() method. @@ -35362,7 +34842,7 @@ interface TextTrackList extends EventTarget { onchange: ((this: TextTrackList, ev: Event) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) + * Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; /** @@ -35832,12 +35312,17 @@ declare var URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -36006,36 +35491,13 @@ declare var VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) - */ regionAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) - */ regionAnchorY: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) - */ scroll: ScrollSetting; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) - */ viewportAnchorX: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) - */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -36057,10 +35519,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) - */ readonly customError: boolean; /** * [MDN @@ -36097,10 +35555,6 @@ interface ValidityState { * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) - */ readonly valid: boolean; /** * [MDN @@ -36163,6 +35617,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; /** * [MDN @@ -36219,6 +35677,10 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -36237,6 +35699,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; /** * [MDN @@ -36258,6 +35724,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -36289,6 +35759,10 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -36359,6 +35833,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -36409,6 +35887,35 @@ declare var VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) + */ + readonly finished: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) + */ + readonly ready: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) + */ + readonly updateCallbackDone: Promise; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) + */ + skipTransition(): void; +} + +declare var ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -37539,7 +37046,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -39273,6 +38780,10 @@ interface WebGLRenderingContextBase { * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -40663,7 +40174,7 @@ declare var WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -41250,7 +40761,11 @@ interface Window readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: any): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** * [MDN @@ -41571,30 +41086,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -42463,7 +41984,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -42493,12 +42014,12 @@ interface Console { group(...data: any[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -42523,12 +42044,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; @@ -42867,15 +42388,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -43254,6 +42767,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): any; } +interface UpdateCallback { + (): any; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -43751,7 +43268,11 @@ declare var visualViewport: VisualViewport | null; declare var window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: any): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** * [MDN @@ -43955,7 +43476,7 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; declare var onblur: ((this: Window, ev: FocusEvent) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare var oncancel: ((this: Window, ev: Event) => any) | null; /** @@ -43995,6 +43516,11 @@ declare var onclick: ((this: Window, ev: MouseEvent) => any) | null; * Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare var onclose: ((this: Window, ev: Event) => any) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) + */ +declare var oncontextlost: ((this: Window, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening * the context menu. @@ -44005,6 +43531,11 @@ declare var onclose: ((this: Window, ev: Event) => any) | null; * Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) + */ +declare var oncontextrestored: ((this: Window, ev: Event) => any) | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) @@ -44223,7 +43754,7 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; declare var onloadstart: ((this: Window, ev: Event) => any) | null; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) + * Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare var onlostpointercapture: | ((this: Window, ev: PointerEvent) => any) @@ -44714,30 +44245,33 @@ declare var localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare var caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare var crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare var crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare var indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare var isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare var origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare var performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -44909,6 +44443,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream @@ -45088,8 +44623,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.iterable.d.ts index f671270ffc..6b6ea027c1 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.dom.iterable.d.ts @@ -19,6 +19,14 @@ and limitations under the License. /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** * [MDN @@ -54,36 +62,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSNumericValue]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSTransformComponent]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSUnparsedSegment]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -113,80 +121,92 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, string]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, string]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[string, FormDataEntryValue]>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator<[string, string]>; + entries(): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -237,24 +257,26 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator + extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>; - entries(): IterableIterator<[BufferSource, MediaKeyStatus]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): MediaKeyStatusMapIterator< + [BufferSource, MediaKeyStatus] + >; + entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -268,11 +290,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -294,31 +316,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[number, Node]>; + entries(): ArrayIterator<[number, Node]>; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[number, TNode]>; + entries(): ArrayIterator<[number, TNode]>; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -326,52 +348,61 @@ interface RTCRtpTransceiver { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator<[string, Iterable]>; - entries(): IterableIterator<[string, Iterable]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< + [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -473,25 +504,30 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator<[string, string]>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.core.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.core.d.ts index 2874dd0ddc..c07e1cdb85 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.core.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.core.d.ts @@ -78,6 +78,11 @@ interface Array { * default value. */ copyWithin(target: number, start: number, end?: number): this; + + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface ArrayConstructor { @@ -445,6 +450,11 @@ interface ReadonlyArray { predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any, ): number; + + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions, + ): string; } interface RegExp { @@ -670,3 +680,66 @@ interface StringConstructor { ...substitutions: any[] ): string; } + +interface Int8Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint8ClampedArray { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int16Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint16Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Int32Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Uint32Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float32Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} + +interface Float64Array { + toLocaleString( + locales: string | string[], + options?: Intl.NumberFormatOptions, + ): string; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.generator.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.generator.d.ts index b2006d4b53..82ab37209a 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.generator.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.generator.d.ts @@ -17,10 +17,10 @@ and limitations under the License. /// -interface Generator - extends Iterator { +interface Generator + extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: any): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.iterable.d.ts index 8e76b3208a..4c96e1248a 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2015.iterable.d.ts @@ -39,33 +39,56 @@ type IteratorResult = | IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: any): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator + extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the + * intrinsic `Iterator.prototype`. + */ +interface IteratorObject + extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, + * `Map`, `Set`, and others. This is `undefined` when + * `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator + extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, T]>; + entries(): ArrayIterator<[number, T]>; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -92,49 +115,54 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, T]>; + entries(): ArrayIterator<[number, T]>; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator + extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator<[K, V]>; + [Symbol.iterator](): MapIterator<[K, V]>; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator<[K, V]>; + entries(): MapIterator<[K, V]>; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator<[K, V]>; + [Symbol.iterator](): MapIterator<[K, V]>; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator<[K, V]>; + entries(): MapIterator<[K, V]>; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -150,30 +178,35 @@ interface WeakMapConstructor { ): WeakMap; } +interface SetIterator + extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator<[T, T]>; + entries(): SetIterator<[T, T]>; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator<[T, T]>; + entries(): SetIterator<[T, T]>; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -208,19 +241,24 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator + extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -241,13 +279,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -268,15 +306,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -297,15 +335,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -326,13 +364,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -353,13 +391,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -380,13 +418,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -407,13 +445,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -434,13 +472,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2017.object.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2017.object.d.ts index b58a148277..71aaff0d49 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2017.object.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2017.object.d.ts @@ -17,7 +17,7 @@ and limitations under the License. interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -26,7 +26,7 @@ interface ObjectConstructor { values(o: { [s: string]: T } | ArrayLike): T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -35,7 +35,8 @@ interface ObjectConstructor { values(o: {}): any[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) @@ -44,7 +45,8 @@ interface ObjectConstructor { entries(o: { [s: string]: T } | ArrayLike): [string, T][]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an + * object * * @param o Object that contains the properties and methods. This can be an * object that you created or an existing Document Object Model (DOM) diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asyncgenerator.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asyncgenerator.d.ts index b754e6116e..07b90b35d3 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asyncgenerator.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asyncgenerator.d.ts @@ -17,10 +17,10 @@ and limitations under the License. /// -interface AsyncGenerator - extends AsyncIterator { +interface AsyncGenerator + extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): Promise>; + next(...[value]: [] | [TNext]): Promise>; return( value: TReturn | PromiseLike, ): Promise>; diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asynciterable.d.ts index d0b2d97a4d..50394ecc94 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.asynciterable.d.ts @@ -26,19 +26,30 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): Promise>; + next(...[value]: [] | [TNext]): Promise>; return?( value?: TReturn | PromiseLike, ): Promise>; throw?(e?: any): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from + * the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject + extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.intl.d.ts index 754eed871e..5ed8e8ce32 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2018.intl.d.ts @@ -63,33 +63,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = - | 'literal' - | 'nan' - | 'infinity' - | 'percent' - | 'integer' - | 'group' - | 'decimal' - | 'fraction' - | 'plusSign' - | 'minusSign' - | 'percentSign' - | 'currency' - | 'code' - | 'symbol' - | 'name'; - type ES2020NumberFormatPartType = - | 'compact' - | 'exponentInteger' - | 'exponentMinusSign' - | 'exponentSeparator' - | 'unit' - | 'unknown'; - type NumberFormatPartTypes = - | ES2018NumberFormatPartType - | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + literal: never; + nan: never; + infinity: never; + percent: never; + integer: never; + group: never; + decimal: never; + fraction: never; + plusSign: never; + minusSign: never; + percentSign: never; + currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2019.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2019.intl.d.ts index e49d078176..e58e6db177 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2019.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2019.intl.d.ts @@ -17,6 +17,6 @@ and limitations under the License. declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - unknown: any; + unknown: never; } } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.bigint.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.bigint.d.ts index e63ebd78a9..01511f38ae 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.bigint.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.bigint.d.ts @@ -312,7 +312,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator<[number, bigint]>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -435,7 +435,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -607,7 +607,10 @@ interface BigInt64Array { subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -616,9 +619,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -694,7 +697,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator<[number, bigint]>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -817,7 +820,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -989,7 +992,10 @@ interface BigUint64Array { subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString( + locales?: string | string[], + options?: Intl.NumberFormatOptions, + ): string; /** Returns a string representation of the array. */ toString(): string; @@ -998,9 +1004,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -1095,6 +1101,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.intl.d.ts index a1c35064f0..1ae364c865 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.intl.d.ts @@ -266,7 +266,26 @@ declare namespace Intl { ): UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + auto: never; + never: never; + always: never; + exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = + keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + numberingSystem?: string | undefined; compactDisplay?: 'short' | 'long' | undefined; notation?: | 'standard' @@ -274,21 +293,28 @@ declare namespace Intl { | 'engineering' | 'compact' | undefined; - signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' | undefined; + signDisplay?: NumberFormatOptionsSignDisplay | undefined; unit?: string | undefined; unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - currencyDisplay?: string | undefined; - currencySign?: string | undefined; + currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { compactDisplay?: 'short' | 'long'; - notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + signDisplay: NumberFormatOptionsSignDisplay; unit?: string; unitDisplay?: 'short' | 'long' | 'narrow'; - currencyDisplay?: string; - currencySign?: string; + currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + compact: never; + exponentInteger: never; + exponentMinusSign: never; + exponentSeparator: never; + unit: never; + unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.string.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.string.d.ts index 884e380082..460316c98a 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.string.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.string.d.ts @@ -15,7 +15,7 @@ and limitations under the License. /// -/// +/// interface String { /** @@ -25,7 +25,7 @@ interface String { * @param regexp A variable name or string literal containing the regular * expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** * Converts all alphabetic characters to lowercase, taking into account the diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.symbol.wellknown.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.symbol.wellknown.d.ts index 63a7707361..3f529cbec4 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.symbol.wellknown.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2020.symbol.wellknown.d.ts @@ -26,6 +26,11 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator + extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of @@ -33,5 +38,5 @@ interface RegExp { * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2021.weakref.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2021.weakref.d.ts index 9903bcc692..e4667712da 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2021.weakref.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2021.weakref.d.ts @@ -64,7 +64,7 @@ interface FinalizationRegistry { * @param unregisterToken The token that was used as the unregisterToken * argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.intl.d.ts index 9c5e9886be..6b931e6b36 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.intl.d.ts @@ -51,6 +51,11 @@ declare namespace Intl { granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator + extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that @@ -63,7 +68,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.regexp.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.regexp.d.ts index 7e337fd7c1..706e37b950 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.regexp.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2022.regexp.d.ts @@ -32,7 +32,7 @@ interface RegExpIndicesArray extends Array<[number, number]> { interface RegExp { /** * Returns a Boolean value indicating the state of the hasIndices flag (d) - * used with with a regular expression. Default is false. Read-only. + * used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.array.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.array.d.ts index 63ce7d78da..24d837620e 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.array.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.array.d.ts @@ -246,7 +246,7 @@ interface Int8Array { ): number; /** Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint8Array; + toReversed(): Int8Array; /** * Copies and sorts the array. @@ -257,11 +257,11 @@ interface Int8Array { * otherwise. If omitted, the elements are sorted in ascending order. * * ```ts - * const myNums = Uint8Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b); // Uint8Array(4) [1, 2, 11, 22] + * const myNums = Int8Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; + toSorted(compareFn?: (a: number, b: number) => number): Int8Array; /** * Copies the array and inserts the given number at the provided index. @@ -271,7 +271,7 @@ interface Int8Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint8Array; + with(index: number, value: number): Int8Array; } interface Uint8Array { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.d.ts index e3dcb73597..eed7333dd8 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.d.ts @@ -18,3 +18,4 @@ and limitations under the License. /// /// /// +/// diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.intl.d.ts new file mode 100644 index 0000000000..92adfc6205 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es2023.intl.d.ts @@ -0,0 +1,117 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + min2: never; + auto: never; + always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + negative: never; + } + + interface NumberFormatOptions { + roundingPriority?: 'auto' | 'morePrecision' | 'lessPrecision' | undefined; + roundingIncrement?: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000 + | undefined; + roundingMode?: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven' + | undefined; + trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + roundingMode: + | 'ceil' + | 'floor' + | 'expand' + | 'trunc' + | 'halfCeil' + | 'halfFloor' + | 'halfExpand' + | 'halfTrunc' + | 'halfEven'; + roundingIncrement: + | 1 + | 2 + | 5 + | 10 + | 20 + | 25 + | 50 + | 100 + | 200 + | 250 + | 500 + | 1000 + | 2000 + | 2500 + | 5000; + trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = + | `${number}` + | 'Infinity' + | '-Infinity' + | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts( + value: number | bigint | StringNumericLiteral, + ): NumberFormatPart[]; + formatRange( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): string; + formatRangeToParts( + start: number | bigint | StringNumericLiteral, + end: number | bigint | StringNumericLiteral, + ): NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es5.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es5.d.ts index f63043388d..a0344103eb 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es5.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.es5.d.ts @@ -1076,8 +1076,8 @@ interface Date { */ getUTCMilliseconds(): number; /** - * Gets the difference in minutes between the time on the local computer and - * Universal Coordinated Time (UTC). + * Gets the difference in minutes between Universal Coordinated Time (UTC) and + * the time on the local computer. */ getTimezoneOffset(): number; /** @@ -6176,12 +6176,44 @@ declare namespace Intl { var Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + decimal: never; + percent: never; + currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + code: never; + symbol: never; + name: never; + } + + type NumberFormatOptionsCurrencyDisplay = + keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : + | keyof NumberFormatOptionsUseGroupingRegistry + | 'true' + | 'false' + | boolean; + type ResolvedNumberFormatOptionsUseGrouping = + {} extends NumberFormatOptionsUseGroupingRegistry + ? boolean + : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - localeMatcher?: string | undefined; - style?: string | undefined; + localeMatcher?: 'lookup' | 'best fit' | undefined; + style?: NumberFormatOptionsStyle | undefined; currency?: string | undefined; - currencySign?: string | undefined; - useGrouping?: boolean | undefined; + currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + useGrouping?: NumberFormatOptionsUseGrouping | undefined; minimumIntegerDigits?: number | undefined; minimumFractionDigits?: number | undefined; maximumFractionDigits?: number | undefined; @@ -6192,14 +6224,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { locale: string; numberingSystem: string; - style: string; + style: NumberFormatOptionsStyle; currency?: string; + currencyDisplay?: NumberFormatOptionsCurrencyDisplay; minimumIntegerDigits: number; - minimumFractionDigits: number; - maximumFractionDigits: number; + minimumFractionDigits?: number; + maximumFractionDigits?: number; minimumSignificantDigits?: number; maximumSignificantDigits?: number; - useGrouping: boolean; + useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.array.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.array.d.ts new file mode 100644 index 0000000000..7dc75a2e91 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.array.d.ts @@ -0,0 +1,47 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + */ + fromAsync( + iterableOrArrayLike: + | AsyncIterable + | Iterable> + | ArrayLike>, + ): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to + * convert to an array. + * @param mapfn A mapping function to call on every element of + * itarableOrArrayLike. Each return value is awaited before being added to + * result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync( + iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, + mapFn: (value: Awaited) => U, + thisArg?: any, + ): Promise[]>; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.collection.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.collection.d.ts index 4588732c87..c02d323a93 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.collection.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.collection.d.ts @@ -28,3 +28,91 @@ interface MapConstructor { keySelector: (item: T, index: number) => K, ): Map; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** + * @returns A boolean indicating whether an element with the specified value + * exists in the set-like or not. + */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): Set; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** + * @returns A new Set containing all the elements in this Set and also all the + * elements in the argument. + */ + union(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements which are both in this Set + * and in the argument. + */ + intersection(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements in this Set which are not + * also in the argument. + */ + difference(other: ReadonlySetLike): Set; + /** + * @returns A new Set containing all the elements which are in either this Set + * or in the argument, but not in both. + */ + symmetricDifference(other: ReadonlySetLike): Set; + /** + * @returns A boolean indicating whether all the elements in this Set are also + * in the argument. + */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether all the elements in the argument are + * also in this Set. + */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** + * @returns A boolean indicating whether this Set has no elements in common + * with the argument. + */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.d.ts index c1e1e6f2c7..ec4117c6ec 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.d.ts @@ -22,3 +22,7 @@ and limitations under the License. /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.disposable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.disposable.d.ts index c7f93915cd..05b99a2d6c 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.disposable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.disposable.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// /// +/// +/// interface SymbolConstructor { /** @@ -189,3 +191,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare var AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.intl.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.intl.d.ts index 6f17fcca64..b740dc2516 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.intl.d.ts @@ -16,15 +16,5 @@ and limitations under the License. /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts( - start: number | bigint, - end: number | bigint, - ): NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.iterator.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.iterator.d.ts new file mode 100644 index 0000000000..69177c7faa --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.iterator.d.ts @@ -0,0 +1,228 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator + extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used + * to transform values from the underlying iterator. + */ + map( + callbackfn: (value: T, index: number) => U, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => value is S, + ): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which + * the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used + * to test values from the underlying iterator. + */ + filter( + predicate: (value: T, index: number) => unknown, + ): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, + * stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after + * skipping the provided count. + * + * @param count The number of values to drop. + */ + drop(count: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback + * to the values from this iterator and then flattening the resulting + * iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to + * transform values from the underlying iterator into new iterators or + * iterables to be flattened into the result. + */ + flatMap( + callback: ( + value: T, + index: number, + ) => Iterator | Iterable, + ): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + ) => T, + initialValue: T, + ): T; + + /** + * Calls the specified callback function for all the elements in this + * iterator. The return value of the callback function is the accumulated + * result, and is provided as an argument in the next call to the callback + * function. + * + * @param callbackfn A function that accepts up to three arguments. The + * reduce method calls the callbackfn function one time for each element + * in the iterator. + * @param initialValue If initialValue is specified, it is used as the + * initial value to start the accumulation. The first call to the + * callbackfn function provides this value as an argument instead of a + * value from the iterator. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + ) => U, + initialValue: U, + ): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach + * calls the callbackfn function one time for each element in the + * iterator. + */ + forEach(callbackfn: (value: T, index: number) => void): void; + + /** + * Determines whether the specified callback function returns true for any + * element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some + * method calls the predicate function for each element in this iterator + * until the predicate returns a value true, or until the end of the + * iterator. + */ + some(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified + * test. + * + * @param predicate A function that accepts up to two arguments. The every + * method calls the predicate function for each element in this iterator + * until the predicate returns false, or until the end of this iterator. + */ + every(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Returns the value of the first element in this iterator where predicate + * is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this + * iterator, in order, until it finds one where predicate returns true. If + * such an element is found, find immediately returns that element value. + * Otherwise, find returns undefined. + */ + find( + predicate: (value: T, index: number) => value is S, + ): S | undefined; + find(predicate: (value: T, index: number) => unknown): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns + * its input if the input already inherits from the built-in Iterator + * class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from( + value: Iterator | Iterable, + ): IteratorObject; + } + + var Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.regexp.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.regexp.d.ts new file mode 100644 index 0000000000..382d0dfc5b --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.regexp.d.ts @@ -0,0 +1,24 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface RegExp { + /** + * Returns a Boolean value indicating the state of the unicodeSets flag (v) + * used with a regular expression. Default is false. Read-only. + */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.string.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.string.d.ts new file mode 100644 index 0000000000..217efb8b39 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.esnext.string.d.ts @@ -0,0 +1,30 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface String { + /** + * Returns true if all leading surrogates and trailing surrogates appear + * paired and in order. + */ + isWellFormed(): boolean; + + /** + * Returns a string where all lone or out-of-order surrogates have been + * replaced by the Unicode replacement character (U+FFFD). + */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.asynciterable.d.ts index 5d8625030b..bffd9d9e86 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.asynciterable.d.ts @@ -19,9 +19,30 @@ and limitations under the License. /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; - entries(): AsyncIterableIterator<[string, FileSystemHandle]>; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator< + [string, FileSystemHandle] + >; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator + extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator]( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; + values( + options?: ReadableStreamIteratorOptions, + ): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.d.ts index 69267b2c5e..f4dd61fbf6 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.d.ts @@ -338,10 +338,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -412,6 +408,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -556,6 +556,21 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other + * consumer from acquiring a reader. The lock will be released if the async + * iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel + * the stream. To prevent this, use the stream's values() method, passing true + * for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -680,16 +695,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -1085,6 +1100,11 @@ declare var AbortSignal: { * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: any): AbortSignal; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: AbortSignal[]): AbortSignal; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) @@ -2246,6 +2266,11 @@ interface CanvasShadowStyles { } interface CanvasState { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) + */ + isContextLost(): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) @@ -2727,20 +2752,12 @@ interface DOMMatrix extends DOMMatrixReadOnly { ): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) - */ scale3dSelf( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) - */ scaleSelf( scaleX?: number, scaleY?: number, @@ -2764,165 +2781,45 @@ declare var DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) - */ readonly a: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) - */ readonly b: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) - */ readonly c: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) - */ readonly d: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) - */ readonly e: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) - */ readonly f: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) - */ readonly is2D: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) - */ readonly isIdentity: boolean; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) - */ readonly m11: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) - */ readonly m12: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) - */ readonly m13: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) - */ readonly m14: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) - */ readonly m21: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) - */ readonly m22: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) - */ readonly m23: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) - */ readonly m24: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) - */ readonly m31: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) - */ readonly m32: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) - */ readonly m33: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) - */ readonly m34: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) - */ readonly m41: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) - */ readonly m42: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) - */ readonly m43: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) - */ readonly m44: number; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) - */ flipY(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) - */ inverse(): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) - */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) - */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) - */ rotateAxisAngle( x?: number, y?: number, z?: number, angle?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) - */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** * [MDN @@ -2936,48 +2833,19 @@ interface DOMMatrixReadOnly { originY?: number, originZ?: number, ): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) - */ scale3d( scale?: number, originX?: number, originY?: number, originZ?: number, ): DOMMatrix; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) - */ skewX(sx?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) - */ skewY(sy?: number): DOMMatrix; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) - */ toFloat32Array(): Float32Array; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) - */ toFloat64Array(): Float64Array; toJSON(): any; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) - */ transformPoint(point?: DOMPointInit): DOMPoint; /** * [MDN @@ -3038,10 +2906,6 @@ interface DOMPointReadOnly { * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) - */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** * [MDN @@ -3062,18 +2926,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) - */ getBounds(): DOMRect; toJSON(): any; } @@ -3101,6 +2957,10 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) + */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -3443,30 +3303,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) - */ readonly colno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) - */ readonly error: any; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) - */ readonly filename: string; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) - */ readonly lineno: number; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) - */ readonly message: string; } @@ -5467,7 +5307,7 @@ interface IDBTransaction extends EventTarget { * For an upgrade transaction this is all object stores in the database. * * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** @@ -5662,6 +5502,11 @@ declare var ImageData: { ): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) @@ -5738,6 +5583,31 @@ declare var MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) + */ +interface MediaStreamTrackProcessor { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) + */ + readonly readable: ReadableStream; +} + +declare var MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message * channel and send data through it via its two MessagePort properties. @@ -5811,12 +5681,7 @@ interface MessageEvent extends Event { * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -6380,7 +6245,15 @@ interface OffscreenCanvas extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) + */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) + */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's @@ -6496,11 +6369,6 @@ interface OffscreenCanvasRenderingContext2D CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) - */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -7548,6 +7416,10 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) + */ toJSON(): any; } @@ -7634,9 +7506,6 @@ interface Request extends Body { /** * Returns a boolean indicating whether or not request can outlive the global * in which it was created. - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) */ readonly keepalive: boolean; /** @@ -8012,7 +7881,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { /** * This ServiceWorker API interface represents the global execution context of a - * service worker. + * service worker. Available only in secure contexts. * * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) @@ -8902,12 +8771,17 @@ declare var URL: { * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) + */ + parse(url: string | URL, base?: string | URL): URL | null; /** * [MDN * Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) @@ -9038,6 +8912,10 @@ interface VideoDecoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) + */ ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; /** * [MDN @@ -9094,6 +8972,10 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) + */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -9112,6 +8994,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) + */ ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; /** * [MDN @@ -9133,6 +9019,10 @@ interface VideoEncoder extends EventTarget { * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) + */ flush(): Promise; /** * [MDN @@ -9164,6 +9054,10 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) + */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -9234,6 +9128,10 @@ interface VideoFrame { * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) + */ copyTo( destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions, @@ -10199,7 +10097,7 @@ interface WebGL2RenderingContextBase { clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D( target: GLenum, @@ -11928,6 +11826,10 @@ declare var WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) + */ drawingBufferColorSpace: PredefinedColorSpace; /** * [MDN @@ -13318,7 +13220,7 @@ declare var WebGLVertexArrayObject: { /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) + * Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} @@ -13652,30 +13554,36 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) + */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -13843,9 +13751,17 @@ interface WorkerGlobalScope * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ onrejectionhandled: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ onunhandledrejection: | ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; @@ -14442,7 +14358,7 @@ interface Console { count(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** @@ -14472,12 +14388,12 @@ interface Console { group(...data: any[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** @@ -14502,12 +14418,12 @@ interface Console { time(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) + * Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; @@ -14539,15 +14455,7 @@ declare namespace WebAssembly { * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) - */ value: ValueTypeMap[T]; - /** - * [MDN - * Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) - */ valueOf(): ValueTypeMap[T]; } @@ -14954,9 +14862,17 @@ declare var onoffline: declare var ononline: | ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) + */ declare var onrejectionhandled: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) + */ declare var onunhandledrejection: | ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; @@ -14989,30 +14905,33 @@ declare var fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare var caches: CacheStorage; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare var crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare var crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare var indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) + */ declare var isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare var origin: string; /** * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/performance_property) + * Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare var performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -15159,6 +15078,7 @@ type Transferable = | OffscreenCanvas | ImageBitmap | MessagePort + | MediaSourceHandle | ReadableStream | WritableStream | TransformStream diff --git a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.iterable.d.ts index 5f764d0e98..88263079ba 100644 --- a/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied-for-diff/lib.webworker.iterable.d.ts @@ -19,25 +19,33 @@ and limitations under the License. /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** + * [MDN + * Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) + */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSNumericValue]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSTransformComponent]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSUnparsedSegment]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -68,42 +76,52 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator + extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[string, FormDataEntryValue]>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator + extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all key/value pairs contained in * this object. */ - entries(): IterableIterator<[string, string]>; + entries(): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all keys of the key/value pairs * contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value * pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -142,12 +160,7 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN - * Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent( type: string, bubbles?: boolean, @@ -160,11 +173,20 @@ interface MessageEvent { ): void; } +interface StylePropertyMapReadOnlyIterator + extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator<[string, Iterable]>; - entries(): IterableIterator<[string, Iterable]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator< + [string, Iterable] + >; + entries(): StylePropertyMapReadOnlyIterator< + [string, Iterable] + >; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -265,14 +287,19 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator + extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator<[string, string]>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.dom.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.dom.asynciterable.d.ts index d7e7a538cf..3e6542c91d 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.dom.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.dom.asynciterable.d.ts @@ -19,9 +19,22 @@ and limitations under the License. /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; - entries(): AsyncIterableIterator<[string, FileSystemHandle]>; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.dom.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.dom.d.ts index 89dbd2dbee..6cdacd4b72 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.dom.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.dom.d.ts @@ -218,6 +218,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -284,6 +287,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -573,6 +580,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -586,6 +595,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -675,10 +689,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -852,6 +862,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1190,6 +1204,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: any; } @@ -1372,11 +1390,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1507,7 +1520,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: RTCRtpCodecCapability[]; + codecs: RTCRtpCodec[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } @@ -1518,8 +1531,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1630,6 +1641,17 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1761,21 +1783,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2201,6 +2224,10 @@ interface ARIAMixin { ariaAtomic: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) */ + ariaBrailleLabel: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) */ + ariaBrailleRoleDescription: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */ ariaBusy: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) */ @@ -2333,6 +2360,8 @@ declare var AbortSignal: { new (): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: any): AbortSignal; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: AbortSignal[]): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */ timeout(milliseconds: number): AbortSignal; }; @@ -2781,7 +2810,6 @@ declare var AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) */ automationRate: AutomationRate; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/defaultValue) */ readonly defaultValue: number; @@ -3069,7 +3097,11 @@ declare var BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Event { - /** @deprecated */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: any; } @@ -3375,7 +3407,7 @@ interface CSSImportRule extends CSSRule { readonly layerName: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */ readonly media: MediaList; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */ readonly supportsText: string | null; @@ -3668,7 +3700,7 @@ declare var CSSPerspective: { interface CSSPropertyRule extends CSSRule { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */ readonly inherits: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */ readonly name: string; @@ -3781,6 +3813,19 @@ declare var CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) */ + readonly end: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) */ + readonly start: string | null; +} + +declare var CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -3816,6 +3861,14 @@ declare var CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare var CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. * @@ -3886,7 +3939,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -4041,6 +4093,7 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -4067,11 +4120,9 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) */ containIntrinsicBlockSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) */ containIntrinsicInlineSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */ containIntrinsicSize: string; @@ -4085,6 +4136,8 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) */ + contentVisibility: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) */ counterIncrement: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-reset) */ @@ -4586,6 +4639,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -4600,6 +4657,8 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) */ + transitionBehavior: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) */ transitionDelay: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration) */ @@ -4617,6 +4676,8 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -4847,7 +4908,11 @@ interface CSSStyleDeclaration { * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content) */ webkitJustifyContent: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ + /** + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + */ webkitLineClamp: string; /** * @deprecated This is a legacy alias of `mask`. @@ -5021,6 +5086,8 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -5039,6 +5106,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) */ getPropertyPriority(property: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue) */ @@ -5519,6 +5588,8 @@ interface CanvasShadowStyles { } interface CanvasState { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */ + isContextLost(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */ reset(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */ @@ -5715,6 +5786,8 @@ declare var ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) */ + readonly presentationStyle: PresentationStyle; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) */ readonly types: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) */ @@ -5724,6 +5797,8 @@ interface ClipboardItem { declare var ClipboardItem: { prototype: ClipboardItem; new (items: Record>, options?: ClipboardItemOptions): ClipboardItem; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) */ + supports(type: string): boolean; }; /** @@ -5813,6 +5888,17 @@ declare var ConstantSourceNode: { new (context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) */ + readonly skipped: boolean; +} + +declare var ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new (type: string, eventInitDict?: ContentVisibilityAutoStateChangeEventInit): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. * @@ -5973,6 +6059,16 @@ declare var CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach(callbackfn: (value: string, key: string, parent: CustomStateSet) => void, thisArg?: any): void; +} + +declare var CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. * @@ -6101,9 +6197,7 @@ interface DOMMatrix extends DOMMatrixReadOnly { rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */ scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */ scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; setMatrixValue(transformList: string): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; @@ -6127,88 +6221,48 @@ declare var WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */ readonly a: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */ readonly b: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */ readonly c: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */ readonly d: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */ readonly e: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */ readonly f: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */ readonly is2D: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */ readonly isIdentity: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */ readonly m11: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */ readonly m12: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */ readonly m13: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */ readonly m14: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */ readonly m21: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */ readonly m22: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */ readonly m23: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */ readonly m24: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */ readonly m31: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */ readonly m32: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */ readonly m33: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */ readonly m34: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */ readonly m41: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */ readonly m42: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */ readonly m43: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */ flipY(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */ inverse(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */ rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */ scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */ scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */ skewX(sx?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */ skewY(sy?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */ toFloat32Array(): Float32Array; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */ toFloat64Array(): Float64Array; toJSON(): any; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */ transformPoint(point?: DOMPointInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */ translate(tx?: number, ty?: number, tz?: number): DOMMatrix; @@ -6280,7 +6334,6 @@ interface DOMPointReadOnly { readonly y: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ toJSON(): any; @@ -6295,15 +6348,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */ getBounds(): DOMRect; toJSON(): any; } @@ -6326,6 +6374,7 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -7079,11 +7128,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -7170,6 +7215,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent(eventInterface: 'ContentVisibilityAutoStateChangeEvent'): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -7216,6 +7262,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -7381,8 +7428,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -7408,19 +7453,15 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * Returns the current value of the document, range, or current selection for the given command. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -7446,6 +7487,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve declare var Document: { prototype: Document; new (): Document; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -7664,7 +7707,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes) */ readonly attributes: NamedNodeMap; /** @@ -7693,6 +7736,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */ + innerHTML: string; /** * Returns the local name. * @@ -7809,6 +7854,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non getElementsByTagNameNS(namespaceURI: 'http://www.w3.org/2000/svg', localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: 'http://www.w3.org/1998/Math/MathML', localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. * @@ -7832,7 +7879,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement) */ insertAdjacentElement(where: InsertPosition, element: Element): Element | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) */ insertAdjacentText(where: InsertPosition, data: string): void; /** @@ -7867,7 +7914,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non */ requestFullscreen(options?: FullscreenOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -7895,6 +7942,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non setAttributeNode(attr: Attr): Attr | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */ + setHTMLUnsafe(html: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) */ setPointerCapture(pointerId: number): void; /** @@ -7923,6 +7972,7 @@ declare var Element: { }; interface ElementCSSInlineStyle { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */ readonly attributeStyleMap: StylePropertyMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */ readonly style: CSSStyleDeclaration; @@ -7959,6 +8009,8 @@ interface ElementInternals extends ARIAMixin { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's target element was to be checked for validity. * @@ -8036,15 +8088,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */ readonly colno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */ readonly error: any; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */ readonly filename: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */ readonly lineno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */ readonly message: string; } @@ -8301,23 +8348,11 @@ declare var EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -8739,7 +8774,7 @@ declare var GainNode: { }; /** - * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. Available only in secure contexts. + * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -8758,7 +8793,8 @@ interface Gamepad { readonly mapping: GamepadMappingType; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) */ + readonly vibrationActuator: GamepadHapticActuator; } declare var Gamepad: { @@ -8767,7 +8803,7 @@ declare var Gamepad: { }; /** - * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. Available only in secure contexts. + * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -8786,7 +8822,7 @@ declare var GamepadButton: { }; /** - * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. Available only in secure contexts. + * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -8806,8 +8842,7 @@ declare var GamepadEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator) */ interface GamepadHapticActuator { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) */ - readonly type: GamepadHapticActuatorType; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise; reset(): Promise; } @@ -8863,6 +8898,8 @@ interface GeolocationCoordinates { readonly longitude: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) */ + toJSON(): any; } declare var GeolocationCoordinates: { @@ -8880,6 +8917,8 @@ interface GeolocationPosition { readonly coords: GeolocationCoordinates; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) */ + toJSON(): any; } declare var GeolocationPosition: { @@ -8925,7 +8964,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -9041,7 +9082,7 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when playback is possible, but would require further buffering. @@ -9071,6 +9112,8 @@ interface GlobalEventHandlers { onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @@ -9079,6 +9122,8 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */ @@ -9248,7 +9293,7 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** * Fires when the user clicks the object with either mouse button. @@ -9538,16 +9583,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */ @@ -9562,10 +9603,9 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) */ ping: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy) */ referrerPolicy: string; @@ -9581,16 +9621,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the relationship between the object and the destination of the link. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -9624,28 +9660,18 @@ declare var HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) */ ping: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy) */ referrerPolicy: string; @@ -9653,11 +9679,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { rel: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -9703,8 +9725,6 @@ interface HTMLBRElement extends HTMLElement { * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -9724,11 +9744,7 @@ declare var HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -9755,41 +9771,17 @@ interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandle * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -9810,49 +9802,21 @@ declare var HTMLBodyElement: { interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) - */ + /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) - */ + /** Used to override the encoding (formEnctype attribute) specified on the form element. */ formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) - */ + /** Overrides the submit method attribute previously specified on a form element. */ formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) - */ + /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -9860,33 +9824,16 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type) */ type: 'submit' | 'reset' | 'button'; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -10007,11 +9954,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -10049,11 +9992,7 @@ declare var HTMLDataElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -10141,8 +10080,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -10182,6 +10119,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit accessKey: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -10244,7 +10182,11 @@ declare var HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -10252,10 +10194,18 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -10275,49 +10225,22 @@ declare var HTMLEmbedElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -10415,11 +10338,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -10457,11 +10376,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -10471,11 +10386,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target) */ target: string; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) - */ + /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */ reportValidity(): boolean; @@ -10506,90 +10417,66 @@ declare var HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** * Sets or retrieves the left and right margin widths before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -10704,8 +10591,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -10844,11 +10729,11 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) */ allow: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -10866,8 +10751,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -10876,29 +10759,24 @@ interface HTMLIFrameElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** * Sets or retrieves the left and right margin widths before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -10909,13 +10787,12 @@ interface HTMLIFrameElement extends HTMLElement { name: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -11024,11 +10901,7 @@ interface HTMLImageElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -11115,11 +10988,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -11139,51 +11008,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { files: FileList | null; /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) - */ + /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) - */ + /** Used to override the encoding (formEnctype attribute) specified on the form element. */ formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) - */ + /** Overrides the submit method attribute previously specified on a form element. */ formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) - */ + /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */ indeterminate: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */ max: string; @@ -11200,37 +11041,37 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { multiple: boolean; /** Sets or retrieves the name of the object. */ name: string; - /** - * Gets or sets a string containing a regular expression that the user's input must match. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) - */ + /** Gets or sets a string containing a regular expression that the user's input must match. */ pattern: string; - /** - * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) - */ + /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ src: string; /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. @@ -11238,17 +11079,9 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * @deprecated */ useMap: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ value: string; @@ -11260,17 +11093,9 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { readonly webkitEntries: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** * Returns whether a form will validate when it is submitted, without having to submit it. @@ -11429,14 +11254,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { charset: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ disabled: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ fetchPriority: string; - /** - * Sets or retrieves a destination URL or an anchor point. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) - */ + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -11446,6 +11268,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -11465,7 +11288,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -11473,7 +11295,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11492,11 +11318,7 @@ declare var HTMLLinkElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement) */ interface HTMLMapElement extends HTMLElement { - /** - * Retrieves a collection of the area objects defined for the given map object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) - */ + /** Retrieves a collection of the area objects defined for the given map object. */ readonly areas: HTMLCollection; /** * Sets or retrieves the name of the object. @@ -11658,7 +11480,6 @@ interface HTMLMediaElement extends HTMLElement { readonly networkState: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */ onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null; /** * Gets a flag that specifies whether playback is paused. @@ -11672,11 +11493,7 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -11696,11 +11513,7 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable) */ readonly seekable: TimeRanges; - /** - * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) - */ + /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */ readonly seeking: boolean; /** * Available only in secure contexts. @@ -11724,7 +11537,6 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */ addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack; /** * Returns a string that specifies whether the client can play a given media resource type. @@ -11795,11 +11607,7 @@ declare var HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11818,17 +11626,32 @@ declare var HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; - /** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */ + /** + * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) + */ httpEquiv: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) */ media: string; - /** Sets or retrieves the value specified in the content attribute of the meta object. */ + /** + * Sets or retrieves the value specified in the content attribute of the meta object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) + */ name: string; /** * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object. * * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -11848,19 +11671,13 @@ declare var HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */ high: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */ low: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */ max: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */ min: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */ optimum: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */ value: number; addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11879,17 +11696,9 @@ declare var HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11908,11 +11717,7 @@ declare var HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed) */ reversed: boolean; @@ -11941,48 +11746,32 @@ declare var HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** * Sets or retrieves the Internet media type for the code associated with the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -11999,11 +11788,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -12017,11 +11802,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -12033,8 +11814,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -12046,7 +11825,9 @@ interface HTMLObjectElement extends HTMLElement { /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -12061,11 +11842,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -12085,9 +11862,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) */ getSVGDocument(): Document | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -12114,13 +11889,8 @@ declare var HTMLObjectElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */ disabled: boolean; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) - */ + /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ label: string; addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12139,49 +11909,20 @@ declare var HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) - */ + /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; - /** - * Sets or retrieves the value which is returned to the server when the form control is submitted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) - */ + /** Sets or retrieves the value which is returned to the server when the form control is submitted. */ value: string; addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12206,16 +11947,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * When set to a smaller number, truncates the number of option elements in the corresponding container. * * When set to a greater number, adds new blank option elements to that container. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** * Returns the index of the first selected item, if any, or −1 if there is no selected item. * * Can be set, to change the selection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -12226,15 +11963,9 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * If before is omitted, null, or a number out of range, then element will be added at the end of the list. * * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; - /** - * Removes the item with index index from the collection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -12264,41 +11995,25 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */ defaultValue: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */ readonly form: HTMLFormElement | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */ readonly htmlFor: DOMTokenList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */ name: string; - /** - * Returns the string "output". - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */ readonly validationMessage: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */ readonly willValidate: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */ reportValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */ setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12321,8 +12036,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -12348,32 +12061,24 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** * Sets or retrieves the content type of the resource designated by the value attribute. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -12415,8 +12120,6 @@ interface HTMLPreElement extends HTMLElement { * Sets or gets a value that you can use to implement your own width functionality for the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -12473,11 +12176,7 @@ declare var HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12496,6 +12195,7 @@ declare var HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -12505,7 +12205,11 @@ interface HTMLScriptElement extends HTMLElement { charset: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -12513,6 +12217,7 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -12520,15 +12225,29 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */ integrity: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */ noModule: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */ referrerPolicy: string; - /** Retrieves the URL to an external file that contains the source code or data. */ + /** + * Retrieves the URL to an external file that contains the source code or data. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) + */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12549,7 +12268,6 @@ declare var HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */ autocomplete: AutoFill; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */ disabled: boolean; @@ -12561,23 +12279,11 @@ interface HTMLSelectElement extends HTMLElement { readonly form: HTMLFormElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; - /** - * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) - */ + /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -12585,11 +12291,7 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -12599,29 +12301,17 @@ interface HTMLSelectElement extends HTMLElement { selectedIndex: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE attribute. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) - */ + readonly type: 'select-one' | 'select-multiple'; + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; /** * Sets or retrieves the value which is returned to the server when the form control is submitted. @@ -12629,11 +12319,7 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value) */ value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** * Adds an element to the areas, controlRange, or options collection. @@ -12677,7 +12363,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -12728,29 +12413,17 @@ declare var HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ height: number; - /** - * Gets or sets the intended media type of the media source. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) - */ + /** Gets or sets the intended media type of the media source. */ media: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) */ srcset: string; - /** - * Gets or sets the MIME type of a media resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) - */ + /** Gets or sets the MIME type of a media resource. */ type: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ width: number; addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12827,8 +12500,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -12866,8 +12537,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves a comma-delimited list of conceptual categories associated with the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -12910,8 +12579,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -12944,8 +12611,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -13001,8 +12666,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -13217,8 +12880,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -13257,11 +12918,7 @@ interface HTMLTableRowElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells collection. @@ -13300,8 +12957,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -13322,11 +12977,7 @@ interface HTMLTableSectionElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows collection. @@ -13367,7 +13018,14 @@ interface HTMLTemplateElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */ + shadowRootClonable: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */ + shadowRootDelegatesFocus: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */ shadowRootMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) */ + shadowRootSerializable: boolean; addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -13385,7 +13043,6 @@ declare var HTMLTemplateElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -13415,9 +13072,12 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */ readonly textLength: number; - /** Retrieves the type of control. */ + /** + * Retrieves the type of control. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) + */ readonly type: string; /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; @@ -13431,7 +13091,6 @@ interface HTMLTextAreaElement extends HTMLElement { wrap: string; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -13510,23 +13169,14 @@ declare var HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) */ default: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) */ kind: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) */ label: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) */ readonly readyState: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) */ srclang: string; - /** - * Returns the TextTrack object corresponding to the text track of the track element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) - */ + /** Returns the TextTrack object corresponding to the text track of the track element. */ readonly track: TextTrack; readonly NONE: 0; readonly LOADING: 1; @@ -13553,17 +13203,9 @@ declare var HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -13642,11 +13284,13 @@ interface HTMLVideoElement extends HTMLMediaElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) */ cancelVideoFrameCallback(handle: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality) */ getVideoPlaybackQuality(): VideoPlaybackQuality; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -14394,7 +14038,7 @@ interface IDBTransaction extends EventTarget { /** * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -14552,9 +14196,9 @@ declare var ImageData: { new (data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData; }; -interface InnerHTML { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -14731,6 +14375,29 @@ declare var KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) */ +interface LargestContentfulPaint extends PerformanceEntry { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) */ + readonly element: Element | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) */ + readonly id: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */ + readonly loadTime: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */ + readonly renderTime: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) */ + readonly size: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) */ + readonly url: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) */ + toJSON(): any; +} + +declare var LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet) */ readonly sheet: CSSStyleSheet | null; @@ -15293,6 +14960,7 @@ declare var MediaKeySystemAccess: { interface MediaKeys { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */ setServerCertificate(serverCertificate: BufferSource): Promise; } @@ -15481,11 +15149,8 @@ interface MediaSource extends EventTarget { readonly activeSourceBuffers: SourceBufferList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */ onsourceclose: ((this: MediaSource, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */ onsourceended: ((this: MediaSource, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */ onsourceopen: ((this: MediaSource, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState) */ readonly readyState: ReadyState; @@ -15510,10 +15175,20 @@ interface MediaSource extends EventTarget { declare var MediaSource: { prototype: MediaSource; new (): MediaSource; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) */ + readonly canConstructInDedicatedWorker: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) */ isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -15717,11 +15392,7 @@ interface MessageEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void; } @@ -15789,32 +15460,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -15833,23 +15496,11 @@ declare var MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -16338,7 +15989,7 @@ interface NavigatorPlugins { /** * @deprecated * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */ @@ -16884,7 +16535,9 @@ interface OffscreenCanvas extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's bitmap. @@ -16937,8 +16590,6 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -17795,16 +17446,12 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** * Returns the plugin library's filename, if applicable on the current platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -17817,23 +17464,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -17853,29 +17492,13 @@ declare var Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -17933,6 +17556,7 @@ declare var PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or replaceState(). * @@ -18008,6 +17632,7 @@ declare var PromiseRejectionEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) */ readonly authenticatorAttachment: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId) */ readonly rawId: ArrayBuffer; @@ -18225,12 +17850,11 @@ interface RTCDtlsTransportEventMap { interface RTCDtlsTransport extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) */ onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */ getRemoteCertificates(): ArrayBuffer[]; addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -18348,6 +17972,11 @@ declare var RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -18504,12 +18133,9 @@ declare var RTCPeerConnection: { 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; readonly port: number | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } @@ -18539,6 +18165,8 @@ declare var RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */ readonly track: MediaStreamTrack; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */ @@ -18616,7 +18244,7 @@ interface RTCRtpTransceiver { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender) */ readonly sender: RTCRtpSender; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: RTCRtpCodec[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) */ stop(): void; } @@ -18636,6 +18264,7 @@ interface RTCSctpTransport extends EventTarget { readonly maxChannels: number | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */ onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state) */ readonly state: RTCSctpTransportState; @@ -18663,7 +18292,7 @@ interface RTCSessionDescription { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/type) */ readonly type: RTCSdpType; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): any; + toJSON(): RTCSessionDescriptionInit; } declare var RTCSessionDescription: { @@ -18736,7 +18365,7 @@ interface Range extends AbstractRange { */ comparePoint(node: Node, offset: number): number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) */ deleteContents(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach) */ @@ -18955,6 +18584,7 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */ toJSON(): any; } @@ -19014,11 +18644,7 @@ interface Request extends Body { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity) */ readonly integrity: string; - /** - * Returns a boolean indicating whether or not request can outlive the global in which it was created. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) - */ + /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */ readonly keepalive: boolean; /** * Returns request's HTTP method, which is "GET" by default. @@ -19094,6 +18720,7 @@ interface ResizeObserverEntry { readonly contentBoxSize: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) */ readonly devicePixelContentBoxSize: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target) */ readonly target: Element; @@ -19277,7 +18904,9 @@ declare var SVGAnimatedBoolean: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) */ readonly animVal: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) */ baseVal: number; } @@ -19307,7 +18936,9 @@ declare var SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) */ readonly animVal: SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) */ readonly baseVal: SVGLength; } @@ -19668,11 +19299,8 @@ declare var SVGFEBlendElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement) */ interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) */ readonly in1: SVGAnimatedString; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) */ readonly type: SVGAnimatedEnumeration; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -20362,7 +19990,6 @@ declare var SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) */ crossOrigin: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */ readonly height: SVGAnimatedLength; @@ -21310,6 +20937,7 @@ interface ScreenOrientationEventMap { interface ScreenOrientation extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */ onchange: ((this: ScreenOrientation, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */ readonly type: OrientationType; @@ -21409,6 +21037,8 @@ interface Selection { readonly anchorNode: Node | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) */ + readonly direction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */ readonly focusNode: Node | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset) */ @@ -21579,16 +21209,26 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) */ + readonly clonable: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) */ readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) */ + readonly serializable: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) */ + getHTML(options?: GetHTMLOptions): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */ + setHTMLUnsafe(html: string): void; /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */ addEventListener(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -21647,15 +21287,10 @@ interface SourceBuffer extends EventTarget { readonly buffered: TimeRanges; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) */ onabort: ((this: SourceBuffer, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) */ onerror: ((this: SourceBuffer, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) */ onupdate: ((this: SourceBuffer, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) */ onupdateend: ((this: SourceBuffer, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) */ onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset) */ timestampOffset: number; @@ -21693,9 +21328,7 @@ interface SourceBufferListEventMap { interface SourceBufferList extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; addEventListener(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -22336,6 +21969,16 @@ declare var TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void; +} + +declare var TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. * @@ -22612,7 +22255,7 @@ interface TextTrackList extends EventTarget { onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */ onchange: ((this: TextTrackList, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */ getTrackById(id: string): TextTrack | null; @@ -22929,9 +22572,11 @@ declare var URL: { prototype: URL; new (url: string | URL, base?: string | URL): URL; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */ + parse(url: string | URL, base?: string | URL): URL | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */ revokeObjectURL(url: string): void; }; @@ -23041,21 +22686,13 @@ declare var VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) */ regionAnchorX: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) */ regionAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) */ scroll: ScrollSetting; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) */ viewportAnchorX: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -23072,7 +22709,6 @@ declare var VTTRegion: { interface ValidityState { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */ readonly customError: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */ readonly patternMismatch: boolean; @@ -23088,7 +22724,6 @@ interface ValidityState { readonly tooShort: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */ readonly valid: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */ readonly valueMissing: boolean; @@ -23130,6 +22765,7 @@ interface VideoDecoderEventMap { interface VideoDecoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */ readonly state: CodecState; @@ -23152,6 +22788,7 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -23167,6 +22804,7 @@ interface VideoEncoderEventMap { interface VideoEncoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */ readonly state: CodecState; @@ -23176,6 +22814,7 @@ interface VideoEncoder extends EventTarget { configure(config: VideoEncoderConfig): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */ flush(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */ reset(): void; @@ -23188,6 +22827,7 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -23219,6 +22859,7 @@ interface VideoFrame { clone(): VideoFrame; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */ copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise; } @@ -23253,6 +22894,23 @@ declare var VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) */ + readonly finished: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */ + readonly ready: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */ + readonly updateCallbackDone: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */ + skipTransition(): void; +} + +declare var ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -24117,7 +23775,7 @@ interface WebGL2RenderingContextBase { clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */ clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */ @@ -24994,6 +24652,7 @@ declare var WebGLRenderingContext: { interface WebGLRenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */ drawingBufferColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */ readonly drawingBufferHeight: GLsizei; @@ -25696,7 +25355,7 @@ declare var WebGLVertexArrayObject: { new (): WebGLVertexArrayObject; }; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} interface WebSocketEventMap { @@ -26101,7 +25760,11 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: any): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback) */ cancelIdleCallback(handle: number): void; @@ -26272,24 +25935,24 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -26796,7 +26459,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -26808,9 +26471,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -26820,9 +26483,9 @@ interface Console { table(tabularData?: any, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -26973,9 +26636,7 @@ declare namespace WebAssembly { /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */ value: ValueTypeMap[T]; - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */ valueOf(): ValueTypeMap[T]; } @@ -27271,6 +26932,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): any; } +interface UpdateCallback { + (): any; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -27722,7 +27387,11 @@ declare var visualViewport: VisualViewport | null; declare var window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: any): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback) */ declare function cancelIdleCallback(handle: number): void; @@ -27845,7 +27514,7 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ declare var onblur: ((this: Window, ev: FocusEvent) => any) | null; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare var oncancel: ((this: Window, ev: Event) => any) | null; /** * Occurs when playback is possible, but would require further buffering. @@ -27875,6 +27544,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null; declare var onclick: ((this: Window, ev: MouseEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare var onclose: ((this: Window, ev: Event) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */ +declare var oncontextlost: ((this: Window, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @@ -27883,6 +27554,8 @@ declare var onclose: ((this: Window, ev: Event) => any) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */ +declare var oncontextrestored: ((this: Window, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */ declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */ @@ -28052,7 +27725,7 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ declare var onloadstart: ((this: Window, ev: Event) => any) | null; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null; /** * Fires when the user clicks the object with either mouse button. @@ -28339,24 +28012,24 @@ declare var localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare var caches: CacheStorage; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare var crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare var crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare var indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ declare var isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare var origin: string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare var performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -28450,7 +28123,7 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type VibratePattern = number | number[]; type WindowProxy = Window; @@ -28550,8 +28223,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/source/temp/copied/lib.dom.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.dom.iterable.d.ts index 880d522502..b019c9cafa 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.dom.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.dom.iterable.d.ts @@ -19,6 +19,11 @@ and limitations under the License. /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */ setValueCurveAtTime(values: Iterable, startTime: number, duration: number): AudioParam; @@ -34,36 +39,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSNumericValue]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSTransformComponent]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSUnparsedSegment]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -81,71 +86,81 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, string]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, string]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[string, FormDataEntryValue]>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): IterableIterator<[string, string]>; + entries(): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -181,32 +196,32 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>; - entries(): IterableIterator<[BufferSource, MediaKeyStatus]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; + entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -221,81 +236,85 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[number, Node]>; + entries(): ArrayIterator<[number, Node]>; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[number, TNode]>; + entries(): ArrayIterator<[number, TNode]>; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator<[string, Iterable]>; - entries(): IterableIterator<[string, Iterable]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + entries(): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -322,25 +341,29 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator<[string, string]>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2015.core.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2015.core.d.ts index ec75ff4c69..1326a74426 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2015.core.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2015.core.d.ts @@ -50,6 +50,8 @@ interface Array { * @param end If not specified, length of the this object is used as its default value. */ copyWithin(target: number, start: number, end?: number): this; + + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; } interface ArrayConstructor { @@ -347,6 +349,8 @@ interface ReadonlyArray { * @param thisArg If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead. */ findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number; + + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; } interface RegExp { @@ -530,3 +534,39 @@ interface StringConstructor { */ raw(template: { raw: readonly string[] | ArrayLike }, ...substitutions: any[]): string; } + +interface Int8Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint8Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint8ClampedArray { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Int16Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint16Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Int32Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint32Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Float32Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} + +interface Float64Array { + toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2015.generator.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2015.generator.d.ts index f8d351d9b9..b1beac7f01 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2015.generator.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2015.generator.d.ts @@ -17,9 +17,9 @@ and limitations under the License. /// -interface Generator extends Iterator { +interface Generator extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: any): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2015.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2015.iterable.d.ts index 23891b780d..eceac6496c 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2015.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2015.iterable.d.ts @@ -34,33 +34,46 @@ interface IteratorReturnResult { type IteratorResult = IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): IteratorResult; + next(...[value]: [] | [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: any): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** Describes an {@link Iterator} produced by the runtime that inherits from the intrinsic `Iterator.prototype`. */ +interface IteratorObject extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** Defines the `TReturn` type used for built-in iterators produced by `Array`, `Map`, `Set`, and others. This is `undefined` when `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, T]>; + entries(): ArrayIterator<[number, T]>; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -83,49 +96,53 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, T]>; + entries(): ArrayIterator<[number, T]>; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator<[K, V]>; + [Symbol.iterator](): MapIterator<[K, V]>; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator<[K, V]>; + entries(): MapIterator<[K, V]>; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator<[K, V]>; + [Symbol.iterator](): MapIterator<[K, V]>; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator<[K, V]>; + entries(): MapIterator<[K, V]>; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -139,30 +156,34 @@ interface WeakMapConstructor { new (iterable: Iterable): WeakMap; } +interface SetIterator extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator<[T, T]>; + entries(): SetIterator<[T, T]>; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator<[T, T]>; + entries(): SetIterator<[T, T]>; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -195,19 +216,23 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -224,13 +249,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -247,15 +272,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -272,15 +297,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -297,13 +322,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -320,13 +345,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -343,13 +368,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -366,13 +391,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -389,13 +414,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator<[number, number]>; + entries(): ArrayIterator<[number, number]>; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2017.object.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2017.object.d.ts index 0e83d5bf7f..5cd3c1cdc3 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2017.object.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2017.object.d.ts @@ -17,28 +17,28 @@ and limitations under the License. interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ values(o: { [s: string]: T } | ArrayLike): T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ values(o: {}): any[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ entries(o: { [s: string]: T } | ArrayLike): [string, T][]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2018.asyncgenerator.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2018.asyncgenerator.d.ts index 46f2fcbfb0..54e8b6852f 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2018.asyncgenerator.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2018.asyncgenerator.d.ts @@ -17,9 +17,9 @@ and limitations under the License. /// -interface AsyncGenerator extends AsyncIterator { +interface AsyncGenerator extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): Promise>; + next(...[value]: [] | [TNext]): Promise>; return(value: TReturn | PromiseLike): Promise>; throw(e: any): Promise>; [Symbol.asyncIterator](): AsyncGenerator; diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2018.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2018.asynciterable.d.ts index b9c593cfae..d35bceffaa 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2018.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2018.asynciterable.d.ts @@ -23,17 +23,23 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: [] | [TNext]): Promise>; + next(...[value]: [] | [TNext]): Promise>; return?(value?: TReturn | PromiseLike): Promise>; throw?(e?: any): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** Describes an {@link AsyncIterator} produced by the runtime that inherits from the intrinsic `AsyncIterator.prototype`. */ +interface AsyncIteratorObject extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2018.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2018.intl.d.ts index feca191f01..9353cacee0 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2018.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2018.intl.d.ts @@ -54,10 +54,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = 'literal' | 'nan' | 'infinity' | 'percent' | 'integer' | 'group' | 'decimal' | 'fraction' | 'plusSign' | 'minusSign' | 'percentSign' | 'currency' | 'code' | 'symbol' | 'name'; - type ES2020NumberFormatPartType = 'compact' | 'exponentInteger' | 'exponentMinusSign' | 'exponentSeparator' | 'unit' | 'unknown'; - type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + literal: never; + nan: never; + infinity: never; + percent: never; + integer: never; + group: never; + decimal: never; + fraction: never; + plusSign: never; + minusSign: never; + percentSign: never; + currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2019.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2019.intl.d.ts index e49d078176..e58e6db177 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2019.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2019.intl.d.ts @@ -17,6 +17,6 @@ and limitations under the License. declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - unknown: any; + unknown: never; } } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2020.bigint.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2020.bigint.d.ts index c06a14eb8e..351da69fe7 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2020.bigint.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2020.bigint.d.ts @@ -154,7 +154,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator<[number, bigint]>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -229,7 +229,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -325,7 +325,7 @@ interface BigInt64Array { subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string; /** Returns a string representation of the array. */ toString(): string; @@ -334,9 +334,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -396,7 +396,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator<[number, bigint]>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -471,7 +471,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -567,7 +567,7 @@ interface BigUint64Array { subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string; /** Returns a string representation of the array. */ toString(): string; @@ -576,9 +576,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -653,6 +653,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2020.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2020.intl.d.ts index 54c8108102..f715184891 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2020.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2020.intl.d.ts @@ -177,24 +177,49 @@ declare namespace Intl { supportedLocalesOf(locales?: LocalesArgument, options?: RelativeTimeFormatOptions): UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + auto: never; + never: never; + always: never; + exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + numberingSystem?: string | undefined; compactDisplay?: 'short' | 'long' | undefined; notation?: 'standard' | 'scientific' | 'engineering' | 'compact' | undefined; - signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' | undefined; + signDisplay?: NumberFormatOptionsSignDisplay | undefined; unit?: string | undefined; unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - currencyDisplay?: string | undefined; - currencySign?: string | undefined; + currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { compactDisplay?: 'short' | 'long'; - notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + signDisplay: NumberFormatOptionsSignDisplay; unit?: string; unitDisplay?: 'short' | 'long' | 'narrow'; - currencyDisplay?: string; - currencySign?: string; + currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + compact: never; + exponentInteger: never; + exponentMinusSign: never; + exponentSeparator: never; + unit: never; + unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2020.string.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2020.string.d.ts index 64e4afd228..10a7fe19fb 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2020.string.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2020.string.d.ts @@ -15,7 +15,7 @@ and limitations under the License. /// -/// +/// interface String { /** @@ -23,7 +23,7 @@ interface String { * * @param regexp A variable name or string literal containing the regular expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */ toLocaleLowerCase(locales?: Intl.LocalesArgument): string; diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2020.symbol.wellknown.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2020.symbol.wellknown.d.ts index 624a55ffb1..4c4e48ddc9 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2020.symbol.wellknown.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2020.symbol.wellknown.d.ts @@ -23,11 +23,15 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of matches containing the results of that search. * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2021.weakref.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2021.weakref.d.ts index a95ac270da..1a36cc2fd5 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2021.weakref.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2021.weakref.d.ts @@ -52,7 +52,7 @@ interface FinalizationRegistry { * * @param unregisterToken The token that was used as the unregisterToken argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2022.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2022.intl.d.ts index 780494abfa..8ec1f5f473 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2022.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2022.intl.d.ts @@ -44,6 +44,10 @@ declare namespace Intl { granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that includes the code unit at a specified index. @@ -53,7 +57,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2022.regexp.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2022.regexp.d.ts index 711d1c0a1e..59035cbe94 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2022.regexp.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2022.regexp.d.ts @@ -30,6 +30,6 @@ interface RegExpIndicesArray extends Array<[number, number]> { } interface RegExp { - /** Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression. Default is false. Read-only. */ + /** Returns a Boolean value indicating the state of the hasIndices flag (d) used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2023.array.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2023.array.d.ts index 5ce4da06c9..1c3fa99460 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2023.array.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2023.array.d.ts @@ -156,7 +156,7 @@ interface Int8Array { findLastIndex(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number; /** Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint8Array; + toReversed(): Int8Array; /** * Copies and sorts the array. @@ -164,11 +164,11 @@ interface Int8Array { * @param compareFn Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise. If omitted, the elements are sorted in ascending order. * * ```ts - * const myNums = Uint8Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b); // Uint8Array(4) [1, 2, 11, 22] + * const myNums = Int8Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; + toSorted(compareFn?: (a: number, b: number) => number): Int8Array; /** * Copies the array and inserts the given number at the provided index. @@ -177,7 +177,7 @@ interface Int8Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint8Array; + with(index: number, value: number): Int8Array; } interface Uint8Array { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2023.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2023.d.ts index e3dcb73597..eed7333dd8 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es2023.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2023.d.ts @@ -18,3 +18,4 @@ and limitations under the License. /// /// /// +/// diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es2023.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es2023.intl.d.ts new file mode 100644 index 0000000000..2c2df09a98 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied/lib.es2023.intl.d.ts @@ -0,0 +1,55 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + min2: never; + auto: never; + always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + negative: never; + } + + interface NumberFormatOptions { + roundingPriority?: 'auto' | 'morePrecision' | 'lessPrecision' | undefined; + roundingIncrement?: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000 | undefined; + roundingMode?: 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven' | undefined; + trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + roundingMode: 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven'; + roundingIncrement: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000; + trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = `${number}` | 'Infinity' | '-Infinity' | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts(value: number | bigint | StringNumericLiteral): NumberFormatPart[]; + formatRange(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): string; + formatRangeToParts(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.es5.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.es5.d.ts index 8c13102608..80cc3ca9de 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.es5.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.es5.d.ts @@ -861,7 +861,7 @@ interface Date { getMilliseconds(): number; /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */ getUTCMilliseconds(): number; - /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */ + /** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */ getTimezoneOffset(): number; /** * Sets the date and time value in the Date object. @@ -3980,12 +3980,33 @@ declare namespace Intl { var Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + decimal: never; + percent: never; + currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + code: never; + symbol: never; + name: never; + } + + type NumberFormatOptionsCurrencyDisplay = keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | 'true' | 'false' | boolean; + type ResolvedNumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - localeMatcher?: string | undefined; - style?: string | undefined; + localeMatcher?: 'lookup' | 'best fit' | undefined; + style?: NumberFormatOptionsStyle | undefined; currency?: string | undefined; - currencySign?: string | undefined; - useGrouping?: boolean | undefined; + currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + useGrouping?: NumberFormatOptionsUseGrouping | undefined; minimumIntegerDigits?: number | undefined; minimumFractionDigits?: number | undefined; maximumFractionDigits?: number | undefined; @@ -3996,14 +4017,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { locale: string; numberingSystem: string; - style: string; + style: NumberFormatOptionsStyle; currency?: string; + currencyDisplay?: NumberFormatOptionsCurrencyDisplay; minimumIntegerDigits: number; - minimumFractionDigits: number; - maximumFractionDigits: number; + minimumFractionDigits?: number; + maximumFractionDigits?: number; minimumSignificantDigits?: number; maximumSignificantDigits?: number; - useGrouping: boolean; + useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.array.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.array.d.ts new file mode 100644 index 0000000000..6f68f79675 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.array.d.ts @@ -0,0 +1,34 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to convert to an array. + */ + fromAsync(iterableOrArrayLike: AsyncIterable | Iterable> | ArrayLike>): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to convert to an array. + * @param mapfn A mapping function to call on every element of itarableOrArrayLike. Each return value is awaited before being added to result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync(iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, mapFn: (value: Awaited) => U, thisArg?: any): Promise[]>; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.collection.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.collection.d.ts index 4234bbdf11..8ba28e7201 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.esnext.collection.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.collection.d.ts @@ -24,3 +24,46 @@ interface MapConstructor { */ groupBy(items: Iterable, keySelector: (item: T, index: number) => K): Map; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** @returns A boolean indicating whether an element with the specified value exists in the set-like or not. */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** @returns A new Set containing all the elements in this Set and also all the elements in the argument. */ + union(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements which are both in this Set and in the argument. */ + intersection(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements in this Set which are not also in the argument. */ + difference(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements which are in either this Set or in the argument, but not in both. */ + symmetricDifference(other: ReadonlySetLike): Set; + /** @returns A boolean indicating whether all the elements in this Set are also in the argument. */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether all the elements in the argument are also in this Set. */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether this Set has no elements in common with the argument. */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** @returns A new Set containing all the elements in this Set and also all the elements in the argument. */ + union(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements which are both in this Set and in the argument. */ + intersection(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements in this Set which are not also in the argument. */ + difference(other: ReadonlySetLike): Set; + /** @returns A new Set containing all the elements which are in either this Set or in the argument, but not in both. */ + symmetricDifference(other: ReadonlySetLike): Set; + /** @returns A boolean indicating whether all the elements in this Set are also in the argument. */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether all the elements in the argument are also in this Set. */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether this Set has no elements in common with the argument. */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.d.ts index c1e1e6f2c7..ec4117c6ec 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.esnext.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.d.ts @@ -22,3 +22,7 @@ and limitations under the License. /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.disposable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.disposable.d.ts index 764439453e..4d44a01314 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.esnext.disposable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.disposable.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// /// +/// +/// interface SymbolConstructor { /** A method that is used to release resources held by an object. Called by the semantics of the `using` statement. */ @@ -170,3 +172,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare var AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.intl.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.intl.d.ts index 4c75b03d41..b740dc2516 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.esnext.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.intl.d.ts @@ -16,12 +16,5 @@ and limitations under the License. /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts(start: number | bigint, end: number | bigint): NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.iterator.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.iterator.d.ts new file mode 100644 index 0000000000..da5c60e757 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.iterator.d.ts @@ -0,0 +1,149 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used to transform values from the underlying iterator. + */ + map(callbackfn: (value: T, index: number) => U): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. + */ + filter(predicate: (value: T, index: number) => value is S): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. + */ + filter(predicate: (value: T, index: number) => unknown): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after skipping the provided count. + * + * @param count The number of values to drop. + */ + drop(count: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback to the values from this iterator and then flattening the resulting iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to transform values from the underlying iterator into new iterators or iterables to be flattened into the result. + */ + flatMap(callback: (value: T, index: number) => Iterator | Iterable): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * + * @param callbackfn A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the iterator. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of a value from the iterator. + */ + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T; + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T, initialValue: T): T; + + /** + * Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * + * @param callbackfn A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the iterator. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of a value from the iterator. + */ + reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach calls the callbackfn function one time for each element in the iterator. + */ + forEach(callbackfn: (value: T, index: number) => void): void; + + /** + * Determines whether the specified callback function returns true for any element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some method calls the predicate function for each element in this iterator until the predicate returns a value true, or until the end of the iterator. + */ + some(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified test. + * + * @param predicate A function that accepts up to two arguments. The every method calls the predicate function for each element in this iterator until the predicate returns false, or until the end of this iterator. + */ + every(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Returns the value of the first element in this iterator where predicate is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this iterator, in order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined. + */ + find(predicate: (value: T, index: number) => value is S): S | undefined; + find(predicate: (value: T, index: number) => unknown): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns its input if the input already inherits from the built-in Iterator class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from(value: Iterator | Iterable): IteratorObject; + } + + var Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.regexp.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.regexp.d.ts new file mode 100644 index 0000000000..2f2a46ae54 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.regexp.d.ts @@ -0,0 +1,21 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface RegExp { + /** Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression. Default is false. Read-only. */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.esnext.string.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.esnext.string.d.ts new file mode 100644 index 0000000000..cc0cadf887 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/copied/lib.esnext.string.d.ts @@ -0,0 +1,24 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface String { + /** Returns true if all leading surrogates and trailing surrogates appear paired and in order. */ + isWellFormed(): boolean; + + /** Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/source/temp/copied/lib.webworker.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.webworker.asynciterable.d.ts index 5d8625030b..437bb888a9 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.webworker.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.webworker.asynciterable.d.ts @@ -19,9 +19,22 @@ and limitations under the License. /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; - entries(): AsyncIterableIterator<[string, FileSystemHandle]>; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/copied/lib.webworker.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.webworker.d.ts index d902232987..474112cea6 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.webworker.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.webworker.d.ts @@ -338,10 +338,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -412,6 +408,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -549,6 +549,17 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -646,16 +657,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -971,6 +982,8 @@ declare var AbortSignal: { new (): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: any): AbortSignal; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: AbortSignal[]): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */ timeout(milliseconds: number): AbortSignal; }; @@ -1652,6 +1665,8 @@ interface CanvasShadowStyles { } interface CanvasState { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */ + isContextLost(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */ reset(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */ @@ -1983,9 +1998,7 @@ interface DOMMatrix extends DOMMatrixReadOnly { rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */ scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */ scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; skewYSelf(sy?: number): DOMMatrix; @@ -2002,88 +2015,48 @@ declare var DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */ readonly a: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */ readonly b: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */ readonly c: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */ readonly d: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */ readonly e: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */ readonly f: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */ readonly is2D: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */ readonly isIdentity: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */ readonly m11: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */ readonly m12: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */ readonly m13: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */ readonly m14: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */ readonly m21: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */ readonly m22: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */ readonly m23: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */ readonly m24: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */ readonly m31: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */ readonly m32: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */ readonly m33: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */ readonly m34: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */ readonly m41: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */ readonly m42: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */ readonly m43: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */ flipY(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */ inverse(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */ rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */ scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */ scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */ skewX(sx?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */ skewY(sy?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */ toFloat32Array(): Float32Array; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */ toFloat64Array(): Float64Array; toJSON(): any; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */ transformPoint(point?: DOMPointInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */ translate(tx?: number, ty?: number, tz?: number): DOMMatrix; @@ -2126,7 +2099,6 @@ interface DOMPointReadOnly { readonly y: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ toJSON(): any; @@ -2141,15 +2113,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */ getBounds(): DOMRect; toJSON(): any; } @@ -2172,6 +2139,7 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -2392,15 +2360,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */ readonly colno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */ readonly error: any; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */ readonly filename: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */ readonly lineno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */ readonly message: string; } @@ -3721,7 +3684,7 @@ interface IDBTransaction extends EventTarget { /** * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -3848,6 +3811,11 @@ declare var ImageData: { new (data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */ interface KHR_parallel_shader_compile { readonly COMPLETION_STATUS_KHR: 0x91b1; @@ -3901,6 +3869,25 @@ declare var MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) */ +interface MediaStreamTrackProcessor { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) */ + readonly readable: ReadableStream; +} + +declare var MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. * @@ -3962,11 +3949,7 @@ interface MessageEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void; } @@ -4293,7 +4276,9 @@ interface OffscreenCanvas extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's bitmap. @@ -4346,8 +4331,6 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -4934,6 +4917,7 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */ toJSON(): any; } @@ -4993,11 +4977,7 @@ interface Request extends Body { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity) */ readonly integrity: string; - /** - * Returns a boolean indicating whether or not request can outlive the global in which it was created. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) - */ + /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */ readonly keepalive: boolean; /** * Returns request's HTTP method, which is "GET" by default. @@ -5207,7 +5187,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { } /** - * This ServiceWorker API interface represents the global execution context of a service worker. + * This ServiceWorker API interface represents the global execution context of a service worker. Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) */ @@ -5674,9 +5654,11 @@ declare var URL: { prototype: URL; new (url: string | URL, base?: string | URL): URL; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */ + parse(url: string | URL, base?: string | URL): URL | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */ revokeObjectURL(url: string): void; }; @@ -5764,6 +5746,7 @@ interface VideoDecoderEventMap { interface VideoDecoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */ readonly state: CodecState; @@ -5786,6 +5769,7 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -5801,6 +5785,7 @@ interface VideoEncoderEventMap { interface VideoEncoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */ readonly state: CodecState; @@ -5810,6 +5795,7 @@ interface VideoEncoder extends EventTarget { configure(config: VideoEncoderConfig): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */ flush(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */ reset(): void; @@ -5822,6 +5808,7 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -5853,6 +5840,7 @@ interface VideoFrame { clone(): VideoFrame; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */ copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise; } @@ -6629,7 +6617,7 @@ interface WebGL2RenderingContextBase { clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */ clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */ @@ -7504,6 +7492,7 @@ declare var WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */ drawingBufferColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */ readonly drawingBufferHeight: GLsizei; @@ -8206,7 +8195,7 @@ declare var WebGLVertexArrayObject: { new (): WebGLVertexArrayObject; }; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} interface WebSocketEventMap { @@ -8416,24 +8405,24 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -8531,7 +8520,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */ onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */ onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; /** * Returns workerGlobal. @@ -8866,7 +8857,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -8878,9 +8869,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -8890,9 +8881,9 @@ interface Console { table(tabularData?: any, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -8914,9 +8905,7 @@ declare namespace WebAssembly { /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */ value: ValueTypeMap[T]; - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */ valueOf(): ValueTypeMap[T]; } @@ -9191,7 +9180,9 @@ declare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */ declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null; /** * Returns workerGlobal. @@ -9216,24 +9207,24 @@ declare var fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare var caches: CacheStorage; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare var crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare var crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare var indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ declare var isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare var origin: string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare var performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -9310,7 +9301,7 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string; type AlphaOption = 'discard' | 'keep'; diff --git a/packages/strict-ts-lib/source/temp/copied/lib.webworker.iterable.d.ts b/packages/strict-ts-lib/source/temp/copied/lib.webworker.iterable.d.ts index 49b1372b04..79fa9c9afb 100644 --- a/packages/strict-ts-lib/source/temp/copied/lib.webworker.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/copied/lib.webworker.iterable.d.ts @@ -19,25 +19,30 @@ and limitations under the License. /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSNumericValue]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSTransformComponent]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, CSSUnparsedSegment]>; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -56,33 +61,41 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator<[string, FormDataEntryValue]>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): IterableIterator<[string, string]>; + entries(): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -106,19 +119,19 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator<[string, Iterable]>; - entries(): IterableIterator<[string, Iterable]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + entries(): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -144,14 +157,18 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator<[string, string]>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator<[string, string]>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.asynciterable.d.ts index 63d3c56ecb..f7e488eccb 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.asynciterable.d.ts @@ -19,9 +19,22 @@ and limitations under the License. /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; + entries(): FileSystemDirectoryHandleAsyncIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.d.ts index 42e68e04a7..d1bcf28870 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.d.ts @@ -218,6 +218,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions { interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; + contentVisibilityAuto?: boolean; + opacityProperty?: boolean; + visibilityProperty?: boolean; } interface ClientQueryOptions { @@ -284,6 +287,10 @@ interface ConstrainULongRange extends ULongRange { ideal?: number; } +interface ContentVisibilityAutoStateChangeEventInit extends EventInit { + skipped?: boolean; +} + interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; @@ -573,6 +580,8 @@ interface GainOptions extends AudioNodeOptions { interface GamepadEffectParameters { duration?: number; + leftTrigger?: number; + rightTrigger?: number; startDelay?: number; strongMagnitude?: number; weakMagnitude?: number; @@ -586,6 +595,11 @@ interface GetAnimationsOptions { subtree?: boolean; } +interface GetHTMLOptions { + serializableShadowRoots?: boolean; + shadowRoots?: ShadowRoot[]; +} + interface GetNotificationOptions { tag?: string; } @@ -675,10 +689,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; @@ -852,6 +862,10 @@ interface MediaKeySystemMediaCapability { robustness?: string; } +interface MediaKeysPolicy { + minHdcpVersion?: string; +} + interface MediaMetadataInit { album?: string; artist?: string; @@ -1190,6 +1204,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { state?: unknown; } @@ -1372,11 +1390,6 @@ interface RTCIceCandidateInit { usernameFragment?: string | null; } -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; @@ -1507,7 +1520,7 @@ interface RTCRtcpParameters { } interface RTCRtpCapabilities { - codecs: RTCRtpCodecCapability[]; + codecs: RTCRtpCodec[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } @@ -1518,8 +1531,6 @@ interface RTCRtpCodec { sdpFmtpLine?: string; } -interface RTCRtpCodecCapability extends RTCRtpCodec {} - interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } @@ -1630,6 +1641,17 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -1761,21 +1783,22 @@ interface ScrollToOptions extends ScrollOptions { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; + serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -2201,6 +2224,10 @@ interface ARIAMixin { ariaAtomic: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */ ariaAutoComplete: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) */ + ariaBrailleLabel: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) */ + ariaBrailleRoleDescription: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */ ariaBusy: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) */ @@ -2333,6 +2360,8 @@ declare var AbortSignal: { new (): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: AbortSignal[]): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */ timeout(milliseconds: number): AbortSignal; }; @@ -2781,7 +2810,6 @@ declare var AudioNode: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam) */ interface AudioParam { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) */ automationRate: AutomationRate; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/defaultValue) */ readonly defaultValue: number; @@ -3069,7 +3097,11 @@ declare var BaseAudioContext: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent) */ interface BeforeUnloadEvent extends Event { - /** @deprecated */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue) + */ returnValue: unknown; } @@ -3375,7 +3407,7 @@ interface CSSImportRule extends CSSRule { readonly layerName: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */ readonly media: MediaList; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ readonly styleSheet: CSSStyleSheet | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */ readonly supportsText: string | null; @@ -3668,7 +3700,7 @@ declare var CSSPerspective: { interface CSSPropertyRule extends CSSRule { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */ readonly inherits: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ readonly initialValue: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */ readonly name: string; @@ -3781,6 +3813,19 @@ declare var CSSScale: { new (x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */ +interface CSSScopeRule extends CSSGroupingRule { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) */ + readonly end: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) */ + readonly start: string | null; +} + +declare var CSSScopeRule: { + prototype: CSSScopeRule; + new (): CSSScopeRule; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */ interface CSSSkew extends CSSTransformComponent { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */ @@ -3816,6 +3861,14 @@ declare var CSSSkewY: { new (ay: CSSNumericValue): CSSSkewY; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) */ +interface CSSStartingStyleRule extends CSSGroupingRule {} + +declare var CSSStartingStyleRule: { + prototype: CSSStartingStyleRule; + new (): CSSStartingStyleRule; +}; + /** * An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. * @@ -3886,7 +3939,6 @@ interface CSSStyleDeclaration { /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */ backgroundSize: string; baselineShift: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */ baselineSource: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */ blockSize: string; @@ -4041,6 +4093,7 @@ interface CSSStyleDeclaration { clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */ colorInterpolation: string; colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ @@ -4067,11 +4120,9 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) */ containIntrinsicBlockSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) */ containIntrinsicInlineSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */ containIntrinsicSize: string; @@ -4085,6 +4136,8 @@ interface CSSStyleDeclaration { containerType: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */ content: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) */ + contentVisibility: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) */ counterIncrement: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-reset) */ @@ -4586,6 +4639,10 @@ interface CSSStyleDeclaration { textUnderlinePosition: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */ textWrap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */ + textWrapMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */ + textWrapStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */ top: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */ @@ -4600,6 +4657,8 @@ interface CSSStyleDeclaration { transformStyle: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */ transition: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) */ + transitionBehavior: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) */ transitionDelay: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration) */ @@ -4617,6 +4676,8 @@ interface CSSStyleDeclaration { vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */ + viewTransitionName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */ visibility: string; /** @@ -4847,7 +4908,11 @@ interface CSSStyleDeclaration { * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content) */ webkitJustifyContent: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */ + /** + * @deprecated This is a legacy alias of `lineClamp`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) + */ webkitLineClamp: string; /** * @deprecated This is a legacy alias of `mask`. @@ -5021,6 +5086,8 @@ interface CSSStyleDeclaration { webkitUserSelect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */ whiteSpace: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) */ + whiteSpaceCollapse: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */ widows: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */ @@ -5039,6 +5106,8 @@ interface CSSStyleDeclaration { y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */ + zoom: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) */ getPropertyPriority(property: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue) */ @@ -5519,6 +5588,8 @@ interface CanvasShadowStyles { } interface CanvasState { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */ + isContextLost(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */ reset(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */ @@ -5715,6 +5786,8 @@ declare var ClipboardEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem) */ interface ClipboardItem { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) */ + readonly presentationStyle: PresentationStyle; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) */ readonly types: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) */ @@ -5724,6 +5797,8 @@ interface ClipboardItem { declare var ClipboardItem: { prototype: ClipboardItem; new (items: Record>, options?: ClipboardItemOptions): ClipboardItem; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) */ + supports(type: string): boolean; }; /** @@ -5813,6 +5888,17 @@ declare var ConstantSourceNode: { new (context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent) */ +interface ContentVisibilityAutoStateChangeEvent extends Event { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped) */ + readonly skipped: boolean; +} + +declare var ContentVisibilityAutoStateChangeEvent: { + prototype: ContentVisibilityAutoStateChangeEvent; + new (type: string, eventInitDict?: ContentVisibilityAutoStateChangeEventInit): ContentVisibilityAutoStateChangeEvent; +}; + /** * An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. * @@ -5973,6 +6059,16 @@ declare var CustomEvent: { new (type: string, eventInitDict?: CustomEventInit): CustomEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet) */ +interface CustomStateSet { + forEach(callbackfn: (value: string, key: string, parent: CustomStateSet) => void, thisArg?: unknown): void; +} + +declare var CustomStateSet: { + prototype: CustomStateSet; + new (): CustomStateSet; +}; + /** * An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. * @@ -6101,9 +6197,7 @@ interface DOMMatrix extends DOMMatrixReadOnly { rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */ scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */ scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; setMatrixValue(transformList: string): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; @@ -6127,88 +6221,48 @@ declare var WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */ readonly a: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */ readonly b: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */ readonly c: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */ readonly d: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */ readonly e: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */ readonly f: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */ readonly is2D: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */ readonly isIdentity: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */ readonly m11: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */ readonly m12: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */ readonly m13: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */ readonly m14: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */ readonly m21: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */ readonly m22: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */ readonly m23: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */ readonly m24: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */ readonly m31: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */ readonly m32: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */ readonly m33: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */ readonly m34: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */ readonly m41: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */ readonly m42: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */ readonly m43: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */ flipY(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */ inverse(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */ rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */ scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */ scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */ skewX(sx?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */ skewY(sy?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */ toFloat32Array(): Float32Array; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */ transformPoint(point?: DOMPointInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */ translate(tx?: number, ty?: number, tz?: number): DOMMatrix; @@ -6280,7 +6334,6 @@ interface DOMPointReadOnly { readonly y: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ toJSON(): unknown; @@ -6295,15 +6348,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */ getBounds(): DOMRect; toJSON(): unknown; } @@ -6326,6 +6374,7 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -7079,11 +7128,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode) */ adoptNode(node: T): T; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents) - */ + /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; @@ -7170,6 +7215,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: 'ClipboardEvent'): ClipboardEvent; createEvent(eventInterface: 'CloseEvent'): CloseEvent; createEvent(eventInterface: 'CompositionEvent'): CompositionEvent; + createEvent(eventInterface: 'ContentVisibilityAutoStateChangeEvent'): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: 'CustomEvent'): CustomEvent; createEvent(eventInterface: 'DeviceMotionEvent'): DeviceMotionEvent; createEvent(eventInterface: 'DeviceOrientationEvent'): DeviceOrientationEvent; @@ -7216,6 +7262,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: 'SpeechSynthesisEvent'): SpeechSynthesisEvent; createEvent(eventInterface: 'StorageEvent'): StorageEvent; createEvent(eventInterface: 'SubmitEvent'): SubmitEvent; + createEvent(eventInterface: 'TextEvent'): TextEvent; createEvent(eventInterface: 'ToggleEvent'): ToggleEvent; createEvent(eventInterface: 'TouchEvent'): TouchEvent; createEvent(eventInterface: 'TrackEvent'): TrackEvent; @@ -7381,8 +7428,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm) * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; @@ -7408,19 +7453,15 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * Returns the current value of the document, range, or current selection for the given command. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue) * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents) - */ + /** @deprecated */ releaseEvents(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */ + startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @@ -7446,6 +7487,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve declare var Document: { prototype: Document; new (): Document; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */ + parseHTMLUnsafe(html: string): Document; }; /** @@ -7664,7 +7707,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes) */ readonly attributes: NamedNodeMap; /** @@ -7693,6 +7736,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id) */ id: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */ + innerHTML: string; /** * Returns the local name. * @@ -7809,6 +7854,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non getElementsByTagNameNS(namespaceURI: 'http://www.w3.org/2000/svg', localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: 'http://www.w3.org/1998/Math/MathML', localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */ + getHTML(options?: GetHTMLOptions): string; /** * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. * @@ -7832,7 +7879,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement) */ insertAdjacentElement(where: InsertPosition, element: Element): Element | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */ - insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentHTML(position: InsertPosition, string: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) */ insertAdjacentText(where: InsertPosition, data: string): void; /** @@ -7867,7 +7914,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non */ requestFullscreen(options?: FullscreenOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock) */ - requestPointerLock(): void; + requestPointerLock(options?: PointerLockOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll) */ scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; @@ -7895,6 +7942,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non setAttributeNode(attr: Attr): Attr | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */ setAttributeNodeNS(attr: Attr): Attr | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */ + setHTMLUnsafe(html: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) */ setPointerCapture(pointerId: number): void; /** @@ -7923,6 +7972,7 @@ declare var Element: { }; interface ElementCSSInlineStyle { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */ readonly attributeStyleMap: StylePropertyMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */ readonly style: CSSStyleDeclaration; @@ -7959,6 +8009,8 @@ interface ElementInternals extends ARIAMixin { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot) */ readonly shadowRoot: ShadowRoot | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states) */ + readonly states: CustomStateSet; /** * Returns the error message that would be shown to the user if internals's target element was to be checked for validity. * @@ -8036,15 +8088,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */ readonly colno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */ readonly error: unknown; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */ readonly filename: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */ readonly lineno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */ readonly message: string; } @@ -8301,23 +8348,11 @@ declare var EventTarget: { new (): EventTarget; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External) - */ +/** @deprecated */ interface External { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider) - */ + /** @deprecated */ AddSearchProvider(): void; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled) - */ + /** @deprecated */ IsSearchProviderInstalled(): void; } @@ -8739,7 +8774,7 @@ declare var GainNode: { }; /** - * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. Available only in secure contexts. + * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad) */ @@ -8758,7 +8793,8 @@ interface Gamepad { readonly mapping: GamepadMappingType; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */ readonly timestamp: DOMHighResTimeStamp; - readonly vibrationActuator: GamepadHapticActuator | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) */ + readonly vibrationActuator: GamepadHapticActuator; } declare var Gamepad: { @@ -8767,7 +8803,7 @@ declare var Gamepad: { }; /** - * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. Available only in secure contexts. + * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton) */ @@ -8786,7 +8822,7 @@ declare var GamepadButton: { }; /** - * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. Available only in secure contexts. + * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent) */ @@ -8806,8 +8842,7 @@ declare var GamepadEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator) */ interface GamepadHapticActuator { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) */ - readonly type: GamepadHapticActuatorType; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise; reset(): Promise; } @@ -8863,6 +8898,8 @@ interface GeolocationCoordinates { readonly longitude: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */ readonly speed: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) */ + toJSON(): unknown; } declare var GeolocationCoordinates: { @@ -8880,6 +8917,8 @@ interface GeolocationPosition { readonly coords: GeolocationCoordinates; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */ readonly timestamp: EpochTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) */ + toJSON(): unknown; } declare var GeolocationPosition: { @@ -8925,7 +8964,9 @@ interface GlobalEventHandlersEventMap { compositionend: CompositionEvent; compositionstart: CompositionEvent; compositionupdate: CompositionEvent; + contextlost: Event; contextmenu: MouseEvent; + contextrestored: Event; copy: ClipboardEvent; cuechange: Event; cut: ClipboardEvent; @@ -9041,7 +9082,7 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ oncancel: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. @@ -9071,6 +9112,8 @@ interface GlobalEventHandlers { onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ onclose: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */ + oncontextlost: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @@ -9079,6 +9122,8 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */ + oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */ @@ -9248,7 +9293,7 @@ interface GlobalEventHandlers { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ onloadstart: ((this: GlobalEventHandlers, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => unknown) | null; /** * Fires when the user clicks the object with either mouse button. @@ -9538,16 +9583,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the character set used to encode the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset) */ charset: string; /** * Sets or retrieves the coordinates of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords) */ coords: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */ @@ -9562,10 +9603,9 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name) */ name: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) */ ping: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy) */ referrerPolicy: string; @@ -9581,16 +9621,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the relationship between the object and the destination of the link. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev) */ rev: string; /** * Sets or retrieves the shape of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape) */ shape: string; /** @@ -9624,28 +9660,18 @@ declare var HTMLAnchorElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt) - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords) - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */ download: string; /** * Sets or gets whether clicks in this region cause action. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref) */ noHref: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) */ ping: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy) */ referrerPolicy: string; @@ -9653,11 +9679,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { rel: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */ readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape) - */ + /** Sets or retrieves the shape of the object. */ shape: string; /** * Sets or retrieves the window or frame at which to target content. @@ -9703,8 +9725,6 @@ interface HTMLBRElement extends HTMLElement { * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear) */ clear: string; addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -9724,11 +9744,7 @@ declare var HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -9755,41 +9771,17 @@ interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandle * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement) */ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink) - */ + /** @deprecated */ aLink: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background) - */ + /** @deprecated */ background: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor) - */ + /** @deprecated */ bgColor: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link) - */ + /** @deprecated */ link: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text) - */ + /** @deprecated */ text: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink) - */ + /** @deprecated */ vLink: string; addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -9810,49 +9802,21 @@ declare var HTMLBodyElement: { interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction) - */ + /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype) - */ + /** Used to override the encoding (formEnctype attribute) specified on the form element. */ formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod) - */ + /** Overrides the submit method attribute previously specified on a form element. */ formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate) - */ + /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the name of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Gets the classification and default behavior of the button. @@ -9860,33 +9824,16 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type) */ type: 'submit' | 'reset' | 'button'; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) - */ + /** Sets or retrieves the default or selected value of the control. */ value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -10007,11 +9954,7 @@ interface HTMLCollectionOf extends HTMLCollectionBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement) */ interface HTMLDListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -10049,11 +9992,7 @@ declare var HTMLDataElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** - * Returns an HTMLCollection of the option elements of the datalist element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) - */ + /** Returns an HTMLCollection of the option elements of the datalist element. */ readonly options: HTMLCollectionOf; addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -10141,8 +10080,6 @@ interface HTMLDivElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -10182,6 +10119,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit accessKey: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */ readonly accessKeyLabel: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */ autocapitalize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */ dir: string; @@ -10244,7 +10182,11 @@ declare var HTMLElement: { interface HTMLEmbedElement extends HTMLElement { /** @deprecated */ align: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) + */ height: string; /** * Sets or retrieves the name of the object. @@ -10252,10 +10194,18 @@ interface HTMLEmbedElement extends HTMLElement { * @deprecated */ name: string; - /** Sets or retrieves a URL to be loaded by the object. */ + /** + * Sets or retrieves a URL to be loaded by the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) + */ src: string; type: string; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) + */ width: string; getSVGDocument(): Document | null; addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -10275,49 +10225,22 @@ declare var HTMLEmbedElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */ disabled: boolean; - /** - * Returns an HTMLCollection of the form controls in the element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) - */ + /** Returns an HTMLCollection of the form controls in the element. */ readonly elements: HTMLCollection; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */ name: string; - /** - * Returns the string "fieldset". - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) - */ + /** Returns the string "fieldset". */ readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -10415,11 +10338,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) */ action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFillBase; /** * Retrieves a collection, in source order, of all controls in a given form. @@ -10457,11 +10376,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) */ name: string; - /** - * Designates a form that is not validated when submitted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate) - */ + /** Designates a form that is not validated when submitted. */ noValidate: boolean; rel: string; readonly relList: DOMTokenList; @@ -10471,11 +10386,7 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target) */ target: string; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) - */ + /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */ reportValidity(): boolean; @@ -10506,90 +10417,66 @@ declare var HTMLFormElement: { new (): HTMLFormElement; }; -/** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement) - */ +/** @deprecated */ interface HTMLFrameElement extends HTMLElement { /** * Retrieves the document object of the page or frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument) */ readonly contentDocument: Document | null; /** * Retrieves the object of the specified. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow) */ readonly contentWindow: WindowProxy | null; /** * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder) */ frameBorder: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc) */ longDesc: string; /** * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight) */ marginHeight: string; /** * Sets or retrieves the left and right margin widths before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth) */ marginWidth: string; /** * Sets or retrieves the frame name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name) */ name: string; /** * Sets or retrieves whether the user can resize the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize) */ noResize: boolean; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling) */ scrolling: string; /** * Sets or retrieves a URL to be loaded by the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src) */ src: string; addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -10704,8 +10591,6 @@ interface HTMLHeadingElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -10844,11 +10729,11 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align) */ align: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) */ allow: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) */ allowFullscreen: boolean; /** * Retrieves the document object of the page or frame. @@ -10866,8 +10751,6 @@ interface HTMLIFrameElement extends HTMLElement { * Sets or retrieves whether to display a border for the frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder) */ frameBorder: string; /** @@ -10876,29 +10759,24 @@ interface HTMLIFrameElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */ loading: string; /** * Sets or retrieves a URI to a long description of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc) */ longDesc: string; /** * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight) */ marginHeight: string; /** * Sets or retrieves the left and right margin widths before displaying the text in a frame. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth) */ marginWidth: string; /** @@ -10909,13 +10787,12 @@ interface HTMLIFrameElement extends HTMLElement { name: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */ referrerPolicy: ReferrerPolicy; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */ readonly sandbox: DOMTokenList; /** * Sets or retrieves whether the frame can be scrolled. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling) */ scrolling: string; /** @@ -11024,11 +10901,7 @@ interface HTMLImageElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc) */ longDesc: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc) - */ + /** @deprecated */ lowsrc: string; /** * Sets or retrieves the name of the object. @@ -11115,11 +10988,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { align: string; /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) - */ + /** Specifies whether autocomplete is applied to an editable text field. */ autocomplete: AutoFill; capture: string; /** Sets or retrieves the state of the check box or radio button. */ @@ -11139,51 +11008,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { files: FileList | null; /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction) - */ + /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype) - */ + /** Used to override the encoding (formEnctype attribute) specified on the form element. */ formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod) - */ + /** Overrides the submit method attribute previously specified on a form element. */ formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate) - */ + /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */ formNoValidate: boolean; - /** - * Overrides the target attribute on a form element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget) - */ + /** Overrides the target attribute on a form element. */ formTarget: string; - /** - * Sets or retrieves the height of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) - */ + /** Sets or retrieves the height of the object. */ height: number; /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */ indeterminate: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) - */ + /** Specifies the ID of a pre-defined datalist of options for an input element. */ readonly list: HTMLDataListElement | null; /** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */ max: string; @@ -11200,37 +11041,37 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { multiple: boolean; /** Sets or retrieves the name of the object. */ name: string; - /** - * Gets or sets a string containing a regular expression that the user's input must match. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) - */ + /** Gets or sets a string containing a regular expression that the user's input must match. */ pattern: string; - /** - * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) - */ + /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */ placeholder: string; readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: 'forward' | 'backward' | 'none' | null; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd) + */ selectionEnd: number | null; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) + */ selectionStart: number | null; size: number; /** The address or URL of the a media resource that is to be considered. */ src: string; /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */ step: string; - /** Returns the content type of the object. */ + /** + * Returns the content type of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type) + */ type: string; /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. @@ -11238,17 +11079,9 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * @deprecated */ useMap: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) - */ + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; /** Returns the value of the data at the cursor's current position. */ value: string; @@ -11260,17 +11093,9 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { readonly webkitEntries: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) - */ + /** Sets or retrieves the width of the object. */ width: number; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** * Returns whether a form will validate when it is submitted, without having to submit it. @@ -11429,14 +11254,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { charset: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */ crossOrigin: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */ disabled: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ fetchPriority: string; - /** - * Sets or retrieves a destination URL or an anchor point. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) - */ + /** Sets or retrieves a destination URL or an anchor point. */ href: string; /** * Sets or retrieves the language code of the object. @@ -11446,6 +11268,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { hreflang: string; imageSizes: string; imageSrcset: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */ integrity: string; /** Sets or retrieves the media type. */ media: string; @@ -11465,7 +11288,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ rev: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) */ readonly sizes: DOMTokenList; /** * Sets or retrieves the window or frame at which to target content. @@ -11473,7 +11295,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * @deprecated */ target: string; - /** Sets or retrieves the MIME type of the object. */ + /** + * Sets or retrieves the MIME type of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type) + */ type: string; addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11492,11 +11318,7 @@ declare var HTMLLinkElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement) */ interface HTMLMapElement extends HTMLElement { - /** - * Retrieves a collection of the area objects defined for the given map object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) - */ + /** Retrieves a collection of the area objects defined for the given map object. */ readonly areas: HTMLCollection; /** * Sets or retrieves the name of the object. @@ -11658,7 +11480,6 @@ interface HTMLMediaElement extends HTMLElement { readonly networkState: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */ onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */ onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => unknown) | null; /** * Gets a flag that specifies whether playback is paused. @@ -11672,11 +11493,7 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate) */ playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played) - */ + /** Gets TimeRanges for the current media resource that has been played. */ readonly played: TimeRanges; /** * Gets or sets a value indicating what data should be preloaded, if any. @@ -11696,11 +11513,7 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable) */ readonly seekable: TimeRanges; - /** - * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking) - */ + /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */ readonly seeking: boolean; /** * Available only in secure contexts. @@ -11724,7 +11537,6 @@ interface HTMLMediaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume) */ volume: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */ addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack; /** * Returns a string that specifies whether the client can play a given media resource type. @@ -11795,11 +11607,7 @@ declare var HTMLMediaElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */ interface HTMLMenuElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact) - */ + /** @deprecated */ compact: boolean; addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11818,17 +11626,32 @@ declare var HTMLMenuElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement) */ interface HTMLMetaElement extends HTMLElement { - /** Gets or sets meta-information to associate with httpEquiv or name. */ + /** + * Gets or sets meta-information to associate with httpEquiv or name. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content) + */ content: string; - /** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */ + /** + * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv) + */ httpEquiv: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) */ media: string; - /** Sets or retrieves the value specified in the content attribute of the meta object. */ + /** + * Sets or retrieves the value specified in the content attribute of the meta object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name) + */ name: string; /** * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object. * * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme) */ scheme: string; addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -11848,19 +11671,13 @@ declare var HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */ high: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */ low: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */ max: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */ min: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */ optimum: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */ value: number; addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11879,17 +11696,9 @@ declare var HTMLMeterElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement) */ interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime) - */ + /** Sets or retrieves the date and time of a modification to the object. */ dateTime: string; addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11908,11 +11717,7 @@ declare var HTMLModElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement) */ interface HTMLOListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact) - */ + /** @deprecated */ compact: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed) */ reversed: boolean; @@ -11941,48 +11746,32 @@ declare var HTMLOListElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement) */ interface HTMLObjectElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align) - */ + /** @deprecated */ align: string; /** * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive) */ archive: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border) - */ + /** @deprecated */ border: string; /** * Sets or retrieves the URL of the file containing the compiled Java class. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code) */ code: string; /** * Sets or retrieves the URL of the component. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase) */ codeBase: string; /** * Sets or retrieves the Internet media type for the code associated with the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType) */ codeType: string; /** @@ -11999,11 +11788,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data) */ data: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare) - */ + /** @deprecated */ declare: boolean; /** * Retrieves a reference to the form that the object is embedded in. @@ -12017,11 +11802,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height) */ height: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace) - */ + /** @deprecated */ hspace: number; /** * Sets or retrieves the name of the object. @@ -12033,8 +11814,6 @@ interface HTMLObjectElement extends HTMLElement { * Sets or retrieves a message to be displayed while an object is loading. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby) */ standby: string; /** @@ -12046,7 +11825,9 @@ interface HTMLObjectElement extends HTMLElement { /** * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap) */ useMap: string; /** @@ -12061,11 +11842,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity) */ readonly validity: ValidityState; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace) - */ + /** @deprecated */ vspace: number; /** * Sets or retrieves the width of the object. @@ -12085,9 +11862,7 @@ interface HTMLObjectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity) */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) */ getSVGDocument(): Document | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -12114,13 +11889,8 @@ declare var HTMLObjectElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */ disabled: boolean; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) - */ + /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ label: string; addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12139,49 +11909,20 @@ declare var HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) - */ + /** Sets or retrieves the status of an option. */ defaultSelected: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */ disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) - */ + /** Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) - */ + /** Sets or retrieves the ordinal position of an option in a list box. */ readonly index: number; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) - */ + /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) - */ + /** Sets or retrieves whether the option in the list box is the default item. */ selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) - */ + /** Sets or retrieves the text string specified by the option tag. */ text: string; - /** - * Sets or retrieves the value which is returned to the server when the form control is submitted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) - */ + /** Sets or retrieves the value which is returned to the server when the form control is submitted. */ value: string; addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12206,16 +11947,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * When set to a smaller number, truncates the number of option elements in the corresponding container. * * When set to a greater number, adds new blank option elements to that container. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length) */ length: number; /** * Returns the index of the first selected item, if any, or −1 if there is no selected item. * * Can be set, to change the selection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex) */ selectedIndex: number; /** @@ -12226,15 +11963,9 @@ interface HTMLOptionsCollection extends HTMLCollectionOf { * If before is omitted, null, or a number out of range, then element will be added at the end of the list. * * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add) */ add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; - /** - * Removes the item with index index from the collection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove) - */ + /** Removes the item with index index from the collection. */ remove(index: number): void; } @@ -12264,41 +11995,25 @@ interface HTMLOrSVGElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement) */ interface HTMLOutputElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */ defaultValue: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */ readonly form: HTMLFormElement | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */ readonly htmlFor: DOMTokenList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */ name: string; - /** - * Returns the string "output". - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) - */ + /** Returns the string "output". */ readonly type: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */ readonly validationMessage: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */ readonly willValidate: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */ reportValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */ setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12321,8 +12036,6 @@ interface HTMLParagraphElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -12348,32 +12061,24 @@ interface HTMLParamElement extends HTMLElement { * Sets or retrieves the name of an input parameter for an element. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name) */ name: string; /** * Sets or retrieves the content type of the resource designated by the value attribute. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type) */ type: string; /** * Sets or retrieves the value of an input parameter for an element. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value) */ value: string; /** * Sets or retrieves the data type of the value attribute. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType) */ valueType: string; addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -12415,8 +12120,6 @@ interface HTMLPreElement extends HTMLElement { * Sets or gets a value that you can use to implement your own width functionality for the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width) */ width: number; addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -12473,11 +12176,7 @@ declare var HTMLProgressElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement) */ interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite) - */ + /** Sets or retrieves reference information about the object. */ cite: string; addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12496,6 +12195,7 @@ declare var HTMLQuoteElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement) */ interface HTMLScriptElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */ async: boolean; /** * Sets or retrieves the character set used to encode the object. @@ -12505,7 +12205,11 @@ interface HTMLScriptElement extends HTMLElement { charset: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */ crossOrigin: string | null; - /** Sets or retrieves the status of the script. */ + /** + * Sets or retrieves the status of the script. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer) + */ defer: boolean; /** * Sets or retrieves the event for which the script is written. @@ -12513,6 +12217,7 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ event: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */ fetchPriority: string; /** * Sets or retrieves the object that is bound to the event script. @@ -12520,15 +12225,29 @@ interface HTMLScriptElement extends HTMLElement { * @deprecated */ htmlFor: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */ integrity: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */ noModule: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */ referrerPolicy: string; - /** Retrieves the URL to an external file that contains the source code or data. */ + /** + * Retrieves the URL to an external file that contains the source code or data. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) + */ src: string; - /** Retrieves or sets the text of the object as a string. */ + /** + * Retrieves or sets the text of the object as a string. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) + */ text: string; - /** Sets or retrieves the MIME type for the associated scripting engine. */ + /** + * Sets or retrieves the MIME type for the associated scripting engine. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type) + */ type: string; addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12549,7 +12268,6 @@ declare var HTMLScriptElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement) */ interface HTMLSelectElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */ autocomplete: AutoFill; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */ disabled: boolean; @@ -12561,23 +12279,11 @@ interface HTMLSelectElement extends HTMLElement { readonly form: HTMLFormElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** - * Sets or retrieves the number of objects in a collection. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) - */ + /** Sets or retrieves the number of objects in a collection. */ length: number; - /** - * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) - */ + /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */ multiple: boolean; - /** - * Sets or retrieves the name of the object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) - */ + /** Sets or retrieves the name of the object. */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -12585,11 +12291,7 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) - */ + /** When present, marks an element that can't be submitted without a value. */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -12599,29 +12301,17 @@ interface HTMLSelectElement extends HTMLElement { selectedIndex: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) - */ + /** Sets or retrieves the number of rows in the list box. */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE attribute. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ - readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) - */ + readonly type: 'select-one' | 'select-multiple'; + /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) - */ + /** Returns a ValidityState object that represents the validity states of an element. */ readonly validity: ValidityState; /** * Sets or retrieves the value which is returned to the server when the form control is submitted. @@ -12629,11 +12319,7 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value) */ value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) - */ + /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; /** * Adds an element to the areas, controlRange, or options collection. @@ -12677,7 +12363,6 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -12728,29 +12413,17 @@ declare var HTMLSlotElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement) */ interface HTMLSourceElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */ height: number; - /** - * Gets or sets the intended media type of the media source. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media) - */ + /** Gets or sets the intended media type of the media source. */ media: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) */ sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src) - */ + /** The address or URL of the a media resource that is to be considered. */ src: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) */ srcset: string; - /** - * Gets or sets the MIME type of a media resource. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type) - */ + /** Gets or sets the MIME type of a media resource. */ type: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */ width: number; addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12827,8 +12500,6 @@ interface HTMLTableCaptionElement extends HTMLElement { * Sets or retrieves the alignment of the caption or legend. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -12866,8 +12537,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves a comma-delimited list of conceptual categories associated with the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis) */ axis: string; /** @@ -12910,8 +12579,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the height of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height) */ height: string; /** @@ -12944,8 +12611,6 @@ interface HTMLTableCellElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width) */ width: string; addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -13001,8 +12666,6 @@ interface HTMLTableColElement extends HTMLElement { * Sets or retrieves the width of the object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width) */ width: string; addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; @@ -13217,8 +12880,6 @@ interface HTMLTableRowElement extends HTMLElement { * Sets or retrieves how the object is aligned with adjacent text. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -13257,11 +12918,7 @@ interface HTMLTableRowElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells collection. @@ -13300,8 +12957,6 @@ interface HTMLTableSectionElement extends HTMLElement { * Sets or retrieves a value that indicates the table alignment. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -13322,11 +12977,7 @@ interface HTMLTableSectionElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) - */ + /** @deprecated */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows collection. @@ -13367,7 +13018,14 @@ interface HTMLTemplateElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content) */ readonly content: DocumentFragment; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */ + shadowRootClonable: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */ + shadowRootDelegatesFocus: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */ shadowRootMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) */ + shadowRootSerializable: boolean; addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void; @@ -13385,7 +13043,6 @@ declare var HTMLTemplateElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */ autocomplete: AutoFill; /** Sets or retrieves the width of the object. */ cols: number; @@ -13415,9 +13072,12 @@ interface HTMLTextAreaElement extends HTMLElement { selectionEnd: number; /** Gets or sets the starting position or offset of a text selection. */ selectionStart: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */ readonly textLength: number; - /** Retrieves the type of control. */ + /** + * Retrieves the type of control. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) + */ readonly type: string; /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */ readonly validationMessage: string; @@ -13431,7 +13091,6 @@ interface HTMLTextAreaElement extends HTMLElement { wrap: string; /** Returns whether a form will validate when it is submitted, without having to submit it. */ checkValidity(): boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */ reportValidity(): boolean; /** Highlights the input area of a form element. */ select(): void; @@ -13510,23 +13169,14 @@ declare var HTMLTitleElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement) */ interface HTMLTrackElement extends HTMLElement { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) */ default: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) */ kind: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) */ label: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) */ readonly readyState: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */ src: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) */ srclang: string; - /** - * Returns the TextTrack object corresponding to the text track of the track element. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track) - */ + /** Returns the TextTrack object corresponding to the text track of the track element. */ readonly track: TextTrack; readonly NONE: 0; readonly LOADING: 1; @@ -13553,17 +13203,9 @@ declare var HTMLTrackElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement) */ interface HTMLUListElement extends HTMLElement { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact) - */ + /** @deprecated */ compact: boolean; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type) - */ + /** @deprecated */ type: string; addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -13642,11 +13284,13 @@ interface HTMLVideoElement extends HTMLMediaElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width) */ width: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) */ cancelVideoFrameCallback(handle: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality) */ getVideoPlaybackQuality(): VideoPlaybackQuality; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */ requestPictureInPicture(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) */ requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -14394,7 +14038,7 @@ interface IDBTransaction extends EventTarget { /** * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -14552,9 +14196,9 @@ declare var ImageData: { new (data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData; }; -interface InnerHTML { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */ - innerHTML: string; +interface ImportMeta { + url: string; + resolve(specifier: string): string; } /** @@ -14731,6 +14375,29 @@ declare var KeyframeEffect: { new (source: KeyframeEffect): KeyframeEffect; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) */ +interface LargestContentfulPaint extends PerformanceEntry { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) */ + readonly element: Element | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) */ + readonly id: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */ + readonly loadTime: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */ + readonly renderTime: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) */ + readonly size: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) */ + readonly url: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) */ + toJSON(): unknown; +} + +declare var LargestContentfulPaint: { + prototype: LargestContentfulPaint; + new (): LargestContentfulPaint; +}; + interface LinkStyle { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet) */ readonly sheet: CSSStyleSheet | null; @@ -15293,6 +14960,7 @@ declare var MediaKeySystemAccess: { interface MediaKeys { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */ setServerCertificate(serverCertificate: BufferSource): Promise; } @@ -15481,11 +15149,8 @@ interface MediaSource extends EventTarget { readonly activeSourceBuffers: SourceBufferList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */ duration: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */ onsourceclose: ((this: MediaSource, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */ onsourceended: ((this: MediaSource, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */ onsourceopen: ((this: MediaSource, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState) */ readonly readyState: ReadyState; @@ -15510,10 +15175,20 @@ interface MediaSource extends EventTarget { declare var MediaSource: { prototype: MediaSource; new (): MediaSource; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) */ + readonly canConstructInDedicatedWorker: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) */ isTypeSupported(type: string): boolean; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + interface MediaStreamEventMap { addtrack: MediaStreamTrackEvent; removetrack: MediaStreamTrackEvent; @@ -15717,11 +15392,7 @@ interface MessageEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: unknown, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void; } @@ -15789,32 +15460,24 @@ interface MimeType { * Returns the MIME type's description. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description) */ readonly description: string; /** * Returns the Plugin object that implements this MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin) */ readonly enabledPlugin: Plugin; /** * Returns the MIME type's typical file extensions, in a comma-separated list. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes) */ readonly suffixes: string; /** * Returns the MIME type. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type) */ readonly type: string; } @@ -15833,23 +15496,11 @@ declare var MimeType: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray) */ interface MimeTypeArray { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item) - */ + /** @deprecated */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -16338,7 +15989,7 @@ interface NavigatorPlugins { /** * @deprecated * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorPlugins/mimeTypes) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */ @@ -16884,7 +16535,9 @@ interface OffscreenCanvas extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's bitmap. @@ -16937,8 +16590,6 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -17795,16 +17446,12 @@ interface Plugin { * Returns the plugin's description. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description) */ readonly description: string; /** * Returns the plugin library's filename, if applicable on the current platform. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename) */ readonly filename: string; /** @@ -17817,23 +17464,15 @@ interface Plugin { * Returns the plugin's name. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name) */ readonly name: string; /** * Returns the specified MimeType object. * * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item) */ item(index: number): MimeType | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem) - */ + /** @deprecated */ namedItem(name: string): MimeType | null; [index: number]: MimeType; } @@ -17853,29 +17492,13 @@ declare var Plugin: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray) */ interface PluginArray { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length) - */ + /** @deprecated */ readonly length: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item) - */ + /** @deprecated */ item(index: number): Plugin | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem) - */ + /** @deprecated */ namedItem(name: string): Plugin | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh) - */ + /** @deprecated */ refresh(): void; [index: number]: Plugin; } @@ -17933,6 +17556,7 @@ declare var PointerEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent) */ interface PopStateEvent extends Event { + readonly hasUAVisualTransition: boolean; /** * Returns a copy of the information that was provided to pushState() or replaceState(). * @@ -18008,6 +17632,7 @@ declare var PromiseRejectionEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential) */ interface PublicKeyCredential extends Credential { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) */ readonly authenticatorAttachment: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId) */ readonly rawId: ArrayBuffer; @@ -18225,12 +17850,11 @@ interface RTCDtlsTransportEventMap { interface RTCDtlsTransport extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ onerror: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) */ onstatechange: ((this: RTCDtlsTransport, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */ getRemoteCertificates(): ArrayBuffer[]; addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -18348,6 +17972,11 @@ declare var RTCIceCandidate: { new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; }; +interface RTCIceCandidatePair { + local: RTCIceCandidate; + remote: RTCIceCandidate; +} + interface RTCIceTransportEventMap { gatheringstatechange: Event; selectedcandidatepairchange: Event; @@ -18504,12 +18133,9 @@ declare var RTCPeerConnection: { 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; readonly port: number | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */ readonly url: string; } @@ -18539,6 +18165,8 @@ declare var RTCPeerConnectionIceEvent: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver) */ interface RTCRtpReceiver { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */ + jitterBufferTarget: DOMHighResTimeStamp | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */ readonly track: MediaStreamTrack; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */ @@ -18616,7 +18244,7 @@ interface RTCRtpTransceiver { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender) */ readonly sender: RTCRtpSender; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: RTCRtpCodecCapability[]): void; + setCodecPreferences(codecs: RTCRtpCodec[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) */ stop(): void; } @@ -18636,6 +18264,7 @@ interface RTCSctpTransport extends EventTarget { readonly maxChannels: number | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */ readonly maxMessageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */ onstatechange: ((this: RTCSctpTransport, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state) */ readonly state: RTCSctpTransportState; @@ -18663,7 +18292,7 @@ interface RTCSessionDescription { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/type) */ readonly type: RTCSdpType; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON) */ - toJSON(): unknown; + toJSON(): RTCSessionDescriptionInit; } declare var RTCSessionDescription: { @@ -18736,7 +18365,7 @@ interface Range extends AbstractRange { */ comparePoint(node: Node, offset: number): number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */ - createContextualFragment(fragment: string): DocumentFragment; + createContextualFragment(string: string): DocumentFragment; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) */ deleteContents(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach) */ @@ -18955,6 +18584,7 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */ toJSON(): unknown; } @@ -19014,11 +18644,7 @@ interface Request extends Body { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity) */ readonly integrity: string; - /** - * Returns a boolean indicating whether or not request can outlive the global in which it was created. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) - */ + /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */ readonly keepalive: boolean; /** * Returns request's HTTP method, which is "GET" by default. @@ -19094,6 +18720,7 @@ interface ResizeObserverEntry { readonly contentBoxSize: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */ readonly contentRect: DOMRectReadOnly; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) */ readonly devicePixelContentBoxSize: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target) */ readonly target: Element; @@ -19277,7 +18904,9 @@ declare var SVGAnimatedBoolean: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration) */ interface SVGAnimatedEnumeration { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) */ readonly animVal: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) */ baseVal: number; } @@ -19307,7 +18936,9 @@ declare var SVGAnimatedInteger: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength) */ interface SVGAnimatedLength { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) */ readonly animVal: SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) */ readonly baseVal: SVGLength; } @@ -19668,11 +19299,8 @@ declare var SVGFEBlendElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement) */ interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) */ readonly in1: SVGAnimatedString; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) */ readonly type: SVGAnimatedEnumeration; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) */ readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; @@ -20362,7 +19990,6 @@ declare var SVGGraphicsElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement) */ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) */ crossOrigin: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */ readonly height: SVGAnimatedLength; @@ -21310,6 +20937,7 @@ interface ScreenOrientationEventMap { interface ScreenOrientation extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */ readonly angle: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */ onchange: ((this: ScreenOrientation, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */ readonly type: OrientationType; @@ -21409,6 +21037,8 @@ interface Selection { readonly anchorNode: Node | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */ readonly anchorOffset: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) */ + readonly direction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */ readonly focusNode: Node | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset) */ @@ -21579,16 +21209,26 @@ interface ShadowRootEventMap { } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */ -interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML { +interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) */ + readonly clonable: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) */ readonly delegatesFocus: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */ readonly host: Element; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */ + innerHTML: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */ readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) */ + readonly serializable: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */ readonly slotAssignment: SlotAssignmentMode; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) */ + getHTML(options?: GetHTMLOptions): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */ + setHTMLUnsafe(html: string): void; /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */ addEventListener(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -21647,15 +21287,10 @@ interface SourceBuffer extends EventTarget { readonly buffered: TimeRanges; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */ mode: AppendMode; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) */ onabort: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) */ onerror: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) */ onupdate: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) */ onupdateend: ((this: SourceBuffer, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) */ onupdatestart: ((this: SourceBuffer, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset) */ timestampOffset: number; @@ -21693,9 +21328,7 @@ interface SourceBufferListEventMap { interface SourceBufferList extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */ readonly length: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) */ onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) */ onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => unknown) | null; addEventListener(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -22336,6 +21969,16 @@ declare var TextEncoderStream: { new (): TextEncoderStream; }; +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void; +} + +declare var TextEvent: { + prototype: TextEvent; + new (): TextEvent; +}; + /** * The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. * @@ -22612,7 +22255,7 @@ interface TextTrackList extends EventTarget { onaddtrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */ onchange: ((this: TextTrackList, ev: Event) => unknown) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */ getTrackById(id: string): TextTrack | null; @@ -22929,9 +22572,11 @@ declare var URL: { prototype: URL; new (url: string | URL, base?: string | URL): URL; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob | MediaSource): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */ + parse(url: string | URL, base?: string | URL): URL | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */ revokeObjectURL(url: string): void; }; @@ -23041,21 +22686,13 @@ declare var VTTCue: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */ interface VTTRegion { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */ id: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */ lines: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) */ regionAnchorX: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) */ regionAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) */ scroll: ScrollSetting; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) */ viewportAnchorX: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) */ viewportAnchorY: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */ width: number; } @@ -23072,7 +22709,6 @@ declare var VTTRegion: { interface ValidityState { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */ readonly customError: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */ readonly patternMismatch: boolean; @@ -23088,7 +22724,6 @@ interface ValidityState { readonly tooShort: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */ readonly valid: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */ readonly valueMissing: boolean; @@ -23130,6 +22765,7 @@ interface VideoDecoderEventMap { interface VideoDecoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */ readonly state: CodecState; @@ -23152,6 +22788,7 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -23167,6 +22804,7 @@ interface VideoEncoderEventMap { interface VideoEncoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */ readonly state: CodecState; @@ -23176,6 +22814,7 @@ interface VideoEncoder extends EventTarget { configure(config: VideoEncoderConfig): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */ flush(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */ reset(): void; @@ -23188,6 +22827,7 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -23219,6 +22859,7 @@ interface VideoFrame { clone(): VideoFrame; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */ copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise; } @@ -23253,6 +22894,23 @@ declare var VideoPlaybackQuality: { new (): VideoPlaybackQuality; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */ +interface ViewTransition { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) */ + readonly finished: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */ + readonly ready: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */ + readonly updateCallbackDone: Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */ + skipTransition(): void; +} + +declare var ViewTransition: { + prototype: ViewTransition; + new (): ViewTransition; +}; + interface VisualViewportEventMap { resize: Event; scroll: Event; @@ -24117,7 +23775,7 @@ interface WebGL2RenderingContextBase { clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */ clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */ @@ -24994,6 +24652,7 @@ declare var WebGLRenderingContext: { interface WebGLRenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */ drawingBufferColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */ readonly drawingBufferHeight: GLsizei; @@ -25696,7 +25355,7 @@ declare var WebGLVertexArrayObject: { new (): WebGLVertexArrayObject; }; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} interface WebSocketEventMap { @@ -26101,7 +25760,11 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler readonly window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ alert(message?: unknown): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ blur(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback) */ cancelIdleCallback(handle: number): void; @@ -26272,24 +25935,24 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -26796,7 +26459,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -26808,9 +26471,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -26820,9 +26483,9 @@ interface Console { table(tabularData?: unknown, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -26973,9 +26636,7 @@ declare namespace WebAssembly { /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */ value: ValueTypeMap[T]; - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */ valueOf(): ValueTypeMap[T]; } @@ -27271,6 +26932,10 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): unknown; } +interface UpdateCallback { + (): unknown; +} + interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -27722,7 +27387,11 @@ declare let visualViewport: VisualViewport | null; declare let window: Window & typeof globalThis; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert) */ declare function alert(message?: unknown): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) */ +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur) + */ declare function blur(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback) */ declare function cancelIdleCallback(handle: number): void; @@ -27845,7 +27514,7 @@ declare let onbeforetoggle: ((this: Window, ev: Event) => unknown) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */ declare let onblur: ((this: Window, ev: FocusEvent) => unknown) | null; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */ declare let oncancel: ((this: Window, ev: Event) => unknown) | null; /** * Occurs when playback is possible, but would require further buffering. @@ -27875,6 +27544,8 @@ declare let onchange: ((this: Window, ev: Event) => unknown) | null; declare let onclick: ((this: Window, ev: MouseEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */ declare let onclose: ((this: Window, ev: Event) => unknown) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */ +declare let oncontextlost: ((this: Window, ev: Event) => unknown) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @@ -27883,6 +27554,8 @@ declare let onclose: ((this: Window, ev: Event) => unknown) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */ declare let oncontextmenu: ((this: Window, ev: MouseEvent) => unknown) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */ +declare let oncontextrestored: ((this: Window, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */ declare let oncopy: ((this: Window, ev: ClipboardEvent) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */ @@ -28052,7 +27725,7 @@ declare let onloadedmetadata: ((this: Window, ev: Event) => unknown) | null; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */ declare let onloadstart: ((this: Window, ev: Event) => unknown) | null; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */ declare let onlostpointercapture: ((this: Window, ev: PointerEvent) => unknown) | null; /** * Fires when the user clicks the object with either mouse button. @@ -28339,24 +28012,24 @@ declare let localStorage: Storage; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare let caches: CacheStorage; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare let crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare let crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare let indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ declare let isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare let origin: string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare let performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -28450,7 +28123,7 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type VibratePattern = number | number[]; type WindowProxy = Window; @@ -28550,8 +28223,7 @@ type FontDisplay = 'auto' | 'block' | 'fallback' | 'optional' | 'swap'; type FontFaceLoadStatus = 'error' | 'loaded' | 'loading' | 'unloaded'; type FontFaceSetLoadStatus = 'loaded' | 'loading'; type FullscreenNavigationUI = 'auto' | 'hide' | 'show'; -type GamepadHapticActuatorType = 'vibration'; -type GamepadHapticEffectType = 'dual-rumble'; +type GamepadHapticEffectType = 'dual-rumble' | 'trigger-rumble'; type GamepadHapticsResult = 'complete' | 'preempted'; type GamepadMappingType = '' | 'standard' | 'xr-standard'; type GlobalCompositeOperation = diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.iterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.iterable.d.ts index 103fbc772f..b78a4b28bf 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.dom.iterable.d.ts @@ -19,6 +19,11 @@ and limitations under the License. /// Window Iterable APIs ///////////////////////////// +interface AbortSignal { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: Iterable): AbortSignal; +} + interface AudioParam { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */ setValueCurveAtTime(values: Iterable, startTime: number, duration: number): AudioParam; @@ -34,36 +39,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -81,71 +86,81 @@ interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } +interface CustomStateSet extends Set {} + interface DOMRectList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap {} interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface Highlight extends Set {} @@ -181,32 +196,32 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap {} +interface MediaKeyStatusMapIterator extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): MediaKeyStatusMapIterator; + entries(): MediaKeyStatusMapIterator; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: unknown, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } interface MimeTypeArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -221,81 +236,85 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the list. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): IterableIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ - setCodecPreferences(codecs: Iterable): void; + setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap {} interface SVGLengthList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator]>; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator]>; + entries(): StylePropertyMapReadOnlyIterator]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -322,25 +341,29 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.core.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.core.d.ts index cc4b14ece3..a0fd4013f0 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.core.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.core.d.ts @@ -50,6 +50,8 @@ interface Array { * @param end If not specified, length of the this object is used as its default value. */ copyWithin(target: number, start: number, end?: number): this; + + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; } interface ArrayConstructor { @@ -347,6 +349,8 @@ interface ReadonlyArray { * @param thisArg If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead. */ findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: unknown): number; + + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; } interface RegExp { @@ -530,3 +534,39 @@ interface StringConstructor { */ raw(template: { readonly raw: readonly string[] | ArrayLike }, ...substitutions: readonly any[]): string; } + +interface Int8Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint8Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint8ClampedArray { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Int16Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint16Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Int32Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Uint32Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Float32Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} + +interface Float64Array { + toLocaleString(locales: string | readonly string[], options?: Intl.NumberFormatOptions): string; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.generator.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.generator.d.ts index 2191f4508b..ed1cfc8dc2 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.generator.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.generator.d.ts @@ -17,9 +17,9 @@ and limitations under the License. /// -interface Generator extends Iterator { +interface Generator extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return(value: TReturn): IteratorResult; throw(e: unknown): IteratorResult; [Symbol.iterator](): Generator; diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.iterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.iterable.d.ts index c71723bf6f..6c716dbbe8 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2015.iterable.d.ts @@ -34,33 +34,46 @@ interface IteratorReturnResult { type IteratorResult = IteratorYieldResult | IteratorReturnResult; -interface Iterator { +interface Iterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): IteratorResult; + next(...[value]: readonly [] | readonly [TNext]): IteratorResult; return?(value?: TReturn): IteratorResult; throw?(e?: unknown): IteratorResult; } -interface Iterable { - [Symbol.iterator](): Iterator; +interface Iterable { + [Symbol.iterator](): Iterator; } -interface IterableIterator extends Iterator { - [Symbol.iterator](): IterableIterator; +/** Describes a user-defined {@link Iterator} that is also iterable. */ +interface IterableIterator extends Iterator { + [Symbol.iterator](): IterableIterator; +} + +/** Describes an {@link Iterator} produced by the runtime that inherits from the intrinsic `Iterator.prototype`. */ +interface IteratorObject extends Iterator { + [Symbol.iterator](): IteratorObject; +} + +/** Defines the `TReturn` type used for built-in iterators produced by `Array`, `Map`, `Set`, and others. This is `undefined` when `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. */ +type BuiltinIteratorReturn = intrinsic; + +interface ArrayIterator extends IteratorObject { + [Symbol.iterator](): ArrayIterator; } interface Array { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -83,49 +96,53 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an iterable of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an iterable of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an iterable of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): MapIterator; /** Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator; + entries(): MapIterator; /** Returns an iterable of keys in the map */ - keys(): IterableIterator; + keys(): MapIterator; /** Returns an iterable of values in the map */ - values(): IterableIterator; + values(): MapIterator; } interface MapConstructor { @@ -139,30 +156,34 @@ interface WeakMapConstructor { new (iterable: Iterable): WeakMap; } +interface SetIterator extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SetIterator; /** Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): IterableIterator; + entries(): SetIterator; /** Despite its name, returns an iterable of the values in the set. */ - keys(): IterableIterator; + keys(): SetIterator; /** Returns an iterable of values in the set. */ - values(): IterableIterator; + values(): SetIterator; } interface SetConstructor { @@ -195,19 +216,23 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -224,13 +249,13 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -247,15 +272,15 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -272,15 +297,15 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -297,13 +322,13 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -320,13 +345,13 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -343,13 +368,13 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -366,13 +391,13 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -389,13 +414,13 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the array */ - entries(): IterableIterator; + entries(): ArrayIterator; /** Returns an list of keys in the array */ - keys(): IterableIterator; + keys(): ArrayIterator; /** Returns an list of values in the array */ - values(): IterableIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2017.object.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2017.object.d.ts index 1d50d697c7..b0f1ccba38 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2017.object.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2017.object.d.ts @@ -17,28 +17,28 @@ and limitations under the License. interface ObjectConstructor { /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ values(o: { readonly [s: string]: T } | ArrayLike): readonly T[]; /** - * Returns an array of values of the enumerable properties of an object + * Returns an array of values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ values(o: {}): readonly unknown[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ entries(o: { readonly [s: string]: T } | ArrayLike): readonly (readonly [string, T])[]; /** - * Returns an array of key/values of the enumerable properties of an object + * Returns an array of key/values of the enumerable own properties of an object * * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asyncgenerator.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asyncgenerator.d.ts index b94dafff08..95ab1e812c 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asyncgenerator.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asyncgenerator.d.ts @@ -17,9 +17,9 @@ and limitations under the License. /// -interface AsyncGenerator extends AsyncIterator { +interface AsyncGenerator extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): Promise>; + next(...[value]: readonly [] | readonly [TNext]): Promise>; return(value: TReturn | PromiseLike): Promise>; throw(e: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asynciterable.d.ts index d9c4a2f928..613eca2735 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.asynciterable.d.ts @@ -23,17 +23,23 @@ interface SymbolConstructor { readonly asyncIterator: unique symbol; } -interface AsyncIterator { +interface AsyncIterator { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. - next(...args: readonly [] | readonly [TNext]): Promise>; + next(...[value]: readonly [] | readonly [TNext]): Promise>; return?(value?: TReturn | PromiseLike): Promise>; throw?(e?: unknown): Promise>; } -interface AsyncIterable { - [Symbol.asyncIterator](): AsyncIterator; +interface AsyncIterable { + [Symbol.asyncIterator](): AsyncIterator; } -interface AsyncIterableIterator extends AsyncIterator { - [Symbol.asyncIterator](): AsyncIterableIterator; +/** Describes a user-defined {@link AsyncIterator} that is also async iterable. */ +interface AsyncIterableIterator extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIterableIterator; +} + +/** Describes an {@link AsyncIterator} produced by the runtime that inherits from the intrinsic `AsyncIterator.prototype`. */ +interface AsyncIteratorObject extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.intl.d.ts index fd1aec19a7..bf95276b99 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2018.intl.d.ts @@ -54,10 +54,22 @@ declare namespace Intl { const PluralRules: PluralRulesConstructor; - // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here: - type ES2018NumberFormatPartType = 'literal' | 'nan' | 'infinity' | 'percent' | 'integer' | 'group' | 'decimal' | 'fraction' | 'plusSign' | 'minusSign' | 'percentSign' | 'currency' | 'code' | 'symbol' | 'name'; - type ES2020NumberFormatPartType = 'compact' | 'exponentInteger' | 'exponentMinusSign' | 'exponentSeparator' | 'unit' | 'unknown'; - type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType; + interface NumberFormatPartTypeRegistry { + readonly literal: never; + readonly nan: never; + readonly infinity: never; + readonly percent: never; + readonly integer: never; + readonly group: never; + readonly decimal: never; + readonly fraction: never; + readonly plusSign: never; + readonly minusSign: never; + readonly percentSign: never; + readonly currency: never; + } + + type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry; interface NumberFormatPart { readonly type: NumberFormatPartTypes; diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2019.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2019.intl.d.ts index 3ef9ef0bfd..61d763a375 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2019.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2019.intl.d.ts @@ -17,6 +17,6 @@ and limitations under the License. declare namespace Intl { interface DateTimeFormatPartTypesRegistry { - readonly unknown: unknown; + readonly unknown: never; } } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.bigint.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.bigint.d.ts index 9ea04f0c88..3bfe2b01ad 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.bigint.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.bigint.d.ts @@ -154,7 +154,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -229,7 +229,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -325,7 +325,7 @@ interface BigInt64Array { subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString(locales?: string | readonly string[], options?: Intl.NumberFormatOptions): string; /** Returns a string representation of the array. */ toString(): string; @@ -334,9 +334,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigInt64Array'; @@ -396,7 +396,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): IterableIterator; + entries(): ArrayIterator; /** * Determines whether all the members of an array satisfy the specified test. @@ -471,7 +471,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): IterableIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -567,7 +567,7 @@ interface BigUint64Array { subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ - toLocaleString(): string; + toLocaleString(locales?: string | readonly string[], options?: Intl.NumberFormatOptions): string; /** Returns a string representation of the array. */ toString(): string; @@ -576,9 +576,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): IterableIterator; + values(): ArrayIterator; - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: 'BigUint64Array'; @@ -653,6 +653,5 @@ interface DataView { declare namespace Intl { interface NumberFormat { format(value: number | bigint): string; - resolvedOptions(): ResolvedNumberFormatOptions; } } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.intl.d.ts index eedd959583..02e5fb3385 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.intl.d.ts @@ -177,24 +177,49 @@ declare namespace Intl { supportedLocalesOf(locales?: LocalesArgument, options?: RelativeTimeFormatOptions): readonly UnicodeBCP47LocaleIdentifier[]; }; + interface NumberFormatOptionsStyleRegistry { + readonly unit: never; + } + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly narrowSymbol: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly auto: never; + readonly never: never; + readonly always: never; + readonly exceptZero: never; + } + + type NumberFormatOptionsSignDisplay = keyof NumberFormatOptionsSignDisplayRegistry; + interface NumberFormatOptions { + readonly numberingSystem?: string | undefined; readonly compactDisplay?: 'short' | 'long' | undefined; readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact' | undefined; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' | undefined; + readonly signDisplay?: NumberFormatOptionsSignDisplay | undefined; readonly unit?: string | undefined; readonly unitDisplay?: 'short' | 'long' | 'narrow' | undefined; - readonly currencyDisplay?: string | undefined; - readonly currencySign?: string | undefined; + readonly currencySign?: 'standard' | 'accounting' | undefined; } interface ResolvedNumberFormatOptions { readonly compactDisplay?: 'short' | 'long'; - readonly notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; - readonly signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero'; + readonly notation: 'standard' | 'scientific' | 'engineering' | 'compact'; + readonly signDisplay: NumberFormatOptionsSignDisplay; readonly unit?: string; readonly unitDisplay?: 'short' | 'long' | 'narrow'; - readonly currencyDisplay?: string; - readonly currencySign?: string; + readonly currencySign?: 'standard' | 'accounting'; + } + + interface NumberFormatPartTypeRegistry { + readonly compact: never; + readonly exponentInteger: never; + readonly exponentMinusSign: never; + readonly exponentSeparator: never; + readonly unit: never; + readonly unknown: never; } interface DateTimeFormatOptions { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.string.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.string.d.ts index 64e4afd228..10a7fe19fb 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.string.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.string.d.ts @@ -15,7 +15,7 @@ and limitations under the License. /// -/// +/// interface String { /** @@ -23,7 +23,7 @@ interface String { * * @param regexp A variable name or string literal containing the regular expression pattern and flags. */ - matchAll(regexp: RegExp): IterableIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */ toLocaleLowerCase(locales?: Intl.LocalesArgument): string; diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.symbol.wellknown.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.symbol.wellknown.d.ts index 624a55ffb1..4c4e48ddc9 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.symbol.wellknown.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2020.symbol.wellknown.d.ts @@ -23,11 +23,15 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of matches containing the results of that search. * * @param string A string to search within. */ - [Symbol.matchAll](str: string): IterableIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2021.weakref.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2021.weakref.d.ts index 88655adad8..14e515f869 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2021.weakref.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2021.weakref.d.ts @@ -52,7 +52,7 @@ interface FinalizationRegistry { * * @param unregisterToken The token that was used as the unregisterToken argument when calling register to register the target value. */ - unregister(unregisterToken: WeakKey): void; + unregister(unregisterToken: WeakKey): boolean; } interface FinalizationRegistryConstructor { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.intl.d.ts index 85197a8320..77cb5050c1 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.intl.d.ts @@ -44,6 +44,10 @@ declare namespace Intl { readonly granularity: 'grapheme' | 'word' | 'sentence'; } + interface SegmentIterator extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that includes the code unit at a specified index. @@ -53,7 +57,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.regexp.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.regexp.d.ts index 686a8c6c2e..c85f0a4238 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.regexp.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2022.regexp.d.ts @@ -30,6 +30,6 @@ interface RegExpIndicesArray extends Array { } interface RegExp { - /** Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression. Default is false. Read-only. */ + /** Returns a Boolean value indicating the state of the hasIndices flag (d) used with a regular expression. Default is false. Read-only. */ readonly hasIndices: boolean; } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.array.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.array.d.ts index 83b7ab8d95..955de521aa 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.array.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.array.d.ts @@ -156,7 +156,7 @@ interface Int8Array { findLastIndex(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: unknown): number; /** Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint8Array; + toReversed(): Int8Array; /** * Copies and sorts the array. @@ -164,11 +164,11 @@ interface Int8Array { * @param compareFn Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise. If omitted, the elements are sorted in ascending order. * * ```ts - * const myNums = Uint8Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b); // Uint8Array(4) [1, 2, 11, 22] + * const myNums = Int8Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b); // Int8Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; + toSorted(compareFn?: (a: number, b: number) => number): Int8Array; /** * Copies the array and inserts the given number at the provided index. @@ -177,7 +177,7 @@ interface Int8Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint8Array; + with(index: number, value: number): Int8Array; } interface Uint8Array { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.d.ts index e3dcb73597..eed7333dd8 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.d.ts @@ -18,3 +18,4 @@ and limitations under the License. /// /// /// +/// diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.intl.d.ts new file mode 100644 index 0000000000..d8fde081a3 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es2023.intl.d.ts @@ -0,0 +1,55 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +declare namespace Intl { + interface NumberFormatOptionsUseGroupingRegistry { + readonly min2: never; + readonly auto: never; + readonly always: never; + } + + interface NumberFormatOptionsSignDisplayRegistry { + readonly negative: never; + } + + interface NumberFormatOptions { + readonly roundingPriority?: 'auto' | 'morePrecision' | 'lessPrecision' | undefined; + readonly roundingIncrement?: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000 | undefined; + readonly roundingMode?: 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven' | undefined; + readonly trailingZeroDisplay?: 'auto' | 'stripIfInteger' | undefined; + } + + interface ResolvedNumberFormatOptions { + readonly roundingPriority: 'auto' | 'morePrecision' | 'lessPrecision'; + readonly roundingMode: 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven'; + readonly roundingIncrement: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000; + readonly trailingZeroDisplay: 'auto' | 'stripIfInteger'; + } + + interface NumberRangeFormatPart extends NumberFormatPart { + readonly source: 'startRange' | 'endRange' | 'shared'; + } + + type StringNumericLiteral = `${number}` | 'Infinity' | '-Infinity' | '+Infinity'; + + interface NumberFormat { + format(value: number | bigint | StringNumericLiteral): string; + formatToParts(value: number | bigint | StringNumericLiteral): readonly NumberFormatPart[]; + formatRange(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): string; + formatRangeToParts(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): readonly NumberRangeFormatPart[]; + } +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es5.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es5.d.ts index aede1aacf3..49b0277ddf 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es5.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.es5.d.ts @@ -861,7 +861,7 @@ interface Date { getMilliseconds(): number; /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */ getUTCMilliseconds(): number; - /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */ + /** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */ getTimezoneOffset(): number; /** * Sets the date and time value in the Date object. @@ -3980,12 +3980,33 @@ declare namespace Intl { var Collator: CollatorConstructor; + interface NumberFormatOptionsStyleRegistry { + readonly decimal: never; + readonly percent: never; + readonly currency: never; + } + + type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry; + + interface NumberFormatOptionsCurrencyDisplayRegistry { + readonly code: never; + readonly symbol: never; + readonly name: never; + } + + type NumberFormatOptionsCurrencyDisplay = keyof NumberFormatOptionsCurrencyDisplayRegistry; + + interface NumberFormatOptionsUseGroupingRegistry {} + + type NumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | 'true' | 'false' | boolean; + type ResolvedNumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | false; + interface NumberFormatOptions { - readonly localeMatcher?: string | undefined; - readonly style?: string | undefined; + readonly localeMatcher?: 'lookup' | 'best fit' | undefined; + readonly style?: NumberFormatOptionsStyle | undefined; readonly currency?: string | undefined; - readonly currencySign?: string | undefined; - readonly useGrouping?: boolean | undefined; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined; + readonly useGrouping?: NumberFormatOptionsUseGrouping | undefined; readonly minimumIntegerDigits?: number | undefined; readonly minimumFractionDigits?: number | undefined; readonly maximumFractionDigits?: number | undefined; @@ -3996,14 +4017,15 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { readonly locale: string; readonly numberingSystem: string; - readonly style: string; + readonly style: NumberFormatOptionsStyle; readonly currency?: string; + readonly currencyDisplay?: NumberFormatOptionsCurrencyDisplay; readonly minimumIntegerDigits: number; - readonly minimumFractionDigits: number; - readonly maximumFractionDigits: number; + readonly minimumFractionDigits?: number; + readonly maximumFractionDigits?: number; readonly minimumSignificantDigits?: number; readonly maximumSignificantDigits?: number; - readonly useGrouping: boolean; + readonly useGrouping: ResolvedNumberFormatOptionsUseGrouping; } interface NumberFormat { diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.array.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.array.d.ts new file mode 100644 index 0000000000..7a6555a186 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.array.d.ts @@ -0,0 +1,34 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface ArrayConstructor { + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to convert to an array. + */ + fromAsync(iterableOrArrayLike: AsyncIterable | Iterable> | ArrayLike>): Promise; + + /** + * Creates an array from an async iterator or iterable object. + * + * @param iterableOrArrayLike An async iterator or array-like object to convert to an array. + * @param mapfn A mapping function to call on every element of itarableOrArrayLike. Each return value is awaited before being added to result array. + * @param thisArg Value of 'this' used when executing mapfn. + */ + fromAsync(iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, mapFn: (value: Awaited) => U, thisArg?: unknown): Promise[]>; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.collection.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.collection.d.ts index 1d6e62d4cf..1eaf38c8b8 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.collection.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.collection.d.ts @@ -24,3 +24,46 @@ interface MapConstructor { */ groupBy(items: Iterable, keySelector: (item: T, index: number) => K): ReadonlyMap; } + +interface ReadonlySetLike { + /** Despite its name, returns an iterator of the values in the set-like. */ + keys(): Iterator; + /** @returns A boolean indicating whether an element with the specified value exists in the set-like or not. */ + has(value: T): boolean; + /** @returns The number of (unique) elements in the set-like. */ + readonly size: number; +} + +interface Set { + /** @returns A new Set containing all the elements in this Set and also all the elements in the argument. */ + union(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements which are both in this Set and in the argument. */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements in this Set which are not also in the argument. */ + difference(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements which are in either this Set or in the argument, but not in both. */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** @returns A boolean indicating whether all the elements in this Set are also in the argument. */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether all the elements in the argument are also in this Set. */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether this Set has no elements in common with the argument. */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} + +interface ReadonlySet { + /** @returns A new Set containing all the elements in this Set and also all the elements in the argument. */ + union(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements which are both in this Set and in the argument. */ + intersection(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements in this Set which are not also in the argument. */ + difference(other: ReadonlySetLike): ReadonlySet; + /** @returns A new Set containing all the elements which are in either this Set or in the argument, but not in both. */ + symmetricDifference(other: ReadonlySetLike): ReadonlySet; + /** @returns A boolean indicating whether all the elements in this Set are also in the argument. */ + isSubsetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether all the elements in the argument are also in this Set. */ + isSupersetOf(other: ReadonlySetLike): boolean; + /** @returns A boolean indicating whether this Set has no elements in common with the argument. */ + isDisjointFrom(other: ReadonlySetLike): boolean; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.d.ts index c1e1e6f2c7..ec4117c6ec 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.d.ts @@ -22,3 +22,7 @@ and limitations under the License. /// /// /// +/// +/// +/// +/// diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.disposable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.disposable.d.ts index c1e09196df..6e1fc80fae 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.disposable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.disposable.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// /// +/// +/// interface SymbolConstructor { /** A method that is used to release resources held by an object. Called by the semantics of the `using` statement. */ @@ -170,3 +172,7 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare var AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable {} + +interface AsyncIteratorObject extends AsyncDisposable {} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.intl.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.intl.d.ts index 8031dae9b3..b740dc2516 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.intl.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.intl.d.ts @@ -16,12 +16,5 @@ and limitations under the License. /// declare namespace Intl { - interface NumberRangeFormatPart extends NumberFormatPart { - readonly source: 'startRange' | 'endRange' | 'shared'; - } - - interface NumberFormat { - formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts(start: number | bigint, end: number | bigint): readonly NumberRangeFormatPart[]; - } + // Empty } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.iterator.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.iterator.d.ts new file mode 100644 index 0000000000..f083f2e9e3 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.iterator.d.ts @@ -0,0 +1,149 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +/// + +// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found +// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract` +// member without declaring a `class`, but declaring `class Iterator` globally would conflict with TypeScript's +// general purpose `Iterator` interface. +export {}; + +// Abstract type that allows us to mark `next` as `abstract` +declare abstract class Iterator { + + abstract next(value?: TNext): IteratorResult; +} + +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator extends globalThis.IteratorObject {} + +// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. +type IteratorObjectConstructor = typeof Iterator; + +declare global { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { + /** Returns this iterator. */ + [Symbol.iterator](): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback to the values from this iterator. + * + * @param callbackfn A function that accepts up to two arguments to be used to transform values from the underlying iterator. + */ + map(callbackfn: (value: T, index: number) => U): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. + */ + filter(predicate: (value: T, index: number) => value is S): IteratorObject; + + /** + * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. + * + * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. + */ + filter(predicate: (value: T, index: number) => unknown): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator, stopping once the provided limit is reached. + * + * @param limit The maximum number of values to yield. + */ + take(limit: number): IteratorObject; + + /** + * Creates an iterator whose values are the values from this iterator after skipping the provided count. + * + * @param count The number of values to drop. + */ + drop(count: number): IteratorObject; + + /** + * Creates an iterator whose values are the result of applying the callback to the values from this iterator and then flattening the resulting iterators or iterables. + * + * @param callback A function that accepts up to two arguments to be used to transform values from the underlying iterator into new iterators or iterables to be flattened into the result. + */ + flatMap(callback: (value: T, index: number) => Iterator | Iterable): IteratorObject; + + /** + * Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * + * @param callbackfn A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the iterator. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of a value from the iterator. + */ + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T; + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T, initialValue: T): T; + + /** + * Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * + * @param callbackfn A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the iterator. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of a value from the iterator. + */ + reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U; + + /** Creates a new array from the values yielded by this iterator. */ + toArray(): readonly T[]; + + /** + * Performs the specified action for each element in the iterator. + * + * @param callbackfn A function that accepts up to two arguments. forEach calls the callbackfn function one time for each element in the iterator. + */ + forEach(callbackfn: (value: T, index: number) => void): void; + + /** + * Determines whether the specified callback function returns true for any element of this iterator. + * + * @param predicate A function that accepts up to two arguments. The some method calls the predicate function for each element in this iterator until the predicate returns a value true, or until the end of the iterator. + */ + some(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Determines whether all the members of this iterator satisfy the specified test. + * + * @param predicate A function that accepts up to two arguments. The every method calls the predicate function for each element in this iterator until the predicate returns false, or until the end of this iterator. + */ + every(predicate: (value: T, index: number) => unknown): boolean; + + /** + * Returns the value of the first element in this iterator where predicate is true, and undefined otherwise. + * + * @param predicate Find calls predicate once for each element of this iterator, in order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined. + */ + find(predicate: (value: T, index: number) => value is S): S | undefined; + find(predicate: (value: T, index: number) => unknown): T | undefined; + + readonly [Symbol.toStringTag]: string; + } + + // Global `IteratorConstructor` interface that can be augmented by polyfills + interface IteratorConstructor extends IteratorObjectConstructor { + /** + * Creates a native iterator from an iterator or iterable object. Returns its input if the input already inherits from the built-in Iterator class. + * + * @param value An iterator or iterable object to convert a native iterator. + */ + from(value: Iterator | Iterable): IteratorObject; + } + + var Iterator: IteratorConstructor; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.regexp.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.regexp.d.ts new file mode 100644 index 0000000000..2f2a46ae54 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.regexp.d.ts @@ -0,0 +1,21 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface RegExp { + /** Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression. Default is false. Read-only. */ + readonly unicodeSets: boolean; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.string.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.string.d.ts new file mode 100644 index 0000000000..cc0cadf887 --- /dev/null +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.esnext.string.d.ts @@ -0,0 +1,24 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +interface String { + /** Returns true if all leading surrogates and trailing surrogates appear paired and in order. */ + isWellFormed(): boolean; + + /** Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). */ + toWellFormed(): string; +} diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.asynciterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.asynciterable.d.ts index 65ea3f1f4d..3704dd2f2d 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.asynciterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.asynciterable.d.ts @@ -19,9 +19,22 @@ and limitations under the License. /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): AsyncIterableIterator; - entries(): AsyncIterableIterator; - keys(): AsyncIterableIterator; - values(): AsyncIterableIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; + entries(): FileSystemDirectoryHandleAsyncIterator; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; +} + +interface ReadableStream { + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.d.ts index 9bf2ce0c94..6806af81bc 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.d.ts @@ -338,10 +338,6 @@ interface ImageEncodeOptions { type?: string; } -interface ImportMeta { - url: string; -} - interface JsonWebKey { alg?: string; crv?: string; @@ -412,6 +408,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } +interface MediaStreamTrackProcessorInit { + maxBufferSize?: number; +} + interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; @@ -549,6 +549,17 @@ interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } +interface ReadableStreamIteratorOptions { + /** + * Asynchronously iterates over the chunks in the stream's internal queue. + * + * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop. + * + * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option. + */ + preventCancel?: boolean; +} + interface ReadableStreamReadDoneResult { done: true; value?: T; @@ -646,16 +657,16 @@ interface RsaPssParams extends Algorithm { interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; - disposition: SecurityPolicyViolationEventDisposition; - documentURI: string; - effectiveDirective: string; + disposition?: SecurityPolicyViolationEventDisposition; + documentURI?: string; + effectiveDirective?: string; lineNumber?: number; - originalPolicy: string; + originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; - statusCode: number; - violatedDirective: string; + statusCode?: number; + violatedDirective?: string; } interface StorageEstimate { @@ -971,6 +982,8 @@ declare var AbortSignal: { new (): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */ abort(reason?: unknown): AbortSignal; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: AbortSignal[]): AbortSignal; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */ timeout(milliseconds: number): AbortSignal; }; @@ -1652,6 +1665,8 @@ interface CanvasShadowStyles { } interface CanvasState { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */ + isContextLost(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */ reset(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */ @@ -1983,9 +1998,7 @@ interface DOMMatrix extends DOMMatrixReadOnly { rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */ scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */ scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; skewYSelf(sy?: number): DOMMatrix; @@ -2002,88 +2015,48 @@ declare var DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */ readonly a: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */ readonly b: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */ readonly c: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */ readonly d: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */ readonly e: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */ readonly f: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */ readonly is2D: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */ readonly isIdentity: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */ readonly m11: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */ readonly m12: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */ readonly m13: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */ readonly m14: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */ readonly m21: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */ readonly m22: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */ readonly m23: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */ readonly m24: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */ readonly m31: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */ readonly m32: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */ readonly m33: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */ readonly m34: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */ readonly m41: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */ readonly m42: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */ readonly m43: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */ flipY(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */ inverse(): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */ multiply(other?: DOMMatrixInit): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */ rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */ rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */ rotateFromVector(x?: number, y?: number): DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */ scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */ scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform) - */ + /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */ skewX(sx?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */ skewY(sy?: number): DOMMatrix; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */ toFloat32Array(): Float32Array; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */ toFloat64Array(): Float64Array; toJSON(): unknown; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */ transformPoint(point?: DOMPointInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */ translate(tx?: number, ty?: number, tz?: number): DOMMatrix; @@ -2126,7 +2099,6 @@ interface DOMPointReadOnly { readonly y: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */ readonly z: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */ matrixTransform(matrix?: DOMMatrixInit): DOMPoint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */ toJSON(): unknown; @@ -2141,15 +2113,10 @@ declare var DOMPointReadOnly: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */ interface DOMQuad { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */ readonly p1: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */ readonly p2: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */ readonly p3: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */ readonly p4: DOMPoint; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */ getBounds(): DOMRect; toJSON(): unknown; } @@ -2172,6 +2139,7 @@ interface DOMRect extends DOMRectReadOnly { declare var DOMRect: { prototype: DOMRect; new (x?: number, y?: number, width?: number, height?: number): DOMRect; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */ fromRect(other?: DOMRectInit): DOMRect; }; @@ -2392,15 +2360,10 @@ declare var EncodedVideoChunk: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent) */ interface ErrorEvent extends Event { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */ readonly colno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */ readonly error: unknown; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */ readonly filename: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */ readonly lineno: number; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */ readonly message: string; } @@ -3721,7 +3684,7 @@ interface IDBTransaction extends EventTarget { /** * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -3848,6 +3811,11 @@ declare var ImageData: { new (data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData; }; +interface ImportMeta { + url: string; + resolve(specifier: string): string; +} + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */ interface KHR_parallel_shader_compile { readonly COMPLETION_STATUS_KHR: 0x91b1; @@ -3901,6 +3869,25 @@ declare var MediaCapabilities: { new (): MediaCapabilities; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */ +interface MediaSourceHandle {} + +declare var MediaSourceHandle: { + prototype: MediaSourceHandle; + new (): MediaSourceHandle; +}; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) */ +interface MediaStreamTrackProcessor { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) */ + readonly readable: ReadableStream; +} + +declare var MediaStreamTrackProcessor: { + prototype: MediaStreamTrackProcessor; + new (init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor; +}; + /** * This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. * @@ -3962,11 +3949,7 @@ interface MessageEvent extends Event { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source) */ readonly source: MessageEventSource | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: unknown, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void; } @@ -4293,7 +4276,9 @@ interface OffscreenCanvas extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) */ height: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */ oncontextlost: ((this: OffscreenCanvas, ev: Event) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */ oncontextrestored: ((this: OffscreenCanvas, ev: Event) => unknown) | null; /** * These attributes return the dimensions of the OffscreenCanvas object's bitmap. @@ -4346,8 +4331,6 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */ - commit(): void; } declare var OffscreenCanvasRenderingContext2D: { @@ -4934,6 +4917,7 @@ declare var Report: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */ interface ReportBody { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */ toJSON(): unknown; } @@ -4993,11 +4977,7 @@ interface Request extends Body { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity) */ readonly integrity: string; - /** - * Returns a boolean indicating whether or not request can outlive the global in which it was created. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive) - */ + /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */ readonly keepalive: boolean; /** * Returns request's HTTP method, which is "GET" by default. @@ -5207,7 +5187,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { } /** - * This ServiceWorker API interface represents the global execution context of a service worker. + * This ServiceWorker API interface represents the global execution context of a service worker. Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) */ @@ -5674,9 +5654,11 @@ declare var URL: { prototype: URL; new (url: string | URL, base?: string | URL): URL; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */ - canParse(url: string | URL, base?: string): boolean; + canParse(url: string | URL, base?: string | URL): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */ createObjectURL(obj: Blob): string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */ + parse(url: string | URL, base?: string | URL): URL | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */ revokeObjectURL(url: string): void; }; @@ -5764,6 +5746,7 @@ interface VideoDecoderEventMap { interface VideoDecoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */ readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */ ondequeue: ((this: VideoDecoder, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */ readonly state: CodecState; @@ -5786,6 +5769,7 @@ interface VideoDecoder extends EventTarget { declare var VideoDecoder: { prototype: VideoDecoder; new (init: VideoDecoderInit): VideoDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */ isConfigSupported(config: VideoDecoderConfig): Promise; }; @@ -5801,6 +5785,7 @@ interface VideoEncoderEventMap { interface VideoEncoder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */ readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */ ondequeue: ((this: VideoEncoder, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */ readonly state: CodecState; @@ -5810,6 +5795,7 @@ interface VideoEncoder extends EventTarget { configure(config: VideoEncoderConfig): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */ flush(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */ reset(): void; @@ -5822,6 +5808,7 @@ interface VideoEncoder extends EventTarget { declare var VideoEncoder: { prototype: VideoEncoder; new (init: VideoEncoderInit): VideoEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */ isConfigSupported(config: VideoEncoderConfig): Promise; }; @@ -5853,6 +5840,7 @@ interface VideoFrame { clone(): VideoFrame; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */ close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */ copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise; } @@ -6629,7 +6617,7 @@ interface WebGL2RenderingContextBase { clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */ clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */ compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */ @@ -7504,6 +7492,7 @@ declare var WebGLRenderingContext: { }; interface WebGLRenderingContextBase { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */ drawingBufferColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */ readonly drawingBufferHeight: GLsizei; @@ -8206,7 +8195,7 @@ declare var WebGLVertexArrayObject: { new (): WebGLVertexArrayObject; }; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */ interface WebGLVertexArrayObjectOES {} interface WebSocketEventMap { @@ -8416,24 +8405,24 @@ interface WindowOrWorkerGlobalScope { /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ readonly caches: CacheStorage; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ readonly crossOriginIsolated: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ readonly crypto: Crypto; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ readonly indexedDB: IDBFactory; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ readonly isSecureContext: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ readonly origin: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ readonly performance: Performance; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ atob(data: string): string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ clearInterval(id: number | undefined): void; @@ -8531,7 +8520,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG onoffline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ ononline: ((this: WorkerGlobalScope, ev: Event) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */ onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */ onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; /** * Returns workerGlobal. @@ -8866,7 +8857,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -8878,9 +8869,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -8890,9 +8881,9 @@ interface Console { table(tabularData?: unknown, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -8914,9 +8905,7 @@ declare namespace WebAssembly { /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */ interface Global { - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */ value: ValueTypeMap[T]; - /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */ valueOf(): ValueTypeMap[T]; } @@ -9191,7 +9180,9 @@ declare let onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => declare let onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */ declare let ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => unknown) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */ declare let onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */ declare let onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => unknown) | null; /** * Returns workerGlobal. @@ -9216,24 +9207,24 @@ declare let fonts: FontFaceSet; /** * Available only in secure contexts. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches) */ declare let caches: CacheStorage; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */ declare let crossOriginIsolated: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */ declare let crypto: Crypto; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */ declare let indexedDB: IDBFactory; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */ declare let isSecureContext: boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */ declare let origin: string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */ declare let performance: Performance; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */ declare function atob(data: string): string; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */ declare function btoa(data: string): string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */ declare function clearInterval(id: number | undefined): void; @@ -9310,7 +9301,7 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string; type AlphaOption = 'discard' | 'keep'; diff --git a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.iterable.d.ts b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.iterable.d.ts index 7f58e949f5..d7981efc67 100644 --- a/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.iterable.d.ts +++ b/packages/strict-ts-lib/source/temp/eslint-fixed/lib.webworker.iterable.d.ts @@ -19,25 +19,30 @@ and limitations under the License. /// Worker Iterable APIs ///////////////////////////// +interface AbortSignal { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ + any(signals: Iterable): AbortSignal; +} + interface CSSNumericArray { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator; - keys(): IterableIterator; - values(): IterableIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -56,33 +61,41 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set {} +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): FormDataIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): IterableIterator; + entries(): FormDataIterator; /** Returns a list of keys in the list. */ - keys(): IterableIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): IterableIterator; + values(): FormDataIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): HeadersIterator; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): IterableIterator; + entries(): HeadersIterator; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): IterableIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): IterableIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -106,19 +119,19 @@ interface IDBObjectStore { } interface MessageEvent { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) - */ + /** @deprecated */ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: unknown, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): IterableIterator]>; - entries(): IterableIterator]>; - keys(): IterableIterator; - values(): IterableIterator>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator]>; + entries(): StylePropertyMapReadOnlyIterator]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -144,14 +157,18 @@ interface SubtleCrypto { ): Promise; } +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): IterableIterator; + [Symbol.iterator](): URLSearchParamsIterator; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): IterableIterator; + entries(): URLSearchParamsIterator; /** Returns a list of keys in the search params. */ - keys(): IterableIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): IterableIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/packages/tools/eslint-custom-rules/src/utils/exclude/misc.ts b/packages/tools/eslint-custom-rules/src/utils/exclude/misc.ts index 9dac18856a..de7a3699c2 100644 --- a/packages/tools/eslint-custom-rules/src/utils/exclude/misc.ts +++ b/packages/tools/eslint-custom-rules/src/utils/exclude/misc.ts @@ -102,14 +102,14 @@ function getEnumNames(myEnum: Record): T[] { } export { + arraysAreEqual, Equal, ExcludeKeys, - RequireKeys, - arraysAreEqual, findFirstResult, getEnumNames, getNameFromIndexSignature, getNameFromMember, isDefinitionFile, + RequireKeys, upperCaseFirst, }; diff --git a/packages/utils/ts-utils/src/array/array.test.mts b/packages/utils/ts-utils/src/array/array.test.mts index a30901fbdd..be642b7e09 100644 --- a/packages/utils/ts-utils/src/array/array.test.mts +++ b/packages/utils/ts-utils/src/array/array.test.mts @@ -72,10 +72,7 @@ describe('Array.find', () => { const xs = [{ v: 2 }, { v: 1 }, { v: 3 }] as const; const result = xs.find((x) => x.v === 1); - expectType< - typeof result, - Readonly<{ v: 1 }> | Readonly<{ v: 2 }> | Readonly<{ v: 3 }> | undefined - >('='); + expectType | undefined>('='); test('case 1', () => { expect(result).toStrictEqual({ v: 1 }); diff --git a/packages/utils/ts-utils/src/record/record-utils.mts b/packages/utils/ts-utils/src/record/record-utils.mts index 5ab528e14f..cab6229cf3 100644 --- a/packages/utils/ts-utils/src/record/record-utils.mts +++ b/packages/utils/ts-utils/src/record/record-utils.mts @@ -54,8 +54,8 @@ const UNSAFE_updateIn_impl = ( ? obj.map((v, i): unknown => i === keyPath[index] ? UNSAFE_updateIn_impl( - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, total-functions/no-unsafe-type-assertion - obj[keyPath[index]!] as UnknownRecord, + // eslint-disable-next-line total-functions/no-unsafe-type-assertion + obj[keyPath[index]] as UnknownRecord, keyPath, Uint32.add(index, 1), updater, diff --git a/tsconfig.json b/tsconfig.json index 2b045efd63..58370737b4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,8 @@ // for VSCode "compilerOptions": { "jsxFactory": "h", - "typeRoots": ["node_modules/@types", "packages/**/node_modules/@types"] + "typeRoots": ["node_modules/@types", "packages/**/node_modules/@types"], + "types": ["node"] }, "include": [ "./packages/**/eslint.config.js", diff --git a/yarn.lock b/yarn.lock index 3f459e655a..69585e5cf0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4502,10 +4502,12 @@ dependencies: undici-types "~5.26.4" -"@types/node@^16.9.2": - version "16.18.69" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.69.tgz#84853c5562baeabc6e864e36ea106f8c09495b24" - integrity sha512-AfDKv5fWd9XStaEuqFa6PYcM8FgTqxVMsP4BPk60emeB9YX+pp2P0zZ8nU1BQg8hyPGFrMt7MGMRMis8IrcPyg== +"@types/node@^18.11.9": + version "18.19.51" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.51.tgz#bebfb2f282de467f556a1a85aa74878b6ca0ab3a" + integrity sha512-IIMkWEIVQDlBpi6pPeGqTqOx7KbzGC3EgIyH8NrxplXOwWw0uVl9vthJUMFrxD7kcEfcRp7jIkgpB28M6JnfWA== + dependencies: + undici-types "~5.26.4" "@types/nodemailer@^6.4.4": version "6.4.14" @@ -5092,82 +5094,82 @@ eslint-visitor-keys "^3.4.3" "@typescript/lib-decorators@file:packages/strict-ts-lib/output-branded/packages/decorators": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-dom@file:packages/strict-ts-lib/output-branded/packages/dom": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2015@file:packages/strict-ts-lib/output-branded/packages/es2015": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2016@file:packages/strict-ts-lib/output-branded/packages/es2016": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2017@file:packages/strict-ts-lib/output-branded/packages/es2017": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2018@file:packages/strict-ts-lib/output-branded/packages/es2018": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2019@file:packages/strict-ts-lib/output-branded/packages/es2019": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2020@file:packages/strict-ts-lib/output-branded/packages/es2020": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2021@file:packages/strict-ts-lib/output-branded/packages/es2021": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2022@file:packages/strict-ts-lib/output-branded/packages/es2022": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es2023@file:packages/strict-ts-lib/output-branded/packages/es2023": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es5@file:packages/strict-ts-lib/output-branded/packages/es5": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-es6@file:packages/strict-ts-lib/output-branded/packages/es6": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-esnext@file:packages/strict-ts-lib/output-branded/packages/esnext": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-scripthost@file:packages/strict-ts-lib/output-branded/packages/scripthost": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" "@typescript/lib-webworker@file:packages/strict-ts-lib/output-branded/packages/webworker": - version "5.4.3" + version "5.6.2" dependencies: "@noshiro/ts-type-utils" "1.1.0" @@ -16279,7 +16281,8 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: + name string-width-cjs version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -16297,15 +16300,6 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -16435,7 +16429,7 @@ stringify-entities@^4.0.0: character-entities-html4 "^2.0.0" character-entities-legacy "^3.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -16449,13 +16443,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -17179,29 +17166,29 @@ typescript-eslint@8.1.0: "@typescript-eslint/parser" "8.1.0" "@typescript-eslint/utils" "8.1.0" -typescript-json-schema@^0.63.0: - version "0.63.0" - resolved "https://registry.yarnpkg.com/typescript-json-schema/-/typescript-json-schema-0.63.0.tgz#55ef6c4dde71625425b169d37e0de3d2ea14e093" - integrity sha512-vBfMBq4U/rZ5FIRi7u4o/YAdeRHsSabdGHogUlCPi0cYU0CGvS4Bdu8bSzyUsF+Kf5PTQUGh2TictJuQTDK6eQ== +typescript-json-schema@^0.65.1: + version "0.65.1" + resolved "https://registry.yarnpkg.com/typescript-json-schema/-/typescript-json-schema-0.65.1.tgz#24840812f69b220b75d86ed87e220b3b3345db2c" + integrity sha512-tuGH7ff2jPaUYi6as3lHyHcKpSmXIqN7/mu50x3HlYn0EHzLpmt3nplZ7EuhUkO0eqDRc9GqWNkfjgBPIS9kxg== dependencies: "@types/json-schema" "^7.0.9" - "@types/node" "^16.9.2" + "@types/node" "^18.11.9" glob "^7.1.7" path-equal "^1.2.5" safe-stable-stringify "^2.2.0" ts-node "^10.9.1" - typescript "~5.1.0" + typescript "~5.5.0" yargs "^17.1.1" -typescript@5.4.3: - version "5.4.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff" - integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg== +typescript@5.6.2: + version "5.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0" + integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw== -typescript@~5.1.0: - version "5.1.6" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" - integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== +typescript@~5.5.0: + version "5.5.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" + integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== typical@^4.0.0: version "4.0.0" @@ -17975,7 +17962,8 @@ wordwrapjs@^5.1.0: resolved "https://registry.yarnpkg.com/wordwrapjs/-/wordwrapjs-5.1.0.tgz#4c4d20446dcc670b14fa115ef4f8fd9947af2b3a" integrity sha512-JNjcULU2e4KJwUNv6CHgI46UvDGitb6dGryHajXTDiLgg1/RiGoPSDw4kZfYnwGtEXf2ZMeIewDQgFGzkCB2Sg== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + name wrap-ansi-cjs version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -18002,15 +17990,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"