TypeScript/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types

21 lines
993 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/moduleImportedForTypeArgumentPosition_1.ts ===
/**This is on import declaration*/
import M2 = require("moduleImportedForTypeArgumentPosition_0");
2015-04-13 23:01:57 +02:00
>M2 : typeof M2, Symbol(M2, Decl(moduleImportedForTypeArgumentPosition_1.ts, 0, 0))
2014-08-15 23:33:16 +02:00
class C1<T>{ }
2015-04-13 23:01:57 +02:00
>C1 : C1<T>, Symbol(C1, Decl(moduleImportedForTypeArgumentPosition_1.ts, 1, 63))
>T : T, Symbol(T, Decl(moduleImportedForTypeArgumentPosition_1.ts, 2, 9))
2014-08-15 23:33:16 +02:00
class Test1 extends C1<M2.M2C> {
2015-04-13 23:01:57 +02:00
>Test1 : Test1, Symbol(Test1, Decl(moduleImportedForTypeArgumentPosition_1.ts, 2, 14))
>C1 : C1<T>, Symbol(C1, Decl(moduleImportedForTypeArgumentPosition_1.ts, 1, 63))
>M2 : any, Symbol(M2, Decl(moduleImportedForTypeArgumentPosition_1.ts, 0, 0))
>M2C : M2.M2C, Symbol(M2.M2C, Decl(moduleImportedForTypeArgumentPosition_0.ts, 0, 0))
2014-08-15 23:33:16 +02:00
}
=== tests/cases/compiler/moduleImportedForTypeArgumentPosition_0.ts ===
export interface M2C { }
2015-04-13 23:01:57 +02:00
>M2C : M2C, Symbol(M2C, Decl(moduleImportedForTypeArgumentPosition_0.ts, 0, 0))
2014-08-15 23:33:16 +02:00