From 46d30ca602548556fc2fc8b22256b8343ea485fa Mon Sep 17 00:00:00 2001 From: Sauli Anto Date: Tue, 13 Oct 2020 18:45:14 +0300 Subject: [PATCH] docs: fix useRoute and useRouter typo [skip ci] (#532) --- docs/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3