@laserware/stasis
    Preparing search index...

    Type Alias ValidateSliceCaseReducers<S, ACR>

    ValidateSliceCaseReducers: ACR & {
        [T in keyof ACR]: ACR[T] extends { reducer(s: S, action?: A): any }
            ? { prepare(...a: never[]): Omit<A, "type"> }
            : {}
    }

    Used on a SliceCaseReducers object. Ensures that if a CaseReducer is a CaseReducerWithPrepare, that the reducer and the prepare function use the same type of payload.

    Might do additional such checks in the future.

    This type is only ever useful if you want to write your own wrapper around createSlice. Please don't use it otherwise!

    Type Parameters