25 lines
284 B
Plaintext
25 lines
284 B
Plaintext
=== 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
|
|
}
|
|
|