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
historyContext does not return something that can be used with history.listen().
historyContext
history.listen()
export function historyContext( rollbar: Rollbar, args: { formatter: (location: string, action: string) => string; filter: (location: string, action: string) => boolean; } ): ( v4Location: { action: string; filter: (location: string, action: string) => boolean; }, v4action: string ) => void;
The text was updated successfully, but these errors were encountered:
The documentation also states: "The signature is filter(location, action): Boolean where location is history.location and action is history.action."
However, from the above the location type is a string.
location
string
Sorry, something went wrong.
The example usage: history.listen(historyContext(rollbar)); also doesn't work, as the args parameter is not optional.
history.listen(historyContext(rollbar));
args
No branches or pull requests
historyContext
does not return something that can be used withhistory.listen()
.The text was updated successfully, but these errors were encountered: