summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/libdeno.ts')
-rw-r--r--js/libdeno.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/libdeno.ts b/js/libdeno.ts
index 33e9e4f5f..485e67bb9 100644
--- a/js/libdeno.ts
+++ b/js/libdeno.ts
@@ -19,11 +19,14 @@ interface EvalErrorInfo {
interface Libdeno {
recv(cb: MessageCallback): void;
- send(control: ArrayBufferView, data?: ArrayBufferView): null | Uint8Array;
+ send(
+ control: null | ArrayBufferView,
+ data?: ArrayBufferView
+ ): null | Uint8Array;
print(x: string, isErr?: boolean): void;
- shared: ArrayBuffer;
+ shared: SharedArrayBuffer;
/** Evaluate provided code in the current context.
* It differs from eval(...) in that it does not create a new context.