onnxruntime/js/web/script
Yulong Wang 586f06f5a1
[js/web] set noUnusedParameters to true and fix a few bugs (#18404)
### Description
- set tsconfig "noUnusedParameters" to `true` and fix a few bugs
discovered by typescript.
   how unused parameter is fixed:
- for most code (webgl), add underscore as prefix, which is the standard
ignore pattern for typescript check.
- remove unused parameter from function and modify corresponding
function calls (jsep)
- fix a bug in ArgMinMax: this 2 operators do not have more than one
input(s) so the `createArgMinMaxAttributesFromInputs()` is removed.
- add proxy main.ts into typescript check and fix a bug in parameter
passing
   - fixed `run()` function call and add typecheck fix (hack)
2023-11-15 09:16:29 -08:00
..
build.ts Add "glue" between training WASM artifacts and training web (#17474) 2023-10-12 11:16:56 -07:00
generate-webgl-operator-md.ts [js/webgpu] generate operator table for webgpu (#15954) 2023-05-20 12:20:41 -07:00
generate-webgpu-operator-md.ts [JS/WebGPU] Add Resize operator (#16680) 2023-07-31 09:35:06 -07:00
parse-profiler.ts
prepack.ts [js] update prepack script to use exact version (#17484) 2023-09-13 00:07:16 -07:00
pull-prebuilt-wasm-artifacts.ts Add training WASM generation to Web CI pipeline (#17319) 2023-09-08 15:49:47 -07:00
test-runner-cli-args.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
test-runner-cli.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
tsconfig.json [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00