blob: f9d69f22f5a853ab63e8608faa4887ff7daed7f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/// <reference path="deno.d.ts" />
//import { main as pb } from "./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";
};
|