TypeScript/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js

9 lines
321 B
TypeScript

//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]
var regexMatchList = ['', ''];
regexMatchList.forEach(match => ''.replace(match, ''));
//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
var regexMatchList = ['', ''];
regexMatchList.forEach(function (match) { return ''.replace(match, ''); });