TypeScript/tests/cases/fourslash/genericCallSignaturesInNonGenericTypes2.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

16 lines
353 B
TypeScript

/// <reference path='fourslash.ts'/>
////interface WrappedArray<T> { }
////interface Underscore {
//// <T>(list: T[]): WrappedArray<T>;
////}
////var _: Underscore;
////var a: number[];
////var /**/b = _(a); // WrappedArray<any>, should be WrappedArray<number>
goTo.marker();
verify.quickInfoIs('var b: WrappedArray<number>');