mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 05:20:50 +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;
|
let wasm: WasmExports;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// nodejs环境无法使用
|
||||||
wasm = new WebAssembly.Instance(
|
wasm = new WebAssembly.Instance(
|
||||||
new WebAssembly.Module(
|
new WebAssembly.Module(
|
||||||
new Uint8Array([
|
new Uint8Array([
|
||||||
|
|||||||
Reference in new issue
Block a user