Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/history/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function assignKeyAndIndex(index: number, state: HistoryState | undefined) {
* but if you need to ensure that the browser state is up to date, you can use the
* `history.flush` method to immediately flush all pending state changes to the browser URL.
* @param opts
* @param opts.getHref A function that returns the current href (path + search + hash)
* @param opts.parseLocation A function that returns the current location as a `HistoryLocation`
* @param opts.createHref A function that takes a path and returns a href (path + search + hash)
* @returns A history instance
*/
Expand Down