(xs: T | T[], f: (x: T) => void)
| 74 | } |
| 75 | |
| 76 | export function eachItem<T>(xs: T | T[], f: (x: T) => void): void { |
| 77 | if (Array.isArray(xs)) { |
| 78 | for (const x of xs) f(x) |
| 79 | } else { |
| 80 | f(xs) |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | type SomeEvaluated = EvaluatedProperties | EvaluatedItems |
| 85 |
no outgoing calls
no test coverage detected
searching dependent graphs…