summaryrefslogtreecommitdiff
path: root/core/core.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'core/core.d.ts')
-rw-r--r--core/core.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/core.d.ts b/core/core.d.ts
index b1d1ac57f..1e9eb7c04 100644
--- a/core/core.d.ts
+++ b/core/core.d.ts
@@ -5,11 +5,12 @@
// Deno and therefore do not flow through to the runtime type library.
declare interface MessageCallback {
- (msg: Uint8Array): void;
+ (opId: number, msg: Uint8Array): void;
}
declare interface DenoCore {
dispatch(
+ opId: number,
control: Uint8Array,
zeroCopy?: ArrayBufferView | null
): Uint8Array | null;