diff --git a/js/web/lib/wasm/jsep/webgpu/ops/common.ts b/js/web/lib/wasm/jsep/webgpu/ops/common.ts index 17fc4aa0a390f..5ef8fa5bcbf37 100644 --- a/js/web/lib/wasm/jsep/webgpu/ops/common.ts +++ b/js/web/lib/wasm/jsep/webgpu/ops/common.ts @@ -782,7 +782,7 @@ class ShaderHelperImpl implements ShaderHelper { } use(helperLike: {impl: () => string}): ShaderHelper { - this.helpers.push(helperLike as IndicesHelper); + this.helpers.push(helperLike); return this; }