20 lines
281 B
Plaintext
20 lines
281 B
Plaintext
=== 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
|
|
|