From: Eduardo San Martin Morote Date: Tue, 28 Apr 2020 15:29:49 +0000 (+0200) Subject: docs: add missing hyphen X-Git-Tag: v4.0.0-alpha.8~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8422a68bbb0b6178d24d79527f8698f9fa4d1d0f;p=thirdparty%2Fvuejs%2Frouter.git docs: add missing hyphen --- diff --git a/src/navigationGuards.ts b/src/navigationGuards.ts index a2e46667..fba11dbe 100644 --- a/src/navigationGuards.ts +++ b/src/navigationGuards.ts @@ -27,7 +27,7 @@ import { isESModule } from './utils' * left. Similarly to {@link beforeRouteLeave}, it has access to the * component instance as `this`. * - * @param leaveGuard {@link NavigationGuard} + * @param leaveGuard - {@link NavigationGuard} */ export function onBeforeRouteLeave(leaveGuard: NavigationGuard) { const instance = getCurrentInstance() @@ -59,7 +59,7 @@ export function onBeforeRouteLeave(leaveGuard: NavigationGuard) { * updated. Similarly to {@link beforeRouteUpdate}, it has access to the * component instance as `this`. * - * @param updateGuard {@link NavigationGuard} + * @param updateGuard - {@link NavigationGuard} */ export function onBeforeRouteUpdate(updateGuard: NavigationGuard) { const instance = getCurrentInstance()