Skip to content

Type Alias: SetState ​

ts
type SetState = <K>(key, value) => void;

Type Parameters ​

Type Parameter
K extends keyof State

Parameters ​

ParameterType
keyK
valueState[K]

Returns ​

void

Released under the MIT License.