TypeScript/tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts

5 lines
116 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
// @noimplicitany: true
var regexMatchList = ['', ''];
regexMatchList.forEach(match => ''.replace(match, ''));