summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-09-09 19:21:22 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-09 23:12:22 -0400
commita4f1b367b9314b1526c51dad593cac1682ef996b (patch)
treef037cf49914f2d929b4b5f14c52e1ef11f06bd72 /js
parent3574c7a5d39c6cd55e7c25a10e4e5c8e363b7af9 (diff)
Remove namespace from src/msg.fbs
Diffstat (limited to 'js')
-rw-r--r--js/errors.ts2
-rw-r--r--js/fbs_util.ts2
-rw-r--r--js/fetch.ts2
-rw-r--r--js/main.ts2
-rw-r--r--js/os.ts2
-rw-r--r--js/timers.ts2
6 files changed, 6 insertions, 6 deletions
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<T extends fbs.ErrorKind> 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";