(state: (() => A | undefined) & { error: unknown; loading: boolean })
| 16 | } |
| 17 | |
| 18 | export function initializationReady<A>(state: (() => A | undefined) & { error: unknown; loading: boolean }) { |
| 19 | if (state.loading) return false |
| 20 | initializationData(state) |
| 21 | return true |
| 22 | } |
no test coverage detected