671191a584
(cherry picked from commit f9fb68fbfc
)
19 lines
982 B
Plaintext
19 lines
982 B
Plaintext
tests/cases/conformance/scanner/ecmascript5/scannerClass2.ts(3,43): error TS2304: Cannot find name 'ILogger'.
|
|
tests/cases/conformance/scanner/ecmascript5/scannerClass2.ts(4,37): error TS2304: Cannot find name 'ILogger'.
|
|
tests/cases/conformance/scanner/ecmascript5/scannerClass2.ts(5,18): error TS2339: Property '_information' does not exist on type 'LoggerAdapter'.
|
|
|
|
|
|
==== tests/cases/conformance/scanner/ecmascript5/scannerClass2.ts (3 errors) ====
|
|
|
|
|
|
export class LoggerAdapter implements ILogger {
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ILogger'.
|
|
constructor (public logger: ILogger) {
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ILogger'.
|
|
this._information = this.logger.information();
|
|
~~~~~~~~~~~~
|
|
!!! error TS2339: Property '_information' does not exist on type 'LoggerAdapter'.
|
|
}
|
|
} |