Fix: no implicit any
This commit is contained in:
parent
dca10f23de
commit
4307e4bde8
@ -17,7 +17,7 @@ export class PipeParser extends AbstractTemplateParser implements ParserInterfac
|
|||||||
|
|
||||||
const regExp = new RegExp(/(['"`])([^\1\r\n]*)\1\s*\|\s*translate(:.*?)?/, 'g');
|
const regExp = new RegExp(/(['"`])([^\1\r\n]*)\1\s*\|\s*translate(:.*?)?/, 'g');
|
||||||
|
|
||||||
let matches;
|
let matches: RegExpExecArray;
|
||||||
while (matches = regExp.exec(template)) {
|
while (matches = regExp.exec(template)) {
|
||||||
collection = collection.add(matches[2]);
|
collection = collection.add(matches[2]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user