summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrowlKats <13135287+crowlKats@users.noreply.github.com>2021-03-09 17:43:58 +0100
committerGitHub <noreply@github.com>2021-03-09 11:43:58 -0500
commit1621d7862393e4bcd6a1ecb46544a02981fd3411 (patch)
treefceec0439079d24aca821a3be47f77b93584b8d4
parent4cd1f3d2b22f0e425f42cb45fd0df50f05533b39 (diff)
fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor (#9730)
-rw-r--r--op_crates/webgpu/lib.deno_webgpu.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/op_crates/webgpu/lib.deno_webgpu.d.ts b/op_crates/webgpu/lib.deno_webgpu.d.ts
index cd2680b3d..bb5da20d6 100644
--- a/op_crates/webgpu/lib.deno_webgpu.d.ts
+++ b/op_crates/webgpu/lib.deno_webgpu.d.ts
@@ -460,7 +460,7 @@ declare class GPUShaderModule implements GPUObjectBase {
}
declare interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
- code: string;
+ code: string | Uint32Array;
sourceMap?: any;
}