TypeScript/tests/baselines/reference/declFileImportedTypeUseInTypeArgPosition.types
2014-08-15 14:37:48 -07:00

25 lines
356 B
Plaintext

=== tests/cases/compiler/declFileImportedTypeUseInTypeArgPosition.ts ===
class List<T> { }
>List : List<T>
>T : T
declare module 'mod1' {
class Foo {
>Foo : Foo
}
}
declare module 'moo' {
import x = require('mod1');
>x : typeof 'mod1'
export var p: List<x.Foo>;
>p : List<Foo>
>List : List
>x : x
>Foo : Foo
}