TypeScript/tests/baselines/reference/typeofModuleWithoutExports.types

21 lines
622 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofModuleWithoutExports.ts ===
module M {
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(typeofModuleWithoutExports.ts, 0, 0))
2014-08-15 23:33:16 +02:00
var x = 1;
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(typeofModuleWithoutExports.ts, 1, 7))
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
class C {
2015-04-13 23:01:57 +02:00
>C : C, Symbol(C, Decl(typeofModuleWithoutExports.ts, 1, 14))
2014-08-15 23:33:16 +02:00
foo: number;
2015-04-13 23:01:57 +02:00
>foo : number, Symbol(foo, Decl(typeofModuleWithoutExports.ts, 2, 13))
2014-08-15 23:33:16 +02:00
}
}
var r: typeof M;
2015-04-13 23:01:57 +02:00
>r : typeof M, Symbol(r, Decl(typeofModuleWithoutExports.ts, 7, 3))
>M : typeof M, Symbol(M, Decl(typeofModuleWithoutExports.ts, 0, 0))
2014-08-15 23:33:16 +02:00