(key?: K)
| 37 | export function getState(): State; |
| 38 | export function getState<K extends keyof State>(key: K): State[K]; |
| 39 | export function getState<K extends keyof State>(key?: K) { |
| 40 | return key ? currentState[key] : currentState; |
| 41 | } |
| 42 | |
| 43 | export function resetState() { |
| 44 | currentState = {}; |
no outgoing calls
no test coverage detected
searching dependent graphs…