diff options
Diffstat (limited to 'deno2/js/main.ts')
-rw-r--r-- | deno2/js/main.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deno2/js/main.ts b/deno2/js/main.ts index 0a098dd41..61294a307 100644 --- a/deno2/js/main.ts +++ b/deno2/js/main.ts @@ -1,6 +1,13 @@ +/// <reference path="deno.d.ts" /> +//import { main as pb } from "deno_pb/msg.pb" +import * as ts from "typescript"; + const globalEval = eval; const window = globalEval("this"); window["denoMain"] = () => { + //const msg = pb.Msg.fromObject({}); + //denoPrint(`msg.command: ${msg.command}`); + denoPrint(`ts.version: ${ts.version}`); denoPrint("Hello world from foo"); return "foo"; }; |