2 lines
86 B
TypeScript

export declare function useShallow<S, U>(selector: (state: S) => U): (state: S) => U;