We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that history.push is typed incorrectly. I'm trying to pass the function as reference to redux-saga's call effect which causes an error:
history.push
call
const path: History.Path = ...; yield call({ context: history, fn: history.push }, path);
The error is:
TS2769: No overload matches this call. Argument of type 'string' is not assignable to parameter of type 'LocationDescriptorObject<PoorMansUnknown>'.
The text was updated successfully, but these errors were encountered:
It looks like you're using the types for version 4 which are maintained in https://github.com/DefinitelyTyped/DefinitelyTyped. You'll probably want to open an issue over there instead of here.
Sorry, something went wrong.
No branches or pull requests
It seems that
history.push
is typed incorrectly. I'm trying to pass the function as reference to redux-saga'scall
effect which causes an error:The error is:
The text was updated successfully, but these errors were encountered: