@types/web 0.0.73 → 0.0.74
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 +39 -3
- package/iterable.d.ts +4 -0
- package/package.json +1 -1
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.74 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.74.
|
package/index.d.ts
CHANGED
|
@@ -2184,7 +2184,7 @@ declare var AnimationPlaybackEvent: {
|
|
|
2184
2184
|
};
|
|
2185
2185
|
|
|
2186
2186
|
interface AnimationTimeline {
|
|
2187
|
-
readonly currentTime:
|
|
2187
|
+
readonly currentTime: CSSNumberish | null;
|
|
2188
2188
|
}
|
|
2189
2189
|
|
|
2190
2190
|
declare var AnimationTimeline: {
|
|
@@ -2437,6 +2437,8 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2437
2437
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2438
2438
|
readonly attestationObject: ArrayBuffer;
|
|
2439
2439
|
getAuthenticatorData(): ArrayBuffer;
|
|
2440
|
+
getPublicKey(): ArrayBuffer | null;
|
|
2441
|
+
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2440
2442
|
getTransports(): string[];
|
|
2441
2443
|
}
|
|
2442
2444
|
|
|
@@ -2636,6 +2638,14 @@ declare var CSSConditionRule: {
|
|
|
2636
2638
|
new(): CSSConditionRule;
|
|
2637
2639
|
};
|
|
2638
2640
|
|
|
2641
|
+
interface CSSContainerRule extends CSSConditionRule {
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
declare var CSSContainerRule: {
|
|
2645
|
+
prototype: CSSContainerRule;
|
|
2646
|
+
new(): CSSContainerRule;
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2639
2649
|
interface CSSCounterStyleRule extends CSSRule {
|
|
2640
2650
|
additiveSymbols: string;
|
|
2641
2651
|
fallback: string;
|
|
@@ -2945,6 +2955,9 @@ interface CSSStyleDeclaration {
|
|
|
2945
2955
|
columnWidth: string;
|
|
2946
2956
|
columns: string;
|
|
2947
2957
|
contain: string;
|
|
2958
|
+
container: string;
|
|
2959
|
+
containerName: string;
|
|
2960
|
+
containerType: string;
|
|
2948
2961
|
content: string;
|
|
2949
2962
|
counterIncrement: string;
|
|
2950
2963
|
counterReset: string;
|
|
@@ -3013,6 +3026,7 @@ interface CSSStyleDeclaration {
|
|
|
3013
3026
|
gridTemplateColumns: string;
|
|
3014
3027
|
gridTemplateRows: string;
|
|
3015
3028
|
height: string;
|
|
3029
|
+
hyphenateCharacter: string;
|
|
3016
3030
|
hyphens: string;
|
|
3017
3031
|
/** @deprecated */
|
|
3018
3032
|
imageOrientation: string;
|
|
@@ -3546,6 +3560,7 @@ interface CanvasPath {
|
|
|
3546
3560
|
moveTo(x: number, y: number): void;
|
|
3547
3561
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
3548
3562
|
rect(x: number, y: number, w: number, h: number): void;
|
|
3563
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
|
3549
3564
|
}
|
|
3550
3565
|
|
|
3551
3566
|
interface CanvasPathDrawingStyles {
|
|
@@ -4952,6 +4967,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
4952
4967
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
4953
4968
|
}
|
|
4954
4969
|
|
|
4970
|
+
interface EXT_texture_norm16 {
|
|
4971
|
+
readonly R16_EXT: GLenum;
|
|
4972
|
+
readonly R16_SNORM_EXT: GLenum;
|
|
4973
|
+
readonly RG16_EXT: GLenum;
|
|
4974
|
+
readonly RG16_SNORM_EXT: GLenum;
|
|
4975
|
+
readonly RGB16_EXT: GLenum;
|
|
4976
|
+
readonly RGB16_SNORM_EXT: GLenum;
|
|
4977
|
+
readonly RGBA16_EXT: GLenum;
|
|
4978
|
+
readonly RGBA16_SNORM_EXT: GLenum;
|
|
4979
|
+
}
|
|
4980
|
+
|
|
4955
4981
|
interface ElementEventMap {
|
|
4956
4982
|
"fullscreenchange": Event;
|
|
4957
4983
|
"fullscreenerror": Event;
|
|
@@ -8875,13 +8901,13 @@ declare var IDBObjectStore: {
|
|
|
8875
8901
|
};
|
|
8876
8902
|
|
|
8877
8903
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
8878
|
-
"blocked":
|
|
8904
|
+
"blocked": IDBVersionChangeEvent;
|
|
8879
8905
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
8880
8906
|
}
|
|
8881
8907
|
|
|
8882
8908
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
8883
8909
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
8884
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
8910
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8885
8911
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8886
8912
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8887
8913
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10241,6 +10267,16 @@ declare var Notification: {
|
|
|
10241
10267
|
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
|
|
10242
10268
|
};
|
|
10243
10269
|
|
|
10270
|
+
interface OES_draw_buffers_indexed {
|
|
10271
|
+
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
10272
|
+
blendEquationiOES(buf: GLuint, mode: GLenum): void;
|
|
10273
|
+
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
|
|
10274
|
+
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
|
|
10275
|
+
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
|
|
10276
|
+
disableiOES(target: GLenum, index: GLuint): void;
|
|
10277
|
+
enableiOES(target: GLenum, index: GLuint): void;
|
|
10278
|
+
}
|
|
10279
|
+
|
|
10244
10280
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
10245
10281
|
interface OES_element_index_uint {
|
|
10246
10282
|
}
|
package/iterable.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ interface Cache {
|
|
|
26
26
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
interface CanvasPath {
|
|
30
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
interface CanvasPathDrawingStyles {
|
|
30
34
|
setLineDash(segments: Iterable<number>): void;
|
|
31
35
|
}
|