@types/serviceworker 0.0.103 → 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 +1196 -2
- package/iterable.d.ts +36 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1196 -2
- package/ts5.5/iterable.d.ts +36 -0
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -59,6 +59,39 @@ interface FormData {
|
|
|
59
59
|
values(): IterableIterator<FormDataEntryValue>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
interface GPUBindingCommandsMixin {
|
|
63
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
64
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
interface GPUCommandEncoder {
|
|
68
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
69
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
70
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
71
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
72
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
73
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface GPUQueue {
|
|
77
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
78
|
+
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
79
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
80
|
+
submit(commandBuffers: Iterable<GPUCommandBuffer>): void;
|
|
81
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
82
|
+
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface GPURenderPassEncoder {
|
|
86
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
87
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
88
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
89
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
93
|
+
}
|
|
94
|
+
|
|
62
95
|
interface Headers {
|
|
63
96
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
64
97
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
@@ -142,6 +175,9 @@ interface WEBGL_multi_draw {
|
|
|
142
175
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
143
176
|
}
|
|
144
177
|
|
|
178
|
+
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
179
|
+
}
|
|
180
|
+
|
|
145
181
|
interface WebGL2RenderingContextBase {
|
|
146
182
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
147
183
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|