2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////module M {
|
|
|
|
//// export class C1 { }
|
|
|
|
//// export class C2<T> { }
|
|
|
|
////}
|
|
|
|
|
|
|
|
////var c = new M.C2<number>();
|
|
|
|
|
|
|
|
////module N {
|
|
|
|
//// export class D1 extends M.C1 { }
|
|
|
|
//// export class D2<T> extends M.C2<T> { }
|
|
|
|
////}
|
|
|
|
|
|
|
|
////var n = new N.D1();
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /*1*/n2 = new N.D2<number>();
|
|
|
|
////var /*2*/n3 = new N.D2();
|
2014-07-13 01:04:16 +02:00
|
|
|
|
2016-09-09 18:02:55 +02:00
|
|
|
verify.quickInfos({
|
|
|
|
1: "var n2: N.D2<number>",
|
2019-04-04 21:25:15 +02:00
|
|
|
2: "var n3: N.D2<unknown>"
|
2016-09-09 18:02:55 +02:00
|
|
|
});
|