TypeScript/tests/baselines/reference/unexportedInstanceClassVariables.types

25 lines
284 B
Plaintext
Raw Normal View History

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