| 2 | import { check } from 'recheck'; |
| 3 | |
| 4 | interface RegexpObj { |
| 5 | [k: string]: RegExp | string | ((arg: number) => RegExp | string) | ((arg: string) => RegExp | string) | RegexpObj; |
| 6 | } |
| 7 | |
| 8 | async function checkRegexp(obj: RegexpObj, name: string) { |
| 9 | await Promise.all(Object.keys(obj).map(async(prop: string) => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…