diff options
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r-- | core/lib.deno_core.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index f78c6fec2..1efb92dc6 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -10,14 +10,14 @@ declare namespace Deno { /** Send a JSON op to Rust, and synchronously receive the result. */ function jsonOpSync( opName: string, - args: any, + args?: any, ...zeroCopy: Uint8Array[] ): any; /** Send a JSON op to Rust, and asynchronously receive the result. */ function jsonOpAsync( opName: string, - args: any, + args?: any, ...zeroCopy: Uint8Array[] ): Promise<any>; |