diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-04 23:04:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 03:04:08 +0000 |
commit | 17574f1ef7adf4aea91ba497759ac3e3fed50f1a (patch) | |
tree | b2a7ec4121c6d8cca3a3714b08aa6b5c292fca86 /runtime/js/40_diagnostics.js | |
parent | b40086fd7da3729d1d59b312c89ee57747fc66a9 (diff) |
refactor: remove unused 40_diagnostics.js file (#18021)
This file was not used anywhere - even though it exposed an unstable
"Deno.DiagnosticCategory" API. Seems like a left over from when we
had "Deno.emit" API.
Diffstat (limited to 'runtime/js/40_diagnostics.js')
-rw-r--r-- | runtime/js/40_diagnostics.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/runtime/js/40_diagnostics.js b/runtime/js/40_diagnostics.js deleted file mode 100644 index 669a54263..000000000 --- a/runtime/js/40_diagnostics.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. - -// Diagnostic provides an abstraction for advice/errors received from a -// compiler, which is strongly influenced by the format of TypeScript -// diagnostics. - -const DiagnosticCategory = { - 0: "Warning", - 1: "Error", - 2: "Suggestion", - 3: "Message", - - Warning: 0, - Error: 1, - Suggestion: 2, - Message: 3, -}; - -export { DiagnosticCategory }; |