]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 24 Nov 2022 16:02:16 +0000 (17:02 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 24 Nov 2022 16:02:16 +0000 (17:02 +0100)
Close #1615

packages/router/src/router.ts

index e0ec065aaef3cb4cd17ae206cffde3a6f416a850..b74789d5dca2f78051a73bc1432ab3a3ae91c2b8 100644 (file)
@@ -236,7 +236,7 @@ export interface Router {
    * Returns the {@link RouteLocation | normalized version} of a
    * {@link RouteLocationRaw | route location}. Also includes an `href` property
    * that includes any existing `base`. By default, the `currentLocation` used is
-   * `route.currentRoute` and should only be overridden in advanced use cases.
+   * `router.currentRoute` and should only be overridden in advanced use cases.
    *
    * @param to - Raw route location to resolve
    * @param currentLocation - Optional current location to resolve against