You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export interface Update<S extends State = State> {
/**
* The action that triggered the change.
*/
action: Action;
/**
* The new location.
*/
location: Location<S>;
}
/**
* A change to the current location that was blocked. May be retried
* after obtaining user confirmation.
*/
export interface Transition<S extends State = State> extends Update<S> {
/**
* Retries the update to the current location.
*/
retry(): void;
}
/**
* A function that receives transitions when navigation is blocked.
*/
export interface Blocker<S extends State = State> {
(tx: Transition<S>): void;
}
从 ice 中导入的 history、withRouter 等 API 缺少类型提示
The text was updated successfully, but these errors were encountered: