TypeScript/tests/baselines/reference/unexportedInstanceClassVariables.types

25 lines
805 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/unexportedInstanceClassVariables.ts ===
module M{
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(unexportedInstanceClassVariables.ts, 0, 0), Decl(unexportedInstanceClassVariables.ts, 4, 1))
2014-08-15 23:33:16 +02:00
class A{
2015-04-13 23:01:57 +02:00
>A : A, Symbol(A, Decl(unexportedInstanceClassVariables.ts, 0, 9))
2014-08-15 23:33:16 +02:00
constructor(val:string){}
2015-04-13 23:01:57 +02:00
>val : string, Symbol(val, Decl(unexportedInstanceClassVariables.ts, 2, 14))
2014-08-15 23:33:16 +02:00
}
}
module M{
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(unexportedInstanceClassVariables.ts, 0, 0), Decl(unexportedInstanceClassVariables.ts, 4, 1))
2014-08-15 23:33:16 +02:00
class A {}
2015-04-13 23:01:57 +02:00
>A : A, Symbol(A, Decl(unexportedInstanceClassVariables.ts, 6, 9))
2014-08-15 23:33:16 +02:00
var a = new A();
2015-04-13 23:01:57 +02:00
>a : A, Symbol(a, Decl(unexportedInstanceClassVariables.ts, 9, 5))
2014-08-15 23:33:16 +02:00
>new A() : A
2015-04-13 23:01:57 +02:00
>A : typeof A, Symbol(A, Decl(unexportedInstanceClassVariables.ts, 6, 9))
2014-08-15 23:33:16 +02:00
}