TypeScript/tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts
2014-07-12 17:30:19 -07:00

5 lines
116 B
TypeScript

// @noimplicitany: true
var regexMatchList = ['', ''];
regexMatchList.forEach(match => ''.replace(match, ''));