diff --git a/js/web/lib/wasm/jsep/webgpu/ops/common.ts b/js/web/lib/wasm/jsep/webgpu/ops/common.ts index 375a18d4b832e..5fffa2f266603 100644 --- a/js/web/lib/wasm/jsep/webgpu/ops/common.ts +++ b/js/web/lib/wasm/jsep/webgpu/ops/common.ts @@ -213,7 +213,7 @@ export interface IndicesHelper { readonly strides: string; } -export const getWgslMappedType = (type: number, components: 1|2|3|4): string|[string, string] => { +const getWgslMappedType = (type: number, components: 1|2|3|4): string|[string, string] => { if (components === 3) { throw new Error('vec3 has same alignment as vec4, use vec4 instead'); }