22 lines
454 B
TypeScript
22 lines
454 B
TypeScript
/// <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();
|
|
////var /*1*/n2 = new N.D2<number>();
|
|
////var /*2*/n3 = new N.D2();
|
|
|
|
verify.quickInfos({
|
|
1: "var n2: N.D2<number>",
|
|
2: "var n3: N.D2<{}>"
|
|
});
|