diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-09-12 19:53:57 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 11:53:57 +0200 |
commit | 10fbfcbc79eb50cb7669b4aaf67f957d97d8d93b (patch) | |
tree | 99bbe8fcf2bb554f2203d990252556924e1cc18c /cli/rt/40_diagnostics.js | |
parent | 5276cc85923a1791bf73a91b05c27fbdeeaa6f9b (diff) |
refactor: improve tsc diagnostics (#7420)
Diffstat (limited to 'cli/rt/40_diagnostics.js')
-rw-r--r-- | cli/rt/40_diagnostics.js | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/cli/rt/40_diagnostics.js b/cli/rt/40_diagnostics.js index 110d3d767..2b7457853 100644 --- a/cli/rt/40_diagnostics.js +++ b/cli/rt/40_diagnostics.js @@ -6,19 +6,15 @@ ((window) => { const DiagnosticCategory = { - 0: "Log", - 1: "Debug", - 2: "Info", - 3: "Error", - 4: "Warning", - 5: "Suggestion", + 0: "Warning", + 1: "Error", + 2: "Suggestion", + 3: "Message", - Log: 0, - Debug: 1, - Info: 2, - Error: 3, - Warning: 4, - Suggestion: 5, + Warning: 0, + Error: 1, + Suggestion: 2, + Message: 3, }; window.__bootstrap.diagnostics = { |