(
selector: (state: ReturnType<typeof getState>) => T
)
| 56 | getEnvironmentByName: mocks.getEnvironmentByName, |
| 57 | }); |
| 58 | const useAppStore = <T,>( |
| 59 | selector: (state: ReturnType<typeof getState>) => T |
| 60 | ) => selector(getState()); |
| 61 | useAppStore.getState = getState; |
| 62 | return { useAppStore }; |
| 63 | }); |
no test coverage detected