-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
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
unknown[]
type of arguments for history
methods
#50
Comments
@faminchik please upgrade to 5.x it should be fixed |
@faminchik lmk if it solves your issue |
Hello Salvatore, I've installed If take a look at the export declare const push: (...args: Parameters<History[HistoryMethods]>) => ReduxAction;
export declare const replace: (...args: Parameters<History[HistoryMethods]>) => ReduxAction;
export declare const go: (...args: Parameters<History[HistoryMethods]>) => ReduxAction;
export declare const goBack: (...args: Parameters<History[HistoryMethods]>) => ReduxAction;
export declare const goForward: (...args: Parameters<History[HistoryMethods]>) => ReduxAction;
export declare type HistoryMethods = 'push' | 'replace' | 'go' | 'goBack' | 'goForward'; And since all these five methods have nothing in common, then I guess the reason is in the following function. |
Please try 5.0.2. Can you create a codesandbox? |
push
,replace
,go
,goBack
,goForward
history methods haveunknown[]
type for arguments.The text was updated successfully, but these errors were encountered: