diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2018-08-19 21:04:27 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-19 15:04:27 -0400 |
commit | 66f0e93b4c1e1364097a4eaf2b1e3bbb1bf43714 (patch) | |
tree | 2dcfb7736ab253a38bd349554b277f5da652cf0b /js/runtime.ts | |
parent | aaabc853e84a03f72208c0e80634bd986c3ca4e2 (diff) |
add notImplemented and unreachable util functions (#540)
Diffstat (limited to 'js/runtime.ts')
-rw-r--r-- | js/runtime.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/runtime.ts b/js/runtime.ts index a0fd6d622..1a9e8497d 100644 --- a/js/runtime.ts +++ b/js/runtime.ts @@ -313,7 +313,7 @@ class TypeScriptHost implements ts.LanguageServiceHost { readFile(path: string, encoding?: string): string | undefined { util.log("readFile", path); - throw Error("not implemented"); + return util.notImplemented(); } getNewLine() { |