diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 01:19:23 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 01:19:23 -0400 |
commit | bfb3cd7a5c55dbf59eacb7d93e88f38632e47260 (patch) | |
tree | 65fdee9c91c262c3ea28eefbd39c8ae257a8e76f /main.ts | |
parent | be7828684b888a8c9743e6dd7c54c924c076c8e2 (diff) |
use tsc for type checking
Diffstat (limited to 'main.ts')
-rw-r--r-- | main.ts | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); }); |