summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-14 19:17:52 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-03-18 17:17:08 -0400
commit44773c9b0fe4ae90089c87aa46d049a0a58cccce (patch)
tree34bd66dc66dd59b9acd4bb0a48ea576610187e05 /js/libdeno.ts
parent33438b83a2a2597c2b9918475dd5362faa5c1728 (diff)
Integrate //core into existing code base
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
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.