2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface WrappedObject<T> { }
|
|
|
|
|
|
|
|
////interface WrappedArray<T> { }
|
|
|
|
|
|
|
|
////interface Underscore {
|
|
|
|
//// <T>(list: T[]): WrappedArray<T>;
|
|
|
|
//// <T>(obj: T): WrappedObject<T>;
|
|
|
|
////}
|
|
|
|
|
|
|
|
////var _: Underscore;
|
|
|
|
|
|
|
|
////var a: number[];
|
|
|
|
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /**/b = _(a);
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker();
|
2014-10-07 20:30:27 +02:00
|
|
|
verify.quickInfoIs('(var) b: WrappedArray<number>');
|