Skip to content

Commit 6f6e995

Browse files
committed
remove plugins.d.ts
1 parent 1919273 commit 6f6e995

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

cli_snapshots/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ ts_sources = [
5656
"../js/os.ts",
5757
"../js/performance.ts",
5858
"../js/permissions.ts",
59-
"../js/plugins.d.ts",
6059
"../js/process.ts",
6160
"../js/read_dir.ts",
6261
"../js/read_file.ts",

js/compiler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2+
// TODO(ry) Combine this implementation with //deno_typescript/compiler_main.js
23

34
/// <reference types="../third_party/node_modules/typescript/lib/typescript.d.ts"/>
45

@@ -35,7 +36,7 @@ enum MediaType {
3536
const console = new Console(core.print);
3637
window.console = console;
3738
window.workerMain = workerMain;
38-
export default function denoMain(): void {
39+
function denoMain(): void {
3940
os.start(true, "TS");
4041
}
4142
window["denoMain"] = denoMain;

js/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
22

3-
// eslint-disable-next-line @typescript-eslint/no-triple-slash-reference
4-
/// <reference path="./plugins.d.ts" />
5-
63
import "./globals.ts";
74

85
import { assert, log } from "./util.ts";
@@ -20,7 +17,7 @@ import * as deno from "./deno.ts";
2017

2118
const { console } = window;
2219

23-
export default function denoMain(
20+
function denoMain(
2421
preserveDenoNamespace: boolean = true,
2522
name?: string
2623
): void {

js/plugins.d.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)