2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileImportedTypeUseInTypeArgPosition.ts ===
|
|
|
|
class List<T> { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>List : List<T>, Symbol(List, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 0, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
declare module 'mod1' {
|
|
|
|
class Foo {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : Foo, Symbol(Foo, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 1, 23))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'moo' {
|
|
|
|
import x = require('mod1');
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : typeof x, Symbol(x, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 6, 22))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var p: List<x.Foo>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>p : List<x.Foo>, Symbol(p, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 8, 14))
|
|
|
|
>List : List<T>, Symbol(List, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 0, 0))
|
|
|
|
>x : any, Symbol(x, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 6, 22))
|
|
|
|
>Foo : x.Foo, Symbol(x.Foo, Decl(declFileImportedTypeUseInTypeArgPosition.ts, 1, 23))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|