TypeScript/tests/baselines/reference/parserClass1.errors.txt

18 lines
1 KiB
Text
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts(1,18): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts(1,40): error TS2304: Cannot find name 'ILogger'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts (2 errors) ====
export class NullLogger implements ILogger {
~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
2014-07-13 01:04:16 +02:00
~~~~~~~
!!! error TS2304: Cannot find name 'ILogger'.
2014-07-13 01:04:16 +02:00
public information(): boolean { return false; }
public debug(): boolean { return false; }
public warning(): boolean { return false; }
public error(): boolean { return false; }
public fatal(): boolean { return false; }
public log(s: string): void {
}
}