summaryrefslogtreecommitdiff
path: root/js/dispatch_json.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-08-26 17:02:34 -0400
committerGitHub <noreply@github.com>2019-08-26 17:02:34 -0400
commitf94900406d52a9d0a432ae9ebef65d46092afb41 (patch)
tree0a12b3201f8bdd0bbee1b6b1abf3f413d7d92e9f /js/dispatch_json.ts
parentd8ada4d3fcc5dfe7f76103399a1d765fbab2ee45 (diff)
Remove flatbuffers (#2818)
Diffstat (limited to 'js/dispatch_json.ts')
-rw-r--r--js/dispatch_json.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/dispatch_json.ts b/js/dispatch_json.ts
index e8c976164..bde2b7cb1 100644
--- a/js/dispatch_json.ts
+++ b/js/dispatch_json.ts
@@ -1,12 +1,8 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-// Do not add flatbuffer dependencies to this module.
-// TODO(ry) Currently ErrorKind enum is defined in FlatBuffers. Therefore
-// we must still reference the msg_generated.ts. This should be removed!
-import { ErrorKind } from "gen/cli/msg_generated";
import * as util from "./util";
import { TextEncoder, TextDecoder } from "./text_encoding";
import { core } from "./core";
-import { DenoError } from "./errors";
+import { ErrorKind, DenoError } from "./errors";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type Ok = any;