TypeScript/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types

21 lines
439 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");
>M2 : typeof M2
2014-08-15 23:33:16 +02:00
class C1<T>{ }
>C1 : C1<T>
>T : T
2014-08-15 23:33:16 +02:00
class Test1 extends C1<M2.M2C> {
>Test1 : Test1
>C1 : C1<T>
>M2 : any
>M2C : M2.M2C
2014-08-15 23:33:16 +02:00
}
=== tests/cases/compiler/moduleImportedForTypeArgumentPosition_0.ts ===
export interface M2C { }
>M2C : M2C
2014-08-15 23:33:16 +02:00