Skip to content

Commit

Permalink
fix(leb128): add type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Nov 22, 2019
1 parent 39061dc commit 18a4380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/leb128/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (hasWASM()) {
const inst = new WebAssembly.Instance(
new WebAssembly.Module(new Uint8Array([...base64Decode(BINARY)]))
);
wasm = inst.exports;
wasm = <any>inst.exports;
// mapped view of the data buffer
U8 = new Uint8Array(wasm.memory.buffer, wasm.buf, 16);
}
Expand Down

0 comments on commit 18a4380

Please sign in to comment.