(match: string[])
| 15 | const res = [] |
| 16 | |
| 17 | const parse = (match: string[]) => { |
| 18 | let variadic = false |
| 19 | let value = match[1] |
| 20 | if (value.startsWith('...')) { |
| 21 | value = value.slice(3) |
| 22 | variadic = true |
| 23 | } |
| 24 | return { |
| 25 | required: match[0].startsWith('<'), |
| 26 | value, |
| 27 | variadic, |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | let angledMatch |
| 32 | while ((angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v))) { |
no outgoing calls
no test coverage detected
searching dependent graphs…