From a4f1b367b9314b1526c51dad593cac1682ef996b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 9 Sep 2018 19:21:22 -0400 Subject: Remove namespace from src/msg.fbs --- js/errors.ts | 2 +- js/fbs_util.ts | 2 +- js/fetch.ts | 2 +- js/main.ts | 2 +- js/os.ts | 2 +- js/timers.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'js') diff --git a/js/errors.ts b/js/errors.ts index 2d0572e6d..ad7b6be21 100644 --- a/js/errors.ts +++ b/js/errors.ts @@ -1,4 +1,4 @@ -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; // @internal export class DenoError extends Error { diff --git a/js/fbs_util.ts b/js/fbs_util.ts index 16f3b6ca2..21a3aa04d 100644 --- a/js/fbs_util.ts +++ b/js/fbs_util.ts @@ -2,7 +2,7 @@ // TODO Rename this file to //js/dispatch.ts import { libdeno } from "./libdeno"; import { flatbuffers } from "flatbuffers"; -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; import * as errors from "./errors"; import * as util from "./util"; diff --git a/js/fetch.ts b/js/fetch.ts index 20af1d03d..5e1d5c5b0 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -9,7 +9,7 @@ import { } from "./util"; import { flatbuffers } from "flatbuffers"; import { sendAsync } from "./fbs_util"; -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; import { Headers, Request, diff --git a/js/main.ts b/js/main.ts index e45562d99..55dca2858 100644 --- a/js/main.ts +++ b/js/main.ts @@ -1,6 +1,6 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import { flatbuffers } from "flatbuffers"; -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; import { assert, log, setLogDebug } from "./util"; import * as os from "./os"; import { DenoCompiler } from "./compiler"; diff --git a/js/os.ts b/js/os.ts index e49896c51..dcb7fcf66 100644 --- a/js/os.ts +++ b/js/os.ts @@ -1,6 +1,6 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import { ModuleInfo } from "./types"; -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; import { assert } from "./util"; import * as util from "./util"; import { flatbuffers } from "flatbuffers"; diff --git a/js/timers.ts b/js/timers.ts index 6b23c64f1..ee95f7093 100644 --- a/js/timers.ts +++ b/js/timers.ts @@ -1,7 +1,7 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import { assert } from "./util"; import * as util from "./util"; -import { deno as fbs } from "gen/msg_generated"; +import * as fbs from "gen/msg_generated"; import { flatbuffers } from "flatbuffers"; import { send, sendAsync } from "./fbs_util"; -- cgit v1.2.3