mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
5 lines
327 B
TypeScript
5 lines
327 B
TypeScript
|
import { MergeStateSetter } from './useMergeState';
|
||
|
declare type Mapper<TProps, TState> = (props: TProps, state: TState) => null | Partial<TState>;
|
||
|
export default function useMergeStateFromProps<TProps, TState>(props: TProps, gDSFP: Mapper<TProps, TState>, initialState: TState): [TState, MergeStateSetter<TState>];
|
||
|
export {};
|