39 lines
593 B
Text
39 lines
593 B
Text
=== tests/cases/compiler/es6ClassTest3.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
class Visibility {
|
|
>Visibility : Visibility
|
|
|
|
public foo() { };
|
|
>foo : () => void
|
|
|
|
private bar() { };
|
|
>bar : () => void
|
|
|
|
private x: number;
|
|
>x : number
|
|
|
|
public y: number;
|
|
>y : number
|
|
|
|
public z: number;
|
|
>z : number
|
|
|
|
constructor() {
|
|
this.x = 1;
|
|
>this.x = 1 : number
|
|
>this.x : number
|
|
>this : Visibility
|
|
>x : number
|
|
>1 : number
|
|
|
|
this.y = 2;
|
|
>this.y = 2 : number
|
|
>this.y : number
|
|
>this : Visibility
|
|
>y : number
|
|
>2 : number
|
|
}
|
|
}
|
|
}
|