TypeScript/tests/cases/fourslash/extendsTArray.ts
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00

15 lines
344 B
TypeScript

/// <reference path='fourslash.ts'/>
////interface I1<T> {
//// (a: T): T;
////}
////interface I2<T> extends I1<T[]> {
//// b: T;
////}
////var x: I2<Date>;
////var /**/y = x(undefined); // Typeof y should be Date[]
////y.length;
goTo.marker();
verify.quickInfoIs('var y: Date[]');
verify.numberOfErrorsInCurrentFile(0);