(data: T)
| 495 | const matches: T[] = []; |
| 496 | |
| 497 | const push = (data: T) => { |
| 498 | if (!found.has(data)) { |
| 499 | found.add(data); |
| 500 | matches.push(data); |
| 501 | } |
| 502 | }; |
| 503 | |
| 504 | for (const r of trie.regexps) { |
| 505 | if (r.regexp.test(url)) { |
no test coverage detected