]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
style: fix incorrect jsdoc links (#1179)
authorShigma <shigma10826@gmail.com>
Mon, 1 Nov 2021 19:32:16 +0000 (03:32 +0800)
committerGitHub <noreply@github.com>
Mon, 1 Nov 2021 19:32:16 +0000 (20:32 +0100)
src/matcher/types.ts
src/router.ts

index 256d540d1111b9eadf29f2a5bdb053dc369e5731..3939e9354503d80e960138c04ccf68c1dc451025 100644 (file)
@@ -9,7 +9,7 @@ import { ComponentPublicInstance } from 'vue'
 
 // normalize component/components into components and make every property always present
 /**
- * Normalized version of a {@link RouteRecord | Route Record}
+ * Normalized version of a {@link RouteRecord route record}
  */
 export interface RouteRecordNormalized {
   /**
index 01e586610fa359fdda9fd782157857bf5ca0be97..585d8c9c06b3bfb08348c01623286e2334d77d03 100644 (file)
@@ -198,14 +198,14 @@ export interface Router {
   readonly options: RouterOptions
 
   /**
-   * Add a new {@link RouteRecordRaw | Route Record} as the child of an existing route.
+   * Add a new {@link RouteRecordRaw route record} as the child of an existing route.
    *
    * @param parentName - Parent Route Record where `route` should be appended at
    * @param route - Route Record to add
    */
   addRoute(parentName: RouteRecordName, route: RouteRecordRaw): () => void
   /**
-   * Add a new {@link RouteRecordRaw route record} to the router.
+   * Add a new {@link RouteRecordRaw route record} to the router.
    *
    * @param route - Route Record to add
    */
@@ -223,13 +223,13 @@ export interface Router {
    */
   hasRoute(name: RouteRecordName): boolean
   /**
-   * Get a full list of all the {@link RouteRecord route records}.
+   * Get a full list of all the {@link RouteRecord route records}.
    */
   getRoutes(): RouteRecord[]
 
   /**
-   * Returns the {@link RouteLocation normalized version} of a
-   * {@link RouteLocationRaw route location}. Also includes an `href` property
+   * Returns the {@link RouteLocation normalized version} of a
+   * {@link RouteLocationRaw route location}. Also includes an `href` property
    * that includes any existing `base`. By default the `currentLocation` used is
    * `route.currentRoute` and should only be overriden in advanced use cases.
    *