]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: add todo
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 18 Feb 2020 15:41:12 +0000 (16:41 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 18 Feb 2020 15:41:12 +0000 (16:41 +0100)
src/types/index.ts

index df5010cf2280efaadc9432621c03a0776ed6efb0..00ab7e9ae87e222caa22236d949fa3124d8cdd43 100644 (file)
@@ -198,6 +198,7 @@ export interface NavigationGuardCallback {
 export interface NavigationGuard<V = void> {
   (
     this: V,
+    // TODO: we could maybe add extra information like replace: true/false
     to: Immutable<RouteLocationNormalized>,
     from: Immutable<RouteLocationNormalized>,
     next: NavigationGuardCallback