(value: T | symbol)
| 8 | * Every interactive prompt result must flow through this. |
| 9 | */ |
| 10 | export function unwrap<T>(value: T | symbol): T { |
| 11 | if (p.isCancel(value)) { |
| 12 | p.cancel('Aborted'); |
| 13 | process.exit(0); |
| 14 | } |
| 15 | return value as T; |
| 16 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…