TypeScript/tests/baselines/reference/typeofModuleWithoutExports.types

21 lines
294 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
2014-08-15 23:33:16 +02:00
var x = 1;
>x : number
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
class C {
>C : C
2014-08-15 23:33:16 +02:00
foo: number;
>foo : number
2014-08-15 23:33:16 +02:00
}
}
var r: typeof M;
>r : typeof M
>M : typeof M
2014-08-15 23:33:16 +02:00