TypeScript/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.types
2015-04-15 16:44:20 -07:00

23 lines
1.3 KiB
Plaintext

=== tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts ===
var regexMatchList = ['', ''];
>regexMatchList : string[]
>['', ''] : string[]
>'' : string
>'' : string
regexMatchList.forEach(match => ''.replace(match, ''));
>regexMatchList.forEach(match => ''.replace(match, '')) : void
>regexMatchList.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void
>regexMatchList : string[]
>forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void
>match => ''.replace(match, '') : (match: string) => string
>match : string
>''.replace(match, '') : string
>''.replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; }
>'' : string
>replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; }
>match : string
>'' : string