TypeScript/tests/baselines/reference/unexportedInstanceClassVariables.types

25 lines
284 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/unexportedInstanceClassVariables.ts ===
module M{
>M : typeof M
class A{
>A : A
constructor(val:string){}
>val : string
}
}
module M{
>M : typeof M
class A {}
>A : A
var a = new A();
>a : A
>new A() : A
>A : typeof A
}