summaryrefslogtreecommitdiff
path: root/tests/specs/run/_038_checkjs/038_checkjs.js.out
blob: 4ea473e4ff1ca4c519410e6e234c22cd5a127461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[WILDCARD]
error: TS2552 [ERROR]: Cannot find name 'consol'. Did you mean 'console'?
consol.log("hello world!");
~~~~~~
    at [WILDCARD]/038_checkjs.js:2:1

    'console' is declared here.
    declare var console: Console;
                ~~~~~~~
        at [WILDCARD]

TS2552 [ERROR]: Cannot find name 'Foo'. Did you mean 'foo'?
const foo = new Foo();
                ~~~
    at [WILDCARD]/038_checkjs.js:5:17

    'foo' is declared here.
    const foo = new Foo();
          ~~~
        at [WILDCARD]/038_checkjs.js:5:7

Found 2 errors.