Closed NullVoxPopuli closed 6 months ago
There's a merged but unreleased PR in wasm-bindgen that would let us return Result<Vec<Occurence>, JsValue>
directly across the wasm boundary. That would probably cause wasm-bindgen to also generate this type better.
this is resolved as of 1.2.2
right now the type is
any
. A better type might be something like: