A
Size: a a a
A
R
export const login = (email: string, password: string) => (dispatch: Dispatch<AuthDispatchTypes>): void => {
....}Как мне вызвать ее с другого thunk метода ?🧨
R
🧨
R
🧨
🧨
R
R
АВ
АВ
R
Argument of type '(dispatch: Dispatch<AuthDispatchTypes>) => void' is not assignable to parameter of type 'AuthDispatchTypes'.
Type '(dispatch: Dispatch<AuthDispatchTypes>) => void' is missing the following properties from type 'UpdateUser': type, payload
R
АВ
АВ
🧨
🧨