2020-05-09 15:09:46 -04:00
|
|
|
[WILDCARD]
|
|
|
|
error: TS2552 [ERROR]: Cannot find name 'consol'. Did you mean 'console'?
|
2020-04-20 15:39:02 -04:00
|
|
|
consol.log("hello world!");
|
|
|
|
~~~~~~
|
|
|
|
at [WILDCARD]tests/038_checkjs.js:2:1
|
2019-07-31 13:16:03 -04:00
|
|
|
|
2020-04-20 15:39:02 -04:00
|
|
|
'console' is declared here.
|
|
|
|
declare var console: Console;
|
|
|
|
~~~~~~~
|
|
|
|
at [WILDCARD]
|
2019-07-31 13:16:03 -04:00
|
|
|
|
2020-05-09 15:09:46 -04:00
|
|
|
TS2552 [ERROR]: Cannot find name 'Foo'. Did you mean 'foo'?
|
2020-04-20 15:39:02 -04:00
|
|
|
const foo = new Foo();
|
|
|
|
~~~
|
2021-05-18 11:24:01 -04:00
|
|
|
at [WILDCARD]tests/038_checkjs.js:5:17
|
2019-07-31 13:16:03 -04:00
|
|
|
|
2020-04-20 15:39:02 -04:00
|
|
|
'foo' is declared here.
|
|
|
|
const foo = new Foo();
|
|
|
|
~~~
|
2021-05-18 11:24:01 -04:00
|
|
|
at [WILDCARD]tests/038_checkjs.js:5:7
|
2019-07-31 13:16:03 -04:00
|
|
|
|
|
|
|
Found 2 errors.
|