@types/serviceworker 0.0.102 → 0.0.104
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 +1198 -2
- package/iterable.d.ts +36 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1198 -2
- package/ts5.5/iterable.d.ts +36 -0
package/iterable.d.ts
CHANGED
|
@@ -63,6 +63,39 @@ interface FormData {
|
|
|
63
63
|
values(): FormDataIterator<FormDataEntryValue>;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
interface GPUBindingCommandsMixin {
|
|
67
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
68
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface GPUCommandEncoder {
|
|
72
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
73
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
74
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
75
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
76
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
77
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface GPUQueue {
|
|
81
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
82
|
+
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
83
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
84
|
+
submit(commandBuffers: Iterable<GPUCommandBuffer>): void;
|
|
85
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
86
|
+
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
interface GPURenderPassEncoder {
|
|
90
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
91
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
92
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
93
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
97
|
+
}
|
|
98
|
+
|
|
66
99
|
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
67
100
|
[Symbol.iterator](): HeadersIterator<T>;
|
|
68
101
|
}
|
|
@@ -158,6 +191,9 @@ interface WEBGL_multi_draw {
|
|
|
158
191
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
159
192
|
}
|
|
160
193
|
|
|
194
|
+
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
195
|
+
}
|
|
196
|
+
|
|
161
197
|
interface WebGL2RenderingContextBase {
|
|
162
198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
163
199
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|