( selector: T )
| 2 | import {getMainObject} from "./index" |
| 3 | |
| 4 | export function select<T extends (state: State, ...args: any) => any>( |
| 5 | selector: T |
| 6 | ): ReturnType<T> { |
| 7 | const main = getMainObject() |
| 8 | return selector(main.store.getState()) |
| 9 | } |
no test coverage detected