mirror of
https://github.com/denoland/deno.git
synced 2025-01-31 11:49:31 -05:00
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
/// <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";
|
|
};
|