@types/web 0.0.325 → 0.0.327
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 +78 -77
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1 -0
- package/ts5.6/index.d.ts +1 -0
- package/ts5.9/index.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.327 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.327.
|
package/index.d.ts
CHANGED
|
@@ -29322,6 +29322,7 @@ interface Range extends AbstractRange {
|
|
|
29322
29322
|
deleteContents(): void;
|
|
29323
29323
|
/**
|
|
29324
29324
|
* The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
|
|
29325
|
+
* @deprecated
|
|
29325
29326
|
*
|
|
29326
29327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
|
|
29327
29328
|
*/
|
|
@@ -43692,7 +43693,7 @@ interface AudioParam {
|
|
|
43692
43693
|
*
|
|
43693
43694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
|
|
43694
43695
|
*/
|
|
43695
|
-
setValueCurveAtTime(values: number
|
|
43696
|
+
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
43696
43697
|
}
|
|
43697
43698
|
|
|
43698
43699
|
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
|
@@ -43704,13 +43705,13 @@ interface BaseAudioContext {
|
|
|
43704
43705
|
*
|
|
43705
43706
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
|
|
43706
43707
|
*/
|
|
43707
|
-
createIIRFilter(feedforward: number
|
|
43708
|
+
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
|
43708
43709
|
/**
|
|
43709
43710
|
* The **`createPeriodicWave()`** method of the BaseAudioContext interface is used to create a PeriodicWave. This wave is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
|
|
43710
43711
|
*
|
|
43711
43712
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
|
|
43712
43713
|
*/
|
|
43713
|
-
createPeriodicWave(real: number
|
|
43714
|
+
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
|
43714
43715
|
}
|
|
43715
43716
|
|
|
43716
43717
|
interface CSSKeyframesRule {
|
|
@@ -43752,17 +43753,17 @@ interface Cache {
|
|
|
43752
43753
|
*
|
|
43753
43754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
|
43754
43755
|
*/
|
|
43755
|
-
addAll(requests: RequestInfo
|
|
43756
|
+
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
43756
43757
|
}
|
|
43757
43758
|
|
|
43758
43759
|
interface CanvasPath {
|
|
43759
43760
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
|
43760
|
-
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit |
|
|
43761
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
43761
43762
|
}
|
|
43762
43763
|
|
|
43763
43764
|
interface CanvasPathDrawingStyles {
|
|
43764
43765
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
|
43765
|
-
setLineDash(segments: number
|
|
43766
|
+
setLineDash(segments: Iterable<number>): void;
|
|
43766
43767
|
}
|
|
43767
43768
|
|
|
43768
43769
|
interface CookieStoreManager {
|
|
@@ -43771,13 +43772,13 @@ interface CookieStoreManager {
|
|
|
43771
43772
|
*
|
|
43772
43773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
|
43773
43774
|
*/
|
|
43774
|
-
subscribe(subscriptions: CookieStoreGetOptions
|
|
43775
|
+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
43775
43776
|
/**
|
|
43776
43777
|
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
|
43777
43778
|
*
|
|
43778
43779
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
|
43779
43780
|
*/
|
|
43780
|
-
unsubscribe(subscriptions: CookieStoreGetOptions
|
|
43781
|
+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
43781
43782
|
}
|
|
43782
43783
|
|
|
43783
43784
|
interface CustomStateSet extends Set<string> {
|
|
@@ -43828,7 +43829,7 @@ interface FormData {
|
|
|
43828
43829
|
|
|
43829
43830
|
interface GPUBindingCommandsMixin {
|
|
43830
43831
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
43831
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset
|
|
43832
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
43832
43833
|
}
|
|
43833
43834
|
|
|
43834
43835
|
interface GPURenderPassEncoder {
|
|
@@ -43837,13 +43838,13 @@ interface GPURenderPassEncoder {
|
|
|
43837
43838
|
*
|
|
43838
43839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles)
|
|
43839
43840
|
*/
|
|
43840
|
-
executeBundles(bundles: GPURenderBundle
|
|
43841
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
43841
43842
|
/**
|
|
43842
43843
|
* The **`setBlendConstant()`** method of the GPURenderPassEncoder interface sets the constant blend color and alpha values used with "constant" and "one-minus-constant" blend factors (as set in the descriptor of the GPUDevice.createRenderPipeline() method, in the blend property).
|
|
43843
43844
|
*
|
|
43844
43845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant)
|
|
43845
43846
|
*/
|
|
43846
|
-
setBlendConstant(color: number
|
|
43847
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
43847
43848
|
}
|
|
43848
43849
|
|
|
43849
43850
|
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
@@ -43895,7 +43896,7 @@ interface IDBDatabase {
|
|
|
43895
43896
|
*
|
|
43896
43897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
43897
43898
|
*/
|
|
43898
|
-
transaction(storeNames: string | string
|
|
43899
|
+
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
43899
43900
|
}
|
|
43900
43901
|
|
|
43901
43902
|
interface IDBObjectStore {
|
|
@@ -43904,7 +43905,7 @@ interface IDBObjectStore {
|
|
|
43904
43905
|
*
|
|
43905
43906
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
43906
43907
|
*/
|
|
43907
|
-
createIndex(name: string, keyPath: string | string
|
|
43908
|
+
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
43908
43909
|
}
|
|
43909
43910
|
|
|
43910
43911
|
interface ImageTrackList {
|
|
@@ -43920,7 +43921,7 @@ interface MIDIOutput {
|
|
|
43920
43921
|
*
|
|
43921
43922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)
|
|
43922
43923
|
*/
|
|
43923
|
-
send(data: number
|
|
43924
|
+
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
|
43924
43925
|
}
|
|
43925
43926
|
|
|
43926
43927
|
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
|
@@ -43943,7 +43944,7 @@ interface MediaList {
|
|
|
43943
43944
|
|
|
43944
43945
|
interface MessageEvent<T = any> {
|
|
43945
43946
|
/** @deprecated */
|
|
43946
|
-
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort
|
|
43947
|
+
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
43947
43948
|
}
|
|
43948
43949
|
|
|
43949
43950
|
interface MimeTypeArray {
|
|
@@ -43961,13 +43962,13 @@ interface Navigator {
|
|
|
43961
43962
|
*
|
|
43962
43963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
|
|
43963
43964
|
*/
|
|
43964
|
-
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration
|
|
43965
|
+
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
|
43965
43966
|
/**
|
|
43966
43967
|
* The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
|
|
43967
43968
|
*
|
|
43968
43969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)
|
|
43969
43970
|
*/
|
|
43970
|
-
vibrate(pattern: number
|
|
43971
|
+
vibrate(pattern: Iterable<number>): boolean;
|
|
43971
43972
|
}
|
|
43972
43973
|
|
|
43973
43974
|
interface NodeList {
|
|
@@ -44004,7 +44005,7 @@ interface RTCRtpTransceiver {
|
|
|
44004
44005
|
*
|
|
44005
44006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)
|
|
44006
44007
|
*/
|
|
44007
|
-
setCodecPreferences(codecs: RTCRtpCodec
|
|
44008
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
|
|
44008
44009
|
}
|
|
44009
44010
|
|
|
44010
44011
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
|
@@ -44047,10 +44048,10 @@ interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinI
|
|
|
44047
44048
|
}
|
|
44048
44049
|
|
|
44049
44050
|
interface StylePropertyMapReadOnly {
|
|
44050
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue
|
|
44051
|
-
entries(): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue
|
|
44051
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
44052
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
44052
44053
|
keys(): StylePropertyMapReadOnlyIterator<string>;
|
|
44053
|
-
values(): StylePropertyMapReadOnlyIterator<CSSStyleValue
|
|
44054
|
+
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
|
44054
44055
|
}
|
|
44055
44056
|
|
|
44056
44057
|
interface StyleSheetList {
|
|
@@ -44063,7 +44064,7 @@ interface SubtleCrypto {
|
|
|
44063
44064
|
*
|
|
44064
44065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
|
44065
44066
|
*/
|
|
44066
|
-
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage
|
|
44067
|
+
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44067
44068
|
/**
|
|
44068
44069
|
* The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
|
|
44069
44070
|
*
|
|
@@ -44073,20 +44074,20 @@ interface SubtleCrypto {
|
|
|
44073
44074
|
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
44074
44075
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
44075
44076
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
44076
|
-
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage
|
|
44077
|
+
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
44077
44078
|
/**
|
|
44078
44079
|
* The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
|
|
44079
44080
|
*
|
|
44080
44081
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
|
44081
44082
|
*/
|
|
44082
44083
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
44083
|
-
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage
|
|
44084
|
+
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44084
44085
|
/**
|
|
44085
44086
|
* The **`unwrapKey()`** method of the SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web Crypto API.
|
|
44086
44087
|
*
|
|
44087
44088
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
|
44088
44089
|
*/
|
|
44089
|
-
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage
|
|
44090
|
+
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44090
44091
|
}
|
|
44091
44092
|
|
|
44092
44093
|
interface TextTrackCueList {
|
|
@@ -44124,7 +44125,7 @@ interface WEBGL_draw_buffers {
|
|
|
44124
44125
|
*
|
|
44125
44126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
|
44126
44127
|
*/
|
|
44127
|
-
drawBuffersWEBGL(buffers: GLenum
|
|
44128
|
+
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
44128
44129
|
}
|
|
44129
44130
|
|
|
44130
44131
|
interface WEBGL_multi_draw {
|
|
@@ -44133,25 +44134,25 @@ interface WEBGL_multi_draw {
|
|
|
44133
44134
|
*
|
|
44134
44135
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
|
44135
44136
|
*/
|
|
44136
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint
|
|
44137
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
44137
44138
|
/**
|
|
44138
44139
|
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArrays() method.
|
|
44139
44140
|
*
|
|
44140
44141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
|
44141
44142
|
*/
|
|
44142
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint
|
|
44143
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
44143
44144
|
/**
|
|
44144
44145
|
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElementsInstanced() method.
|
|
44145
44146
|
*
|
|
44146
44147
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
|
44147
44148
|
*/
|
|
44148
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei
|
|
44149
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
44149
44150
|
/**
|
|
44150
44151
|
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElements() method.
|
|
44151
44152
|
*
|
|
44152
44153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
|
44153
44154
|
*/
|
|
44154
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei
|
|
44155
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
44155
44156
|
}
|
|
44156
44157
|
|
|
44157
44158
|
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
@@ -44159,108 +44160,108 @@ interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
|
44159
44160
|
|
|
44160
44161
|
interface WebGL2RenderingContextBase {
|
|
44161
44162
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44162
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: GLfloat
|
|
44163
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|
|
44163
44164
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44164
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: GLint
|
|
44165
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
|
|
44165
44166
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44166
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: GLuint
|
|
44167
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
|
|
44167
44168
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
|
44168
|
-
drawBuffers(buffers: GLenum
|
|
44169
|
+
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
44169
44170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
44170
|
-
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint
|
|
44171
|
+
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
44171
44172
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
44172
|
-
getUniformIndices(program: WebGLProgram, uniformNames: string
|
|
44173
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
|
|
44173
44174
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
44174
|
-
invalidateFramebuffer(target: GLenum, attachments: GLenum
|
|
44175
|
+
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
44175
44176
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
|
44176
|
-
invalidateSubFramebuffer(target: GLenum, attachments: GLenum
|
|
44177
|
+
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
|
44177
44178
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
44178
|
-
transformFeedbackVaryings(program: WebGLProgram, varyings: string
|
|
44179
|
+
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
|
44179
44180
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44180
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44181
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44181
44182
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44182
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44183
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44183
44184
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44184
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44185
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44185
44186
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44186
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44187
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44187
44188
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44188
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44189
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44189
44190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44190
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44191
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44191
44192
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44192
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44193
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44193
44194
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44194
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44195
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44195
44196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44196
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44197
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44197
44198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44198
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44199
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44199
44200
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
44200
|
-
vertexAttribI4iv(index: GLuint, values: GLint
|
|
44201
|
+
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
|
44201
44202
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
44202
|
-
vertexAttribI4uiv(index: GLuint, values: GLuint
|
|
44203
|
+
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
|
44203
44204
|
}
|
|
44204
44205
|
|
|
44205
44206
|
interface WebGL2RenderingContextOverloads {
|
|
44206
44207
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44207
|
-
uniform1fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44208
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44208
44209
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44209
|
-
uniform1iv(location: WebGLUniformLocation | null, data: GLint
|
|
44210
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44210
44211
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44211
|
-
uniform2fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44212
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44212
44213
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44213
|
-
uniform2iv(location: WebGLUniformLocation | null, data: GLint
|
|
44214
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44214
44215
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44215
|
-
uniform3fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44216
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44216
44217
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44217
|
-
uniform3iv(location: WebGLUniformLocation | null, data: GLint
|
|
44218
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44218
44219
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44219
|
-
uniform4fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44220
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44220
44221
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44221
|
-
uniform4iv(location: WebGLUniformLocation | null, data: GLint
|
|
44222
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44222
44223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44223
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44224
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44224
44225
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44225
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44226
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44226
44227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44227
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44228
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44228
44229
|
}
|
|
44229
44230
|
|
|
44230
44231
|
interface WebGLRenderingContextBase {
|
|
44231
44232
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44232
|
-
vertexAttrib1fv(index: GLuint, values: GLfloat
|
|
44233
|
+
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44233
44234
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44234
|
-
vertexAttrib2fv(index: GLuint, values: GLfloat
|
|
44235
|
+
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44235
44236
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44236
|
-
vertexAttrib3fv(index: GLuint, values: GLfloat
|
|
44237
|
+
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44237
44238
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44238
|
-
vertexAttrib4fv(index: GLuint, values: GLfloat
|
|
44239
|
+
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44239
44240
|
}
|
|
44240
44241
|
|
|
44241
44242
|
interface WebGLRenderingContextOverloads {
|
|
44242
44243
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44243
|
-
uniform1fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44244
|
+
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44244
44245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44245
|
-
uniform1iv(location: WebGLUniformLocation | null, v: GLint
|
|
44246
|
+
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44246
44247
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44247
|
-
uniform2fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44248
|
+
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44248
44249
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44249
|
-
uniform2iv(location: WebGLUniformLocation | null, v: GLint
|
|
44250
|
+
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44250
44251
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44251
|
-
uniform3fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44252
|
+
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44252
44253
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44253
|
-
uniform3iv(location: WebGLUniformLocation | null, v: GLint
|
|
44254
|
+
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44254
44255
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44255
|
-
uniform4fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44256
|
+
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44256
44257
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44257
|
-
uniform4iv(location: WebGLUniformLocation | null, v: GLint
|
|
44258
|
+
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44258
44259
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44259
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44260
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44260
44261
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44261
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44262
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44262
44263
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44263
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44264
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44264
44265
|
}
|
|
44265
44266
|
|
|
44266
44267
|
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -29298,6 +29298,7 @@ interface Range extends AbstractRange {
|
|
|
29298
29298
|
deleteContents(): void;
|
|
29299
29299
|
/**
|
|
29300
29300
|
* The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
|
|
29301
|
+
* @deprecated
|
|
29301
29302
|
*
|
|
29302
29303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
|
|
29303
29304
|
*/
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -29319,6 +29319,7 @@ interface Range extends AbstractRange {
|
|
|
29319
29319
|
deleteContents(): void;
|
|
29320
29320
|
/**
|
|
29321
29321
|
* The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
|
|
29322
|
+
* @deprecated
|
|
29322
29323
|
*
|
|
29323
29324
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
|
|
29324
29325
|
*/
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -29319,6 +29319,7 @@ interface Range extends AbstractRange {
|
|
|
29319
29319
|
deleteContents(): void;
|
|
29320
29320
|
/**
|
|
29321
29321
|
* The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
|
|
29322
|
+
* @deprecated
|
|
29322
29323
|
*
|
|
29323
29324
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
|
|
29324
29325
|
*/
|