(value: unknown)
| 89 | return value; |
| 90 | } |
| 91 | function count(value: unknown): number { |
| 92 | if (typeof value !== 'number' || !Number.isSafeInteger(value) || value < 0) |
| 93 | throw new Error('Invalid impact count'); |
| 94 | return value; |
| 95 | } |
| 96 | function flag(value: unknown): boolean { |
| 97 | if (typeof value !== 'boolean') throw new Error('Invalid impact flag'); |
| 98 | return value; |
no outgoing calls
no test coverage detected