@stencil/core 4.38.3-dev.1762750959.bede52f → 4.38.3-dev.1762795767.192e568
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/lib.decorators.d.ts +15 -13
- package/compiler/lib.dom.asynciterable.d.ts +6 -14
- package/compiler/lib.dom.d.ts +5094 -15927
- package/compiler/lib.dom.iterable.d.ts +111 -207
- package/compiler/lib.es2015.core.d.ts +9 -9
- package/compiler/lib.es2015.generator.d.ts +2 -2
- package/compiler/lib.es2015.iterable.d.ts +104 -214
- package/compiler/lib.es2015.symbol.wellknown.d.ts +11 -11
- package/compiler/lib.es2016.array.include.d.ts +9 -9
- package/compiler/lib.es2016.intl.d.ts +1 -1
- package/compiler/lib.es2017.d.ts +2 -3
- package/compiler/lib.es2017.object.d.ts +4 -4
- package/compiler/lib.es2017.sharedmemory.d.ts +15 -15
- package/compiler/lib.es2017.typedarrays.d.ts +9 -9
- package/compiler/lib.es2018.asyncgenerator.d.ts +2 -2
- package/compiler/lib.es2018.asynciterable.d.ts +6 -16
- package/compiler/lib.es2020.bigint.d.ts +62 -100
- package/compiler/lib.es2020.intl.d.ts +36 -36
- package/compiler/lib.es2020.sharedmemory.d.ts +11 -13
- package/compiler/lib.es2020.string.d.ts +1 -3
- package/compiler/lib.es2020.symbol.wellknown.d.ts +1 -5
- package/compiler/lib.es2021.intl.d.ts +17 -17
- package/compiler/lib.es2021.weakref.d.ts +0 -2
- package/compiler/lib.es2022.array.d.ts +11 -11
- package/compiler/lib.es2022.d.ts +2 -1
- package/compiler/lib.es2022.error.d.ts +0 -2
- package/compiler/lib.es2022.intl.d.ts +11 -39
- package/compiler/{lib.es2024.sharedmemory.d.ts → lib.es2022.sharedmemory.d.ts} +0 -29
- package/compiler/lib.es2023.array.d.ts +79 -79
- package/compiler/lib.es5.d.ts +305 -321
- package/compiler/lib.esnext.array.d.ts +1 -1
- package/compiler/lib.esnext.collection.d.ts +11 -1
- package/compiler/lib.esnext.d.ts +5 -6
- package/compiler/lib.esnext.disposable.d.ts +0 -8
- package/compiler/lib.esnext.promise.d.ts +12 -11
- package/compiler/lib.webworker.asynciterable.d.ts +6 -14
- package/compiler/lib.webworker.d.ts +1393 -5112
- package/compiler/lib.webworker.iterable.d.ts +61 -125
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +15142 -20586
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +2 -2
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/screenshot/screenshot-fs.d.ts +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
- package/compiler/lib.es2017.arraybuffer.d.ts +0 -21
- package/compiler/lib.es2024.arraybuffer.d.ts +0 -65
- package/compiler/lib.es2024.collection.d.ts +0 -29
- package/compiler/lib.es2024.d.ts +0 -26
- package/compiler/lib.es2024.full.d.ts +0 -24
- package/compiler/lib.es2024.promise.d.ts +0 -35
- package/compiler/lib.esnext.error.d.ts +0 -24
- package/compiler/lib.esnext.float16.d.ts +0 -445
- package/compiler/lib.esnext.iterator.d.ts +0 -148
- package/compiler/lib.esnext.sharedmemory.d.ts +0 -25
- /package/compiler/{lib.es2024.object.d.ts → lib.esnext.object.d.ts} +0 -0
- /package/compiler/{lib.es2024.regexp.d.ts → lib.esnext.regexp.d.ts} +0 -0
- /package/compiler/{lib.es2024.string.d.ts → lib.esnext.string.d.ts} +0 -0
|
@@ -20,33 +20,34 @@ and limitations under the License.
|
|
|
20
20
|
/// Worker Iterable APIs
|
|
21
21
|
/////////////////////////////
|
|
22
22
|
|
|
23
|
+
interface AbortSignal {
|
|
24
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
25
|
+
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
interface CSSNumericArray {
|
|
24
|
-
[Symbol.iterator]():
|
|
25
|
-
entries():
|
|
26
|
-
keys():
|
|
27
|
-
values():
|
|
29
|
+
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
|
30
|
+
entries(): IterableIterator<[number, CSSNumericValue]>;
|
|
31
|
+
keys(): IterableIterator<number>;
|
|
32
|
+
values(): IterableIterator<CSSNumericValue>;
|
|
28
33
|
}
|
|
29
34
|
|
|
30
35
|
interface CSSTransformValue {
|
|
31
|
-
[Symbol.iterator]():
|
|
32
|
-
entries():
|
|
33
|
-
keys():
|
|
34
|
-
values():
|
|
36
|
+
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
|
37
|
+
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
|
38
|
+
keys(): IterableIterator<number>;
|
|
39
|
+
values(): IterableIterator<CSSTransformComponent>;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
interface CSSUnparsedValue {
|
|
38
|
-
[Symbol.iterator]():
|
|
39
|
-
entries():
|
|
40
|
-
keys():
|
|
41
|
-
values():
|
|
43
|
+
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
|
44
|
+
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
|
45
|
+
keys(): IterableIterator<number>;
|
|
46
|
+
values(): IterableIterator<CSSUnparsedSegment>;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
interface Cache {
|
|
45
|
-
/**
|
|
46
|
-
* The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
|
|
47
|
-
*
|
|
48
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
|
49
|
-
*/
|
|
50
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
|
50
51
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -60,63 +61,40 @@ interface CanvasPathDrawingStyles {
|
|
|
60
61
|
setLineDash(segments: Iterable<number>): void;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
interface CookieStoreManager {
|
|
64
|
-
/**
|
|
65
|
-
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
|
|
66
|
-
*
|
|
67
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
|
68
|
-
*/
|
|
69
|
-
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
70
|
-
/**
|
|
71
|
-
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
|
72
|
-
*
|
|
73
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
|
74
|
-
*/
|
|
75
|
-
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
64
|
interface DOMStringList {
|
|
79
|
-
[Symbol.iterator]():
|
|
65
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
80
66
|
}
|
|
81
67
|
|
|
82
68
|
interface FileList {
|
|
83
|
-
[Symbol.iterator]():
|
|
69
|
+
[Symbol.iterator](): IterableIterator<File>;
|
|
84
70
|
}
|
|
85
71
|
|
|
86
72
|
interface FontFaceSet extends Set<FontFace> {
|
|
87
73
|
}
|
|
88
74
|
|
|
89
|
-
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
90
|
-
[Symbol.iterator](): FormDataIterator<T>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
75
|
interface FormData {
|
|
94
|
-
[Symbol.iterator]():
|
|
76
|
+
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
95
77
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
96
|
-
entries():
|
|
78
|
+
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
97
79
|
/** Returns a list of keys in the list. */
|
|
98
|
-
keys():
|
|
80
|
+
keys(): IterableIterator<string>;
|
|
99
81
|
/** Returns a list of values in the list. */
|
|
100
|
-
values():
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
104
|
-
[Symbol.iterator](): HeadersIterator<T>;
|
|
82
|
+
values(): IterableIterator<FormDataEntryValue>;
|
|
105
83
|
}
|
|
106
84
|
|
|
107
85
|
interface Headers {
|
|
108
|
-
[Symbol.iterator]():
|
|
86
|
+
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
109
87
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
110
|
-
entries():
|
|
88
|
+
entries(): IterableIterator<[string, string]>;
|
|
111
89
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
112
|
-
keys():
|
|
90
|
+
keys(): IterableIterator<string>;
|
|
113
91
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
114
|
-
values():
|
|
92
|
+
values(): IterableIterator<string>;
|
|
115
93
|
}
|
|
116
94
|
|
|
117
95
|
interface IDBDatabase {
|
|
118
96
|
/**
|
|
119
|
-
*
|
|
97
|
+
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
120
98
|
*
|
|
121
99
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
122
100
|
*/
|
|
@@ -125,112 +103,70 @@ interface IDBDatabase {
|
|
|
125
103
|
|
|
126
104
|
interface IDBObjectStore {
|
|
127
105
|
/**
|
|
128
|
-
*
|
|
106
|
+
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
|
107
|
+
*
|
|
108
|
+
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
129
109
|
*
|
|
130
110
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
131
111
|
*/
|
|
132
112
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
133
113
|
}
|
|
134
114
|
|
|
135
|
-
interface ImageTrackList {
|
|
136
|
-
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
115
|
interface MessageEvent<T = any> {
|
|
140
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated
|
|
118
|
+
*
|
|
119
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
120
|
+
*/
|
|
141
121
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
142
122
|
}
|
|
143
123
|
|
|
144
|
-
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
145
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
124
|
interface StylePropertyMapReadOnly {
|
|
149
|
-
[Symbol.iterator]():
|
|
150
|
-
entries():
|
|
151
|
-
keys():
|
|
152
|
-
values():
|
|
125
|
+
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
126
|
+
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
127
|
+
keys(): IterableIterator<string>;
|
|
128
|
+
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
|
153
129
|
}
|
|
154
130
|
|
|
155
131
|
interface SubtleCrypto {
|
|
156
|
-
/**
|
|
157
|
-
* The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
|
|
158
|
-
*
|
|
159
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
|
160
|
-
*/
|
|
132
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
161
133
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
162
|
-
/**
|
|
163
|
-
|
|
164
|
-
*
|
|
165
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
|
166
|
-
*/
|
|
167
|
-
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
134
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
135
|
+
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
168
136
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
169
137
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
170
138
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
171
|
-
/**
|
|
172
|
-
* 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.
|
|
173
|
-
*
|
|
174
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
|
175
|
-
*/
|
|
139
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
|
176
140
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
177
141
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
178
|
-
/**
|
|
179
|
-
* The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
|
|
180
|
-
*
|
|
181
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
|
182
|
-
*/
|
|
142
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
|
183
143
|
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>;
|
|
184
144
|
}
|
|
185
145
|
|
|
186
|
-
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
187
|
-
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
146
|
interface URLSearchParams {
|
|
191
|
-
[Symbol.iterator]():
|
|
147
|
+
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
192
148
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
193
|
-
entries():
|
|
149
|
+
entries(): IterableIterator<[string, string]>;
|
|
194
150
|
/** Returns a list of keys in the search params. */
|
|
195
|
-
keys():
|
|
151
|
+
keys(): IterableIterator<string>;
|
|
196
152
|
/** Returns a list of values in the search params. */
|
|
197
|
-
values():
|
|
153
|
+
values(): IterableIterator<string>;
|
|
198
154
|
}
|
|
199
155
|
|
|
200
156
|
interface WEBGL_draw_buffers {
|
|
201
|
-
/**
|
|
202
|
-
* The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
|
|
203
|
-
*
|
|
204
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
|
205
|
-
*/
|
|
157
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
206
158
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
207
159
|
}
|
|
208
160
|
|
|
209
161
|
interface WEBGL_multi_draw {
|
|
210
|
-
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
|
|
218
|
-
*
|
|
219
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
|
220
|
-
*/
|
|
221
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
222
|
-
/**
|
|
223
|
-
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
224
|
-
*
|
|
225
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
|
226
|
-
*/
|
|
227
|
-
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;
|
|
228
|
-
/**
|
|
229
|
-
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
230
|
-
*
|
|
231
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
|
232
|
-
*/
|
|
233
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
162
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
163
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
164
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
165
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
166
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
167
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
168
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
169
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
234
170
|
}
|
|
235
171
|
|
|
236
172
|
interface WebGL2RenderingContextBase {
|
|
@@ -245,7 +181,7 @@ interface WebGL2RenderingContextBase {
|
|
|
245
181
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
246
182
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
247
183
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
248
|
-
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint
|
|
184
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
|
249
185
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
250
186
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
251
187
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
|
@@ -295,7 +231,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
295
231
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
296
232
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
297
233
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
298
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
299
235
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
300
236
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
301
237
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|