diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-04-20 20:39:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 15:39:02 -0400 |
commit | ef6ee25e09c902e1f9d89a40cf05660432e7143c (patch) | |
tree | b43745fa471693e7d8787b4a5e9a2489f895c873 /cli/tests/038_checkjs.js.out | |
parent | f72f045de586a7d0e428b77f6a3e381178cc6674 (diff) |
refactor(cli/fmt_errors): Improve source line formatting (#4832)
Diffstat (limited to 'cli/tests/038_checkjs.js.out')
-rw-r--r-- | cli/tests/038_checkjs.js.out | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/cli/tests/038_checkjs.js.out b/cli/tests/038_checkjs.js.out index deaf77211..92b8e2fd0 100644 --- a/cli/tests/038_checkjs.js.out +++ b/cli/tests/038_checkjs.js.out @@ -1,15 +1,21 @@ -[WILDCARD] -error TS2552: Cannot find name 'consol'. Did you mean 'console'? +[WILDCARD]error TS2552: Cannot find name 'consol'. Did you mean 'console'? +consol.log("hello world!"); +~~~~~~ + at [WILDCARD]tests/038_checkjs.js:2:1 -[WILDCARD]tests/038_checkjs.js:2:1 + 'console' is declared here. + declare var console: Console; + ~~~~~~~ + at [WILDCARD] -2 consol.log("hello world!"); -[WILDCARD] error TS2552: Cannot find name 'Foo'. Did you mean 'foo'? +const foo = new Foo(); + ~~~ + at [WILDCARD]tests/038_checkjs.js:6:17 -[WILDCARD]tests/038_checkjs.js:6:17 + 'foo' is declared here. + const foo = new Foo(); + ~~~ + at [WILDCARD]tests/038_checkjs.js:6:7 -6 const foo = new Foo(); -[WILDCARD] Found 2 errors. -[WILDCARD]
\ No newline at end of file |