2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface I1<T> {
|
|
|
|
//// (a: T): T;
|
|
|
|
////}
|
|
|
|
////interface I2<T> extends I1<T[]> {
|
|
|
|
//// b: T;
|
|
|
|
////}
|
|
|
|
////var x: I2<Date>;
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /**/y = x(undefined); // Typeof y should be Date[]
|
2014-07-13 01:04:16 +02:00
|
|
|
////y.length;
|
|
|
|
|
|
|
|
goTo.marker();
|
2014-10-07 20:30:27 +02:00
|
|
|
verify.quickInfoIs('(var) y: Date[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
verify.numberOfErrorsInCurrentFile(0);
|