diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2024-04-24 05:54:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 22:54:19 +0200 |
commit | aff7a64544ee72069049a5429d625b10e4b390a6 (patch) | |
tree | 131db61489f64925daa49dcb6bdf645242e15f79 /ext/web/06_streams.js | |
parent | ae62443ae037cf70eba3770699e82224d064229b (diff) |
fix: Float16Array support (#23512)
Ref #23490, #23277
* remove `--js-float16array` flag (This flag has already added to
deno_core)
* add some `Float16Array` support
Diffstat (limited to 'ext/web/06_streams.js')
-rw-r--r-- | ext/web/06_streams.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index cdee1a9dc..e0e3ccbbe 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -1995,6 +1995,10 @@ function readableByteStreamControllerPullInto( case "Uint32Array": ctor = Uint32Array; break; + case "Float16Array": + // TODO(petamoriken): add Float16Array to primordials + ctor = Float16Array; + break; case "Float32Array": ctor = Float32Array; break; |