]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: api docs
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 7 Jun 2022 12:29:04 +0000 (14:29 +0200)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Thu, 30 Jun 2022 07:59:00 +0000 (09:59 +0200)
src/types/index.ts

index ddfd0dc1187147cd3b6de1f66d177de50ef6b794..1d386270e6e24d16a9c6228bdfd7eeeb9023d66e 100644 (file)
@@ -89,13 +89,18 @@ export interface LocationAsRelative<
     : RouteParams
 }
 
+/**
+ * Common options for all navigation methods.
+ */
 export interface RouteLocationOptions {
   /**
    * Replace the entry in the history instead of pushing a new entry
    */
   replace?: boolean
   /**
-   * Triggers the navigation even if the location is the same as the current one
+   * Triggers the navigation even if the location is the same as the current one.
+   * Note this will also add a new entry to the history unless `replace: true`
+   * is passed.
    */
   force?: boolean
   /**