@types/web 0.0.313 → 0.0.315
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 +30 -10
- package/package.json +1 -1
- package/ts5.5/index.d.ts +29 -10
- package/ts5.5/iterable.d.ts +1 -0
- package/ts5.6/index.d.ts +29 -10
- package/ts5.6/iterable.d.ts +1 -0
- package/ts5.9/index.d.ts +29 -10
- package/ts5.9/iterable.d.ts +1 -0
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.315 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.315.
|
package/index.d.ts
CHANGED
|
@@ -6248,6 +6248,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6248
6248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
|
|
6249
6249
|
*/
|
|
6250
6250
|
anchorName: string;
|
|
6251
|
+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
|
|
6251
6252
|
anchorScope: string;
|
|
6252
6253
|
/**
|
|
6253
6254
|
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
|
|
@@ -19854,7 +19855,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19854
19855
|
*
|
|
19855
19856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
19856
19857
|
*/
|
|
19857
|
-
selectionDirection:
|
|
19858
|
+
selectionDirection: SelectionDirection;
|
|
19858
19859
|
/**
|
|
19859
19860
|
* The **`selectionEnd`** property of the HTMLTextAreaElement interface specifies the end position of the current text selection in a <textarea> element. It is a number representing the last index of the selected text. It can be used to both retrieve and set the index of the end of a <textarea>s selected text.
|
|
19860
19861
|
*
|
|
@@ -19945,7 +19946,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19945
19946
|
*
|
|
19946
19947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
19947
19948
|
*/
|
|
19948
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
19949
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
19949
19950
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
19950
19951
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
19951
19952
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23818,6 +23819,13 @@ declare var NavigateEvent: {
|
|
|
23818
23819
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23819
23820
|
};
|
|
23820
23821
|
|
|
23822
|
+
interface NavigationEventMap {
|
|
23823
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23824
|
+
"navigate": NavigateEvent;
|
|
23825
|
+
"navigateerror": ErrorEvent;
|
|
23826
|
+
"navigatesuccess": Event;
|
|
23827
|
+
}
|
|
23828
|
+
|
|
23821
23829
|
/**
|
|
23822
23830
|
* 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
23831
|
*
|
|
@@ -23848,6 +23856,14 @@ interface Navigation extends EventTarget {
|
|
|
23848
23856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23849
23857
|
*/
|
|
23850
23858
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23859
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23860
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23861
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23862
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23863
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23864
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23865
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23866
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23851
23867
|
/**
|
|
23852
23868
|
* 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
23869
|
*
|
|
@@ -23896,6 +23912,10 @@ interface Navigation extends EventTarget {
|
|
|
23896
23912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23897
23913
|
*/
|
|
23898
23914
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23915
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23916
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23917
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23918
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23899
23919
|
}
|
|
23900
23920
|
|
|
23901
23921
|
declare var Navigation: {
|
|
@@ -26245,7 +26265,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26245
26265
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26246
26266
|
*/
|
|
26247
26267
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26248
|
-
/**
|
|
26268
|
+
/**
|
|
26269
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26270
|
+
*
|
|
26271
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26272
|
+
*/
|
|
26249
26273
|
toJSON(): any;
|
|
26250
26274
|
}
|
|
26251
26275
|
|
|
@@ -33444,7 +33468,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33444
33468
|
*/
|
|
33445
33469
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33446
33470
|
/**
|
|
33447
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33471
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33448
33472
|
*
|
|
33449
33473
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33450
33474
|
*/
|
|
@@ -34347,12 +34371,6 @@ declare var StorageManager: {
|
|
|
34347
34371
|
new(): StorageManager;
|
|
34348
34372
|
};
|
|
34349
34373
|
|
|
34350
|
-
/** @deprecated */
|
|
34351
|
-
interface StyleMedia {
|
|
34352
|
-
type: string;
|
|
34353
|
-
matchMedium(mediaquery: string): boolean;
|
|
34354
|
-
}
|
|
34355
|
-
|
|
34356
34374
|
/**
|
|
34357
34375
|
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
|
34358
34376
|
*
|
|
@@ -34580,6 +34598,7 @@ interface SubtleCrypto {
|
|
|
34580
34598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
34581
34599
|
*/
|
|
34582
34600
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
34601
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
34583
34602
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
34584
34603
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
34585
34604
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
|
@@ -43061,6 +43080,7 @@ interface SubtleCrypto {
|
|
|
43061
43080
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
43062
43081
|
*/
|
|
43063
43082
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
43083
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
43064
43084
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
43065
43085
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
43066
43086
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -6238,6 +6238,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6238
6238
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
|
|
6239
6239
|
*/
|
|
6240
6240
|
anchorName: string;
|
|
6241
|
+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
|
|
6241
6242
|
anchorScope: string;
|
|
6242
6243
|
/**
|
|
6243
6244
|
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
|
|
@@ -19830,7 +19831,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19830
19831
|
*
|
|
19831
19832
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
19832
19833
|
*/
|
|
19833
|
-
selectionDirection:
|
|
19834
|
+
selectionDirection: SelectionDirection;
|
|
19834
19835
|
/**
|
|
19835
19836
|
* The **`selectionEnd`** property of the HTMLTextAreaElement interface specifies the end position of the current text selection in a <textarea> element. It is a number representing the last index of the selected text. It can be used to both retrieve and set the index of the end of a <textarea>s selected text.
|
|
19836
19837
|
*
|
|
@@ -19921,7 +19922,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19921
19922
|
*
|
|
19922
19923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
19923
19924
|
*/
|
|
19924
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
19925
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
19925
19926
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
19926
19927
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
19927
19928
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23794,6 +23795,13 @@ declare var NavigateEvent: {
|
|
|
23794
23795
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23795
23796
|
};
|
|
23796
23797
|
|
|
23798
|
+
interface NavigationEventMap {
|
|
23799
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23800
|
+
"navigate": NavigateEvent;
|
|
23801
|
+
"navigateerror": ErrorEvent;
|
|
23802
|
+
"navigatesuccess": Event;
|
|
23803
|
+
}
|
|
23804
|
+
|
|
23797
23805
|
/**
|
|
23798
23806
|
* 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
23807
|
*
|
|
@@ -23824,6 +23832,14 @@ interface Navigation extends EventTarget {
|
|
|
23824
23832
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23825
23833
|
*/
|
|
23826
23834
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23835
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23836
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23838
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23839
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23840
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23842
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23827
23843
|
/**
|
|
23828
23844
|
* 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
23845
|
*
|
|
@@ -23872,6 +23888,10 @@ interface Navigation extends EventTarget {
|
|
|
23872
23888
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23873
23889
|
*/
|
|
23874
23890
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23891
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23892
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23893
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23894
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23875
23895
|
}
|
|
23876
23896
|
|
|
23877
23897
|
declare var Navigation: {
|
|
@@ -26221,7 +26241,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26221
26241
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26222
26242
|
*/
|
|
26223
26243
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26224
|
-
/**
|
|
26244
|
+
/**
|
|
26245
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26246
|
+
*
|
|
26247
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26248
|
+
*/
|
|
26225
26249
|
toJSON(): any;
|
|
26226
26250
|
}
|
|
26227
26251
|
|
|
@@ -33419,7 +33443,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33419
33443
|
*/
|
|
33420
33444
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33421
33445
|
/**
|
|
33422
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33446
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33423
33447
|
*
|
|
33424
33448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33425
33449
|
*/
|
|
@@ -34322,12 +34346,6 @@ declare var StorageManager: {
|
|
|
34322
34346
|
new(): StorageManager;
|
|
34323
34347
|
};
|
|
34324
34348
|
|
|
34325
|
-
/** @deprecated */
|
|
34326
|
-
interface StyleMedia {
|
|
34327
|
-
type: string;
|
|
34328
|
-
matchMedium(mediaquery: string): boolean;
|
|
34329
|
-
}
|
|
34330
|
-
|
|
34331
34349
|
/**
|
|
34332
34350
|
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
|
34333
34351
|
*
|
|
@@ -34554,6 +34572,7 @@ interface SubtleCrypto {
|
|
|
34554
34572
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
34555
34573
|
*/
|
|
34556
34574
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
34575
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
34557
34576
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
34558
34577
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
34559
34578
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -347,6 +347,7 @@ interface SubtleCrypto {
|
|
|
347
347
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
348
348
|
*/
|
|
349
349
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
350
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
350
351
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
351
352
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
352
353
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -6245,6 +6245,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6245
6245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
|
|
6246
6246
|
*/
|
|
6247
6247
|
anchorName: string;
|
|
6248
|
+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
|
|
6248
6249
|
anchorScope: string;
|
|
6249
6250
|
/**
|
|
6250
6251
|
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
|
|
@@ -19851,7 +19852,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19851
19852
|
*
|
|
19852
19853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
19853
19854
|
*/
|
|
19854
|
-
selectionDirection:
|
|
19855
|
+
selectionDirection: SelectionDirection;
|
|
19855
19856
|
/**
|
|
19856
19857
|
* The **`selectionEnd`** property of the HTMLTextAreaElement interface specifies the end position of the current text selection in a <textarea> element. It is a number representing the last index of the selected text. It can be used to both retrieve and set the index of the end of a <textarea>s selected text.
|
|
19857
19858
|
*
|
|
@@ -19942,7 +19943,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19942
19943
|
*
|
|
19943
19944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
19944
19945
|
*/
|
|
19945
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
19946
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
19946
19947
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
19947
19948
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
19948
19949
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23815,6 +23816,13 @@ declare var NavigateEvent: {
|
|
|
23815
23816
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23816
23817
|
};
|
|
23817
23818
|
|
|
23819
|
+
interface NavigationEventMap {
|
|
23820
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23821
|
+
"navigate": NavigateEvent;
|
|
23822
|
+
"navigateerror": ErrorEvent;
|
|
23823
|
+
"navigatesuccess": Event;
|
|
23824
|
+
}
|
|
23825
|
+
|
|
23818
23826
|
/**
|
|
23819
23827
|
* 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
23828
|
*
|
|
@@ -23845,6 +23853,14 @@ interface Navigation extends EventTarget {
|
|
|
23845
23853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23846
23854
|
*/
|
|
23847
23855
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23857
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23858
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23859
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23861
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23862
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23863
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23848
23864
|
/**
|
|
23849
23865
|
* 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
23866
|
*
|
|
@@ -23893,6 +23909,10 @@ interface Navigation extends EventTarget {
|
|
|
23893
23909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23894
23910
|
*/
|
|
23895
23911
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23912
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23913
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23914
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23915
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23896
23916
|
}
|
|
23897
23917
|
|
|
23898
23918
|
declare var Navigation: {
|
|
@@ -26242,7 +26262,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26242
26262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26243
26263
|
*/
|
|
26244
26264
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26245
|
-
/**
|
|
26265
|
+
/**
|
|
26266
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26267
|
+
*
|
|
26268
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26269
|
+
*/
|
|
26246
26270
|
toJSON(): any;
|
|
26247
26271
|
}
|
|
26248
26272
|
|
|
@@ -33441,7 +33465,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33441
33465
|
*/
|
|
33442
33466
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33443
33467
|
/**
|
|
33444
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33468
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33445
33469
|
*
|
|
33446
33470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33447
33471
|
*/
|
|
@@ -34344,12 +34368,6 @@ declare var StorageManager: {
|
|
|
34344
34368
|
new(): StorageManager;
|
|
34345
34369
|
};
|
|
34346
34370
|
|
|
34347
|
-
/** @deprecated */
|
|
34348
|
-
interface StyleMedia {
|
|
34349
|
-
type: string;
|
|
34350
|
-
matchMedium(mediaquery: string): boolean;
|
|
34351
|
-
}
|
|
34352
|
-
|
|
34353
34371
|
/**
|
|
34354
34372
|
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
|
34355
34373
|
*
|
|
@@ -34577,6 +34595,7 @@ interface SubtleCrypto {
|
|
|
34577
34595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
34578
34596
|
*/
|
|
34579
34597
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
34598
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
34580
34599
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
34581
34600
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
34582
34601
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.6/iterable.d.ts
CHANGED
|
@@ -363,6 +363,7 @@ interface SubtleCrypto {
|
|
|
363
363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
364
364
|
*/
|
|
365
365
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
366
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
366
367
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
367
368
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
368
369
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -6245,6 +6245,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6245
6245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
|
|
6246
6246
|
*/
|
|
6247
6247
|
anchorName: string;
|
|
6248
|
+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
|
|
6248
6249
|
anchorScope: string;
|
|
6249
6250
|
/**
|
|
6250
6251
|
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
|
|
@@ -19851,7 +19852,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19851
19852
|
*
|
|
19852
19853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
19853
19854
|
*/
|
|
19854
|
-
selectionDirection:
|
|
19855
|
+
selectionDirection: SelectionDirection;
|
|
19855
19856
|
/**
|
|
19856
19857
|
* The **`selectionEnd`** property of the HTMLTextAreaElement interface specifies the end position of the current text selection in a <textarea> element. It is a number representing the last index of the selected text. It can be used to both retrieve and set the index of the end of a <textarea>s selected text.
|
|
19857
19858
|
*
|
|
@@ -19942,7 +19943,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
19942
19943
|
*
|
|
19943
19944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
19944
19945
|
*/
|
|
19945
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
19946
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
19946
19947
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
19947
19948
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
19948
19949
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23815,6 +23816,13 @@ declare var NavigateEvent: {
|
|
|
23815
23816
|
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
|
|
23816
23817
|
};
|
|
23817
23818
|
|
|
23819
|
+
interface NavigationEventMap {
|
|
23820
|
+
"currententrychange": NavigationCurrentEntryChangeEvent;
|
|
23821
|
+
"navigate": NavigateEvent;
|
|
23822
|
+
"navigateerror": ErrorEvent;
|
|
23823
|
+
"navigatesuccess": Event;
|
|
23824
|
+
}
|
|
23825
|
+
|
|
23818
23826
|
/**
|
|
23819
23827
|
* 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
23828
|
*
|
|
@@ -23845,6 +23853,14 @@ interface Navigation extends EventTarget {
|
|
|
23845
23853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
|
|
23846
23854
|
*/
|
|
23847
23855
|
readonly currentEntry: NavigationHistoryEntry | null;
|
|
23856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
|
|
23857
|
+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
|
|
23858
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
|
|
23859
|
+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
|
|
23860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
|
|
23861
|
+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
|
|
23862
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
|
|
23863
|
+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
|
|
23848
23864
|
/**
|
|
23849
23865
|
* 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
23866
|
*
|
|
@@ -23893,6 +23909,10 @@ interface Navigation extends EventTarget {
|
|
|
23893
23909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
|
|
23894
23910
|
*/
|
|
23895
23911
|
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
23912
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23913
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23914
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
23915
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
23896
23916
|
}
|
|
23897
23917
|
|
|
23898
23918
|
declare var Navigation: {
|
|
@@ -26242,7 +26262,11 @@ declare var PerformanceObserverEntryList: {
|
|
|
26242
26262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26243
26263
|
*/
|
|
26244
26264
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26245
|
-
/**
|
|
26265
|
+
/**
|
|
26266
|
+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
|
|
26267
|
+
*
|
|
26268
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
|
|
26269
|
+
*/
|
|
26246
26270
|
toJSON(): any;
|
|
26247
26271
|
}
|
|
26248
26272
|
|
|
@@ -33441,7 +33465,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
33441
33465
|
*/
|
|
33442
33466
|
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
|
|
33443
33467
|
/**
|
|
33444
|
-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33468
|
+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
|
|
33445
33469
|
*
|
|
33446
33470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
|
|
33447
33471
|
*/
|
|
@@ -34344,12 +34368,6 @@ declare var StorageManager: {
|
|
|
34344
34368
|
new(): StorageManager;
|
|
34345
34369
|
};
|
|
34346
34370
|
|
|
34347
|
-
/** @deprecated */
|
|
34348
|
-
interface StyleMedia {
|
|
34349
|
-
type: string;
|
|
34350
|
-
matchMedium(mediaquery: string): boolean;
|
|
34351
|
-
}
|
|
34352
|
-
|
|
34353
34371
|
/**
|
|
34354
34372
|
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
|
34355
34373
|
*
|
|
@@ -34577,6 +34595,7 @@ interface SubtleCrypto {
|
|
|
34577
34595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
34578
34596
|
*/
|
|
34579
34597
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
34598
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
34580
34599
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
34581
34600
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
34582
34601
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.9/iterable.d.ts
CHANGED
|
@@ -363,6 +363,7 @@ interface SubtleCrypto {
|
|
|
363
363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
364
364
|
*/
|
|
365
365
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
366
|
+
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
366
367
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
367
368
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
368
369
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|