* Fix for #13840: Remove map tuple overloads * Coalesce signatures on array that use this args * Remove generic signatures * Add comments to toLocalString * clean up typed array interfaces
11 lines
718 B
TypeScript
11 lines
718 B
TypeScript
///<reference path="fourslash.ts" />
|
|
|
|
////var y: Array<string>|Array<number>;
|
|
////y.map/**/(
|
|
|
|
goTo.marker();
|
|
verify.quickInfoIs(
|
|
"(property) map: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[])",
|
|
"Calls a defined callback function on each element of an array, and returns an array that contains the results.");
|
|
|
|
verify.completionListContains('map', "(property) map: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[])"); |