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

16 lines
696 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts (4 errors) ====
export class LoggerAdapter implements ILogger {
~~~~~~~~~~~~~
!!! Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~
!!! Cannot find name 'ILogger'.
constructor (public logger: ILogger) {
~~~~~~~
!!! Cannot find name 'ILogger'.
this._information = this.logger.information();
~~~~~~~~~~~~
!!! Property '_information' does not exist on type 'LoggerAdapter'.
}
}