]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix useRoute and useRouter typo [skip ci] (#532)
authorSauli Anto <sauli.anto@gmail.com>
Tue, 13 Oct 2020 15:45:14 +0000 (18:45 +0300)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 15:45:14 +0000 (17:45 +0200)
docs/api/index.md

index 75f808699b31261ee6f56dca4626a869396b2bdf..17ae14aaddce7f14680cf9738275f6e0e5ac6766 100644 (file)
@@ -365,7 +365,7 @@ Returns the current route location. Equivalent to using `$route` inside template
 **Signature:**
 
 ```typescript
-export declare function userRoute(): RouteLocationNormalized
+export declare function useRoute(): RouteLocationNormalized
 ```
 
 ### useRouter
@@ -375,7 +375,7 @@ Returns the [router](#Router) instance. Equivalent to using `$router` inside tem
 **Signature:**
 
 ```typescript
-export declare function userRouter(): Router
+export declare function useRouter(): Router
 ```
 
 ## TypeScript