refactor(TypeScript): Add noImplicitAny
We automatically insert explicit 'any's where needed. These need to be addressed as in #9100. Fixes #4924
This commit is contained in:
@ -5,5 +5,5 @@ var _RE_SPECIAL_CHARS =
|
||||
var _ESCAPE_RE = RegExpWrapper.create(`[\\${_RE_SPECIAL_CHARS.join('\\')}]`);
|
||||
export function containsRegexp(input: string): RegExp {
|
||||
return RegExpWrapper.create(
|
||||
StringWrapper.replaceAllMapped(input, _ESCAPE_RE, (match) => `\\${match[0]}`));
|
||||
StringWrapper.replaceAllMapped(input, _ESCAPE_RE, (match: any /** TODO #9100 */) => `\\${match[0]}`));
|
||||
}
|
||||
|
Reference in New Issue
Block a user