mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
21 lines
543 B
Text
21 lines
543 B
Text
[WILDCARD]error TS2552: Cannot find name 'consol'. Did you mean 'console'?
|
|
consol.log("hello world!");
|
|
~~~~~~
|
|
at [WILDCARD]tests/038_checkjs.js:2:1
|
|
|
|
'console' is declared here.
|
|
declare var console: Console;
|
|
~~~~~~~
|
|
at [WILDCARD]
|
|
|
|
error TS2552: Cannot find name 'Foo'. Did you mean 'foo'?
|
|
const foo = new Foo();
|
|
~~~
|
|
at [WILDCARD]tests/038_checkjs.js:6:17
|
|
|
|
'foo' is declared here.
|
|
const foo = new Foo();
|
|
~~~
|
|
at [WILDCARD]tests/038_checkjs.js:6:7
|
|
|
|
Found 2 errors.
|