summaryrefslogtreecommitdiff
path: root/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'main.ts')
-rw-r--r--main.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.ts b/main.ts
index 9071c2fcd..44519489a 100644
--- a/main.ts
+++ b/main.ts
@@ -1,9 +1,8 @@
-import * as ts from "typescript";
+//import * as ts from "typescript";
import { main as pb } from "./msg.pb"
-V8Worker2.recv((ab: ArrayBuffer) {
+V8Worker2.recv((ab: ArrayBuffer) => {
let msg = pb.Msg.decode(new Uint8Array(ab));
- V8Worker2.print("Got array buffer", ab.byteLength);
V8Worker2.print("msg.argv", msg.argv);
});