Skip to content

Commit

Permalink
types: replace internal any by unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jul 27, 2023
1 parent a1611b6 commit d93a5d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/router/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ export interface NavigationGuardNext {
// _called: boolean
}

export type NavigationGuardNextCallback = (vm: ComponentPublicInstance) => any
export type NavigationGuardNextCallback = (
vm: ComponentPublicInstance
) => unknown

export type NavigationGuardReturn =
| void
Expand Down

0 comments on commit d93a5d8

Please sign in to comment.