From e2fc5eef978bc9dce09eebb6abf6d2f65b18c081 Mon Sep 17 00:00:00 2001 From: godotg Date: Tue, 12 Dec 2023 13:02:19 +0800 Subject: [PATCH] test[typescript]: add IByteBuffer interface to ByteBuffer --- protocol/src/main/resources/typescript/buffer/Long.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/src/main/resources/typescript/buffer/Long.ts b/protocol/src/main/resources/typescript/buffer/Long.ts index dac9a00b..840b667d 100644 --- a/protocol/src/main/resources/typescript/buffer/Long.ts +++ b/protocol/src/main/resources/typescript/buffer/Long.ts @@ -13,6 +13,7 @@ type WasmExports = { let wasm: WasmExports; try { + // nodejs环境无法使用 wasm = new WebAssembly.Instance( new WebAssembly.Module( new Uint8Array([