Skip to content

Commit

Permalink
fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor (d…
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Mar 9, 2021
1 parent 4cd1f3d commit 1621d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op_crates/webgpu/lib.deno_webgpu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ declare class GPUShaderModule implements GPUObjectBase {
}

declare interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
code: string | Uint32Array;
sourceMap?: any;
}

Expand Down

0 comments on commit 1621d78

Please sign in to comment.