mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 02:30:15 -06:00
Fix fourslash tests
This commit is contained in:
parent
5093f93677
commit
ecc36653cd
@ -5,7 +5,7 @@
|
||||
|
||||
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[])",
|
||||
"(property) map: (<U>(this: readonly, callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | (<U>(this: readonly, 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[])");
|
||||
verify.completionListContains('map', "(property) map: (<U>(this: readonly, callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | (<U>(this: readonly, callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[])");
|
||||
@ -7,5 +7,5 @@
|
||||
|
||||
goTo.marker();
|
||||
verify.completionListContains('length', "(property) Array<number>.length: number", /*docComments*/ undefined, /*kind*/ "property");
|
||||
verify.completionListContains('toString', "(method) Array<number>.toString(): string", /*docComments*/ undefined, /*kind*/ "method");
|
||||
verify.completionListContains('toString', "(method) Array<number>.toString(this: readonly): string", /*docComments*/ undefined, /*kind*/ "method");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user