Skip to content

Commit 22739c3

Browse files
authored
style: fix incorrect jsdoc links (vuejs#1179)
1 parent f47e569 commit 22739c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/matcher/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { ComponentPublicInstance } from 'vue'
99

1010
// normalize component/components into components and make every property always present
1111
/**
12-
* Normalized version of a {@link RouteRecord | Route Record}
12+
* Normalized version of a {@link RouteRecord route record}
1313
*/
1414
export interface RouteRecordNormalized {
1515
/**

src/router.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,14 @@ export interface Router {
198198
readonly options: RouterOptions
199199

200200
/**
201-
* Add a new {@link RouteRecordRaw | Route Record} as the child of an existing route.
201+
* Add a new {@link RouteRecordRaw route record} as the child of an existing route.
202202
*
203203
* @param parentName - Parent Route Record where `route` should be appended at
204204
* @param route - Route Record to add
205205
*/
206206
addRoute(parentName: RouteRecordName, route: RouteRecordRaw): () => void
207207
/**
208-
* Add a new {@link RouteRecordRaw | route record} to the router.
208+
* Add a new {@link RouteRecordRaw route record} to the router.
209209
*
210210
* @param route - Route Record to add
211211
*/
@@ -223,13 +223,13 @@ export interface Router {
223223
*/
224224
hasRoute(name: RouteRecordName): boolean
225225
/**
226-
* Get a full list of all the {@link RouteRecord | route records}.
226+
* Get a full list of all the {@link RouteRecord route records}.
227227
*/
228228
getRoutes(): RouteRecord[]
229229

230230
/**
231-
* Returns the {@link RouteLocation | normalized version} of a
232-
* {@link RouteLocationRaw | route ___location}. Also includes an `href` property
231+
* Returns the {@link RouteLocation normalized version} of a
232+
* {@link RouteLocationRaw route ___location}. Also includes an `href` property
233233
* that includes any existing `base`. By default the `currentLocation` used is
234234
* `route.currentRoute` and should only be overriden in advanced use cases.
235235
*

0 commit comments

Comments
 (0)