diff options
Diffstat (limited to 'dispatch.ts')
-rw-r--r-- | dispatch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dispatch.ts b/dispatch.ts index f6823ceff..01bd58bed 100644 --- a/dispatch.ts +++ b/dispatch.ts @@ -4,7 +4,7 @@ import { typedArrayToArrayBuffer } from "./util"; import { _global } from "./globals"; import { main as pb } from "./msg.pb"; -type MessageCallback = (msg: Uint8Array) => void; +export type MessageCallback = (msg: Uint8Array) => void; //type MessageStructCallback = (msg: pb.IMsg) => void; const send = V8Worker2.send; |