summaryrefslogtreecommitdiff
path: root/core/lib.deno_core.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r--core/lib.deno_core.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts
index 004ed0529..b12879a9b 100644
--- a/core/lib.deno_core.d.ts
+++ b/core/lib.deno_core.d.ts
@@ -11,14 +11,14 @@ declare namespace Deno {
function jsonOpSync(
opName: string,
args?: any,
- ...zeroCopy: Uint8Array[]
+ zeroCopy?: Uint8Array,
): any;
/** Send a JSON op to Rust, and asynchronously receive the result. */
function jsonOpAsync(
opName: string,
args?: any,
- ...zeroCopy: Uint8Array[]
+ zeroCopy?: Uint8Array,
): Promise<any>;
/**