Type alias DataTransform<T>
DataTransform<T>: { contents: Content<T> | null; type: "cancel" | "clear" | "merge" | "overwrite"; } Type Parameters
- T extends ReadonlyPartialJSONValue = ReadonlyPartialJSONValue
Type declaration
contents: Content<T> | null
type: "cancel" | "clear" | "merge" | "overwrite"
A data transformation that can be applied to a state database.