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_error_stack.js | |
parent | 5276cc85923a1791bf73a91b05c27fbdeeaa6f9b (diff) |
refactor: improve tsc diagnostics (#7420)
Diffstat (limited to 'cli/rt/40_error_stack.js')
-rw-r--r-- | cli/rt/40_error_stack.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/rt/40_error_stack.js b/cli/rt/40_error_stack.js index 5d1a077ad..2b7c42475 100644 --- a/cli/rt/40_error_stack.js +++ b/cli/rt/40_error_stack.js @@ -8,8 +8,8 @@ const internals = window.__bootstrap.internals; const dispatchJson = window.__bootstrap.dispatchJson; - function opFormatDiagnostics(items) { - return dispatchJson.sendSync("op_format_diagnostic", { items }); + function opFormatDiagnostics(diagnostics) { + return dispatchJson.sendSync("op_format_diagnostic", diagnostics); } function opApplySourceMap(location) { |