• Calling this redux#ActionCreator with an argument will return a PayloadAction of type T with a payload of P

    Parameters

    • payload: boolean

    Returns {
        payload: boolean;
        type: "app/setMyState2";
    }

    • payload: boolean
    • type: "app/setMyState2"

Generated using TypeDoc