TypeScript/tests/baselines/reference/scannerClass2.types
Anders Hejlsberg a4f9bf0fce
Create type aliases for unresolved type symbols (#45976)
* Create type aliases for unresolved type symbols

* Accept new baselines

* Update fourslash tests

* Unresolved import aliases create tagged unresolved symbols

* Add comments

* Accept new baselines

* Add fourslash tests
2021-09-23 13:21:27 -07:00

21 lines
563 B
Plaintext

=== tests/cases/conformance/scanner/ecmascript5/scannerClass2.ts ===
export class LoggerAdapter implements ILogger {
>LoggerAdapter : LoggerAdapter
constructor (public logger: ILogger) {
>logger : ILogger
this._information = this.logger.information();
>this._information = this.logger.information() : any
>this._information : any
>this : this
>_information : any
>this.logger.information() : any
>this.logger.information : any
>this.logger : ILogger
>this : this
>logger : ILogger
>information : any
}
}