TypeScript/tests/cases/fourslash/genericCallSignaturesInNonGenericTypes2.ts

16 lines
341 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////interface WrappedArray<T> { }
////interface Underscore {
//// <T>(list: T[]): WrappedArray<T>;
////}
////var _: Underscore;
////var a: number[];
2014-10-07 20:30:27 +02:00
////var /**/b = _(a); // WrappedArray<any>, should be WrappedArray<number>
2014-07-13 01:04:16 +02:00
2016-09-09 18:02:55 +02:00
verify.quickInfoAt("", "var b: WrappedArray<number>");