@types/web 0.0.312 → 0.0.314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +31 -7
- package/package.json +1 -1
- package/ts5.5/index.d.ts +31 -7
- package/ts5.6/index.d.ts +31 -7
- package/ts5.9/index.d.ts +31 -7
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.314 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.314.
|
package/index.d.ts
CHANGED
|
@@ -23818,6 +23818,13 @@ declare var NavigateEvent: {
|
|
|
23818
23818
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23819
23819
|
};
|
|
23820
23820
|
|
|
23821
|
+
interface NavigationEventMap {
|
|
23822
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23823
|
+
"navigate": NavigateEvent;
|
|
23824
|
+
"navigateerror": ErrorEvent;
|
|
23825
|
+
"navigatesuccess": Event;
|
|
23826
|
+
}
|
|
23827
|
+
|
|
23821
23828
|
/**
|
|
23822
23829
|
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
|
|
23823
23830
|
*
|
|
@@ -23848,6 +23855,14 @@ interface Navigation extends EventTarget {
|
|
|
23848
23855
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23849
23856
|
*/
|
|
23850
23857
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23858
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23859
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23861
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23862
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23863
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23864
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23865
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23851
23866
|
/**
|
|
23852
23867
|
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
|
|
23853
23868
|
*
|
|
@@ -23896,6 +23911,10 @@ interface Navigation extends EventTarget {
|
|
|
23896
23911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23897
23912
|
*/
|
|
23898
23913
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23914
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23915
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23916
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23917
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23899
23918
|
}
|
|
23900
23919
|
|
|
23901
23920
|
declare var Navigation: {
|
|
@@ -26245,7 +26264,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26245
26264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26246
26265
|
*/
|
|
26247
26266
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26248
|
-
/**
|
|
26267
|
+
/**
|
|
26268
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26269
|
+
*
|
|
26270
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26271
|
+
*/
|
|
26249
26272
|
toJSON(): any;
|
|
26250
26273
|
}
|
|
26251
26274
|
|
|
@@ -28050,7 +28073,7 @@ interface RTCRtpReceiver {
|
|
|
28050
28073
|
*
|
|
28051
28074
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
|
|
28052
28075
|
*/
|
|
28053
|
-
transform:
|
|
28076
|
+
transform: RTCRtpReceiverTransform | null;
|
|
28054
28077
|
/**
|
|
28055
28078
|
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28056
28079
|
*
|
|
@@ -28130,7 +28153,7 @@ interface RTCRtpSender {
|
|
|
28130
28153
|
*
|
|
28131
28154
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
|
|
28132
28155
|
*/
|
|
28133
|
-
transform:
|
|
28156
|
+
transform: RTCRtpSenderTransform | null;
|
|
28134
28157
|
/**
|
|
28135
28158
|
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28136
28159
|
*
|
|
@@ -29564,13 +29587,13 @@ declare var SVGAnimatedRect: {
|
|
|
29564
29587
|
*/
|
|
29565
29588
|
interface SVGAnimatedString {
|
|
29566
29589
|
/**
|
|
29567
|
-
* The **`animVal`** read-only property of the SVGAnimatedString interface
|
|
29590
|
+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
|
|
29568
29591
|
*
|
|
29569
29592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
|
|
29570
29593
|
*/
|
|
29571
29594
|
readonly animVal: string;
|
|
29572
29595
|
/**
|
|
29573
|
-
*
|
|
29596
|
+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
|
|
29574
29597
|
*
|
|
29575
29598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
|
|
29576
29599
|
*/
|
|
@@ -33444,7 +33467,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33444
33467
|
*/
|
|
33445
33468
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33446
33469
|
/**
|
|
33447
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33470
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33448
33471
|
*
|
|
33449
33472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33450
33473
|
*/
|
|
@@ -42474,7 +42497,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42474
42497
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42475
42498
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42476
42499
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42477
|
-
type
|
|
42500
|
+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
|
|
42501
|
+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
|
|
42478
42502
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42479
42503
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
42480
42504
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -23794,6 +23794,13 @@ declare var NavigateEvent: {
|
|
|
23794
23794
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23795
23795
|
};
|
|
23796
23796
|
|
|
23797
|
+
interface NavigationEventMap {
|
|
23798
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23799
|
+
"navigate": NavigateEvent;
|
|
23800
|
+
"navigateerror": ErrorEvent;
|
|
23801
|
+
"navigatesuccess": Event;
|
|
23802
|
+
}
|
|
23803
|
+
|
|
23797
23804
|
/**
|
|
23798
23805
|
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
|
|
23799
23806
|
*
|
|
@@ -23824,6 +23831,14 @@ interface Navigation extends EventTarget {
|
|
|
23824
23831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23825
23832
|
*/
|
|
23826
23833
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23834
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23835
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23836
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23837
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23838
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23839
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23840
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23841
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23827
23842
|
/**
|
|
23828
23843
|
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
|
|
23829
23844
|
*
|
|
@@ -23872,6 +23887,10 @@ interface Navigation extends EventTarget {
|
|
|
23872
23887
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23873
23888
|
*/
|
|
23874
23889
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23890
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23891
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23892
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23893
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23875
23894
|
}
|
|
23876
23895
|
|
|
23877
23896
|
declare var Navigation: {
|
|
@@ -26221,7 +26240,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26221
26240
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26222
26241
|
*/
|
|
26223
26242
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26224
|
-
/**
|
|
26243
|
+
/**
|
|
26244
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26245
|
+
*
|
|
26246
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26247
|
+
*/
|
|
26225
26248
|
toJSON(): any;
|
|
26226
26249
|
}
|
|
26227
26250
|
|
|
@@ -28026,7 +28049,7 @@ interface RTCRtpReceiver {
|
|
|
28026
28049
|
*
|
|
28027
28050
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
|
|
28028
28051
|
*/
|
|
28029
|
-
transform:
|
|
28052
|
+
transform: RTCRtpReceiverTransform | null;
|
|
28030
28053
|
/**
|
|
28031
28054
|
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28032
28055
|
*
|
|
@@ -28106,7 +28129,7 @@ interface RTCRtpSender {
|
|
|
28106
28129
|
*
|
|
28107
28130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
|
|
28108
28131
|
*/
|
|
28109
|
-
transform:
|
|
28132
|
+
transform: RTCRtpSenderTransform | null;
|
|
28110
28133
|
/**
|
|
28111
28134
|
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28112
28135
|
*
|
|
@@ -29539,13 +29562,13 @@ declare var SVGAnimatedRect: {
|
|
|
29539
29562
|
*/
|
|
29540
29563
|
interface SVGAnimatedString {
|
|
29541
29564
|
/**
|
|
29542
|
-
* The **`animVal`** read-only property of the SVGAnimatedString interface
|
|
29565
|
+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
|
|
29543
29566
|
*
|
|
29544
29567
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
|
|
29545
29568
|
*/
|
|
29546
29569
|
readonly animVal: string;
|
|
29547
29570
|
/**
|
|
29548
|
-
*
|
|
29571
|
+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
|
|
29549
29572
|
*
|
|
29550
29573
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
|
|
29551
29574
|
*/
|
|
@@ -33419,7 +33442,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33419
33442
|
*/
|
|
33420
33443
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33421
33444
|
/**
|
|
33422
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33445
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33423
33446
|
*
|
|
33424
33447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33425
33448
|
*/
|
|
@@ -42448,7 +42471,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42448
42471
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42449
42472
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42450
42473
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42451
|
-
type
|
|
42474
|
+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
|
|
42475
|
+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
|
|
42452
42476
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42453
42477
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
42454
42478
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -23815,6 +23815,13 @@ declare var NavigateEvent: {
|
|
|
23815
23815
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23816
23816
|
};
|
|
23817
23817
|
|
|
23818
|
+
interface NavigationEventMap {
|
|
23819
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23820
|
+
"navigate": NavigateEvent;
|
|
23821
|
+
"navigateerror": ErrorEvent;
|
|
23822
|
+
"navigatesuccess": Event;
|
|
23823
|
+
}
|
|
23824
|
+
|
|
23818
23825
|
/**
|
|
23819
23826
|
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
|
|
23820
23827
|
*
|
|
@@ -23845,6 +23852,14 @@ interface Navigation extends EventTarget {
|
|
|
23845
23852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23846
23853
|
*/
|
|
23847
23854
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23855
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23856
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23857
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23858
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23859
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23860
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23861
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23862
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23848
23863
|
/**
|
|
23849
23864
|
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
|
|
23850
23865
|
*
|
|
@@ -23893,6 +23908,10 @@ interface Navigation extends EventTarget {
|
|
|
23893
23908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23894
23909
|
*/
|
|
23895
23910
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23911
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23912
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23913
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23914
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23896
23915
|
}
|
|
23897
23916
|
|
|
23898
23917
|
declare var Navigation: {
|
|
@@ -26242,7 +26261,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26242
26261
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26243
26262
|
*/
|
|
26244
26263
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26245
|
-
/**
|
|
26264
|
+
/**
|
|
26265
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26266
|
+
*
|
|
26267
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26268
|
+
*/
|
|
26246
26269
|
toJSON(): any;
|
|
26247
26270
|
}
|
|
26248
26271
|
|
|
@@ -28047,7 +28070,7 @@ interface RTCRtpReceiver {
|
|
|
28047
28070
|
*
|
|
28048
28071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
|
|
28049
28072
|
*/
|
|
28050
|
-
transform:
|
|
28073
|
+
transform: RTCRtpReceiverTransform | null;
|
|
28051
28074
|
/**
|
|
28052
28075
|
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28053
28076
|
*
|
|
@@ -28127,7 +28150,7 @@ interface RTCRtpSender {
|
|
|
28127
28150
|
*
|
|
28128
28151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
|
|
28129
28152
|
*/
|
|
28130
|
-
transform:
|
|
28153
|
+
transform: RTCRtpSenderTransform | null;
|
|
28131
28154
|
/**
|
|
28132
28155
|
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28133
28156
|
*
|
|
@@ -29561,13 +29584,13 @@ declare var SVGAnimatedRect: {
|
|
|
29561
29584
|
*/
|
|
29562
29585
|
interface SVGAnimatedString {
|
|
29563
29586
|
/**
|
|
29564
|
-
* The **`animVal`** read-only property of the SVGAnimatedString interface
|
|
29587
|
+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
|
|
29565
29588
|
*
|
|
29566
29589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
|
|
29567
29590
|
*/
|
|
29568
29591
|
readonly animVal: string;
|
|
29569
29592
|
/**
|
|
29570
|
-
*
|
|
29593
|
+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
|
|
29571
29594
|
*
|
|
29572
29595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
|
|
29573
29596
|
*/
|
|
@@ -33441,7 +33464,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33441
33464
|
*/
|
|
33442
33465
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33443
33466
|
/**
|
|
33444
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33467
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33445
33468
|
*
|
|
33446
33469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33447
33470
|
*/
|
|
@@ -42471,7 +42494,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42471
42494
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42472
42495
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42473
42496
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42474
|
-
type
|
|
42497
|
+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
|
|
42498
|
+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
|
|
42475
42499
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42476
42500
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
42477
42501
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -23815,6 +23815,13 @@ declare var NavigateEvent: {
|
|
|
23815
23815
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23816
23816
|
};
|
|
23817
23817
|
|
|
23818
|
+
interface NavigationEventMap {
|
|
23819
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23820
|
+
"navigate": NavigateEvent;
|
|
23821
|
+
"navigateerror": ErrorEvent;
|
|
23822
|
+
"navigatesuccess": Event;
|
|
23823
|
+
}
|
|
23824
|
+
|
|
23818
23825
|
/**
|
|
23819
23826
|
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
|
|
23820
23827
|
*
|
|
@@ -23845,6 +23852,14 @@ interface Navigation extends EventTarget {
|
|
|
23845
23852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23846
23853
|
*/
|
|
23847
23854
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23855
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23856
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23857
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23858
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23859
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23860
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23861
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23862
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23848
23863
|
/**
|
|
23849
23864
|
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
|
|
23850
23865
|
*
|
|
@@ -23893,6 +23908,10 @@ interface Navigation extends EventTarget {
|
|
|
23893
23908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23894
23909
|
*/
|
|
23895
23910
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23911
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23912
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23913
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23914
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23896
23915
|
}
|
|
23897
23916
|
|
|
23898
23917
|
declare var Navigation: {
|
|
@@ -26242,7 +26261,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26242
26261
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26243
26262
|
*/
|
|
26244
26263
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26245
|
-
/**
|
|
26264
|
+
/**
|
|
26265
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26266
|
+
*
|
|
26267
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26268
|
+
*/
|
|
26246
26269
|
toJSON(): any;
|
|
26247
26270
|
}
|
|
26248
26271
|
|
|
@@ -28047,7 +28070,7 @@ interface RTCRtpReceiver {
|
|
|
28047
28070
|
*
|
|
28048
28071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
|
|
28049
28072
|
*/
|
|
28050
|
-
transform:
|
|
28073
|
+
transform: RTCRtpReceiverTransform | null;
|
|
28051
28074
|
/**
|
|
28052
28075
|
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28053
28076
|
*
|
|
@@ -28127,7 +28150,7 @@ interface RTCRtpSender {
|
|
|
28127
28150
|
*
|
|
28128
28151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
|
|
28129
28152
|
*/
|
|
28130
|
-
transform:
|
|
28153
|
+
transform: RTCRtpSenderTransform | null;
|
|
28131
28154
|
/**
|
|
28132
28155
|
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
28133
28156
|
*
|
|
@@ -29561,13 +29584,13 @@ declare var SVGAnimatedRect: {
|
|
|
29561
29584
|
*/
|
|
29562
29585
|
interface SVGAnimatedString {
|
|
29563
29586
|
/**
|
|
29564
|
-
* The **`animVal`** read-only property of the SVGAnimatedString interface
|
|
29587
|
+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
|
|
29565
29588
|
*
|
|
29566
29589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
|
|
29567
29590
|
*/
|
|
29568
29591
|
readonly animVal: string;
|
|
29569
29592
|
/**
|
|
29570
|
-
*
|
|
29593
|
+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
|
|
29571
29594
|
*
|
|
29572
29595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
|
|
29573
29596
|
*/
|
|
@@ -33441,7 +33464,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33441
33464
|
*/
|
|
33442
33465
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33443
33466
|
/**
|
|
33444
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33467
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33445
33468
|
*
|
|
33446
33469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33447
33470
|
*/
|
|
@@ -42471,7 +42494,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42471
42494
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42472
42495
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42473
42496
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42474
|
-
type
|
|
42497
|
+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
|
|
42498
|
+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
|
|
42475
42499
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42476
42500
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
42477
42501
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|