From: Shigma Date: Mon, 1 Nov 2021 19:32:16 +0000 (+0800) Subject: style: fix incorrect jsdoc links (#1179) X-Git-Tag: v4.0.13~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22739c3918f1ce28e845a72019f85290bed9629d;p=thirdparty%2Fvuejs%2Frouter.git style: fix incorrect jsdoc links (#1179) --- diff --git a/src/matcher/types.ts b/src/matcher/types.ts index 256d540d..3939e935 100644 --- a/src/matcher/types.ts +++ b/src/matcher/types.ts @@ -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 { /** diff --git a/src/router.ts b/src/router.ts index 01e58661..585d8c9c 100644 --- a/src/router.ts +++ b/src/router.ts @@ -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. *