blob: 61294a3070d0a8cd67431075a0e2ec48b091aaef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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";
};
|