2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofModuleWithoutExports.ts ===
|
|
|
|
module M {
|
2015-04-16 01:44:20 +02:00
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = 1;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-04-13 21:36:11 +02:00
|
|
|
>1 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo: number;
|
2015-04-16 01:44:20 +02:00
|
|
|
>foo : number
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r: typeof M;
|
2015-04-16 01:44:20 +02:00
|
|
|
>r : typeof M
|
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|