TypeScript/tests/baselines/reference/typeofModuleWithoutExports.types

20 lines
281 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofModuleWithoutExports.ts ===
module M {
>M : typeof M
var x = 1;
>x : number
class C {
>C : C
foo: number;
>foo : number
}
}
var r: typeof M;
>r : typeof M
>M : typeof M