From: Sauli Anto Date: Tue, 13 Oct 2020 15:45:14 +0000 (+0300) Subject: docs: fix useRoute and useRouter typo [skip ci] (#532) X-Git-Tag: v4.0.0-rc.1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46d30ca602548556fc2fc8b22256b8343ea485fa;p=thirdparty%2Fvuejs%2Frouter.git docs: fix useRoute and useRouter typo [skip ci] (#532) --- diff --git a/docs/api/index.md b/docs/api/index.md index 75f80869..17ae14aa 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -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