]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: add missing hyphen
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 28 Apr 2020 15:29:49 +0000 (17:29 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 28 Apr 2020 15:29:49 +0000 (17:29 +0200)
src/navigationGuards.ts

index a2e46667c4f0f304e0a645f559f79be06e513dfb..fba11dbe6079c741954a530adfcaba5ff9194495 100644 (file)
@@ -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()