mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 09:14:01 +00:00
test[typescript]: add IByteBuffer interface to ByteBuffer
This commit is contained in:
1 parent
d71e3d1d8d
commit
e2fc5eef97
1 file changed
+1
@@ -13,6 +13,7 @@ type WasmExports = {
|
||||
let wasm: WasmExports;
|
||||
|
||||
try {
|
||||
// nodejs环境无法使用
|
||||
wasm = new WebAssembly.Instance(
|
||||
new WebAssembly.Module(
|
||||
new Uint8Array([
|
||||
|
||||
Reference in new issue
Block a user