Type alias StateAtom<DataType, Modifiers>
StateAtom<DataType, Modifiers>: DeepReadonlyStateAtom<{
[key in keyof DataType]: DataType[key]
}> & {
[key in keyof Modifiers]: BoundModifier<Modifiers[key]>
} & {
[StateAtomIdentifier]: 10;
}
Type Parameters
-
-
Modifiers extends {
[actionName: string]: AnyModifier<DataType>;
} = EmptyObject
Type declaration
-
[StateAtomIdentifier]: 10