Type Alias ExtractCleanStateData<YourCleanState>

ExtractCleanStateData: Omit<YourCleanState, keyof CleanStateBase<{}>>

Takes a TCleanState type and returns the initialState type associated with the provided TCleanState.

This is useful to isolate the type of your actual state data without any of the reserved keys provided by the Clean State utility.

Type Parameters

  • YourCleanState extends CleanStateBase<{}>