Skip to content

Commit 489547f

Browse files
committed
feat: deprecate end option
1 parent 39fae07 commit 489547f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/router/src/matcher/pathParserRanker.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ export interface _PathParserOptions {
7676
/**
7777
* Should the RegExp match until the end by appending a `$` to it.
7878
*
79+
* @deprecated this option will alsways be `true` in the future. Open a discussion in vuejs/router if you need this to be `false`
80+
*
7981
* @defaultValue `true`
8082
*/
8183
end?: boolean

0 commit comments

Comments
 (0)