( json: HookJSONOutput, )
| 187 | |
| 188 | // Type guard function to check if response is async |
| 189 | export function isAsyncHookJSONOutput( |
| 190 | json: HookJSONOutput, |
| 191 | ): json is AsyncHookJSONOutput { |
| 192 | return 'async' in json && json.async === true |
| 193 | } |
| 194 | |
| 195 | // Compile-time assertion that SDK and Zod types match |
| 196 | import type { IsEqual } from 'type-fest' |
no outgoing calls
no test coverage detected