18 lines
No EOL
1,010 B
Text
18 lines
No EOL
1,010 B
Text
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts(1,18): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
|
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts(1,40): error TS2304: Cannot find name 'ILogger'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts (2 errors) ====
|
|
export class NullLogger implements ILogger {
|
|
~~~~~~~~~~
|
|
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ILogger'.
|
|
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 {
|
|
}
|
|
} |