Viewing File: /home/ubuntu/voice-assistant-frontend/node_modules/@restart/hooks/esm/useMergeStateFromProps.d.ts

import { MergeStateSetter } from './useMergeState';
type Mapper<TProps, TState> = (props: TProps, state: TState) => null | Partial<TState>;
export default function useMergeStateFromProps<TProps, TState extends {}>(props: TProps, gDSFP: Mapper<TProps, TState>, initialState: TState): [TState, MergeStateSetter<TState>];
export {};
Back to Directory File Manager