Skip to content

Commit

Permalink
feat: undeprecate runInComponentGuards
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Nov 26, 2021
1 parent a96adf4 commit 816f5fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ export interface RouterMockOptions extends Partial<RouterOptions> {
initialLocation?: RouteLocationRaw

/**
* Run in-component guards. Defaults to false.
* @deprecated use `useRealNavigation` instead
* Run in-component guards. Defaults to false. Setting this to `true` will also run global guards as if
* `useRealNavigation` was set to `true`.
*/
runInComponentGuards?: boolean

/**
* Runs all navigation through a `push()` or `replace()` to effectively run any global and per-component navigation
* guard.
* Runs all navigation through a `push()` or `replace()` to effectively run any global.
*/
useRealNavigation?: boolean

Expand Down

0 comments on commit 816f5fa

Please sign in to comment.