From 46931a1aa60b4081b6d15261509c3b694bfa9ca0 Mon Sep 17 00:00:00 2001 From: dfedoryshchev Date: Fri, 19 Jun 2026 16:35:03 +0100 Subject: [PATCH] docs: correct createBrowserHistory JSDoc option to parseLocation --- packages/history/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/history/src/index.ts b/packages/history/src/index.ts index 0f3be8242e..f7ea397f71 100644 --- a/packages/history/src/index.ts +++ b/packages/history/src/index.ts @@ -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 */