Skip to content

Commit

Permalink
fix: allow untyped router with data loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 23, 2024
1 parent a974f50 commit 51f7d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-fetching/navigation-guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export interface DataLoaderPluginOptions {
/**
* The router instance. Adds the guards to it
*/
router: _Router
router: Router | UntypedRouter

/**
* Called if any data loader returns a `NavigationResult` with an array of them. Should decide what is the outcome of
Expand Down

0 comments on commit 51f7d55

Please sign in to comment.