From: Eduardo San Martin Morote Date: Wed, 3 Aug 2022 08:06:28 +0000 (+0200) Subject: docs: better format X-Git-Tag: v4.1.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee9477f96d4a2cd458f051c31b673c287bd2017;p=thirdparty%2Fvuejs%2Frouter.git docs: better format --- diff --git a/packages/router/src/RouterLink.ts b/packages/router/src/RouterLink.ts index 702efa14..3bc133da 100644 --- a/packages/router/src/RouterLink.ts +++ b/packages/router/src/RouterLink.ts @@ -67,7 +67,7 @@ export interface RouterLinkProps extends RouterLinkOptions { /** * Value passed to the attribute `aria-current` when the link is exact active. * - * @defaultValue 'page' + * @defaultValue `'page'` */ ariaCurrentValue?: | 'page' diff --git a/packages/router/src/matcher/pathParserRanker.ts b/packages/router/src/matcher/pathParserRanker.ts index 5c8e0757..67001379 100644 --- a/packages/router/src/matcher/pathParserRanker.ts +++ b/packages/router/src/matcher/pathParserRanker.ts @@ -54,14 +54,14 @@ export interface _PathParserOptions { /** * Makes the RegExp case-sensitive. * - * @defaultValue false + * @defaultValue `false` */ sensitive?: boolean /** * Whether to disallow a trailing slash or not. * - * @defaultValue false + * @defaultValue `false` */ strict?: boolean @@ -69,14 +69,14 @@ export interface _PathParserOptions { * Should the RegExp match from the beginning by prepending a `^` to it. * @internal * - * @defaultValue true + * @defaultValue `true` */ start?: boolean /** * Should the RegExp match until the end by appending a `$` to it. * - * @defaultValue true + * @defaultValue `true` */ end?: boolean }