diff options
Diffstat (limited to 'js/main.ts')
-rw-r--r-- | js/main.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/main.ts b/js/main.ts index c32f3ac9e..ad9e0e99d 100644 --- a/js/main.ts +++ b/js/main.ts @@ -15,9 +15,6 @@ import { setLocation } from "./location"; // builtin modules import * as deno from "./deno"; -// TODO(kitsonk) remove with `--types` below -import libDts from "gen/cli/lib/lib.deno_runtime.d.ts!string"; - export default function denoMain(name?: string): void { const startResMsg = os.start(name); @@ -31,13 +28,6 @@ export default function denoMain(name?: string): void { os.exit(0); } - // handle `--types` - // TODO(kitsonk) move to Rust fetching from compiler - if (startResMsg.typesFlag()) { - console.log(libDts); - os.exit(0); - } - const mainModule = startResMsg.mainModule(); if (mainModule) { assert(mainModule.length > 0); |