2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts ===
|
|
|
|
class Greeter {
|
2015-04-16 01:44:20 +02:00
|
|
|
>Greeter : Greeter
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
public a = 10;
|
2015-04-16 01:44:20 +02:00
|
|
|
>a : number
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
public returnA = () => this.a;
|
2015-04-16 01:44:20 +02:00
|
|
|
>returnA : () => number
|
2014-08-15 23:33:16 +02:00
|
|
|
>() => this.a : () => number
|
2015-04-16 01:44:20 +02:00
|
|
|
>this.a : number
|
2015-09-21 23:30:23 +02:00
|
|
|
>this : this
|
2015-04-16 01:44:20 +02:00
|
|
|
>a : number
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|