We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e08a66 commit 0384cb0Copy full SHA for 0384cb0
src/RouterLink.ts
@@ -107,7 +107,7 @@ export function useLink(props: UseLinkOptions) {
107
isSameRouteLocationParams(currentRoute.params, route.value.params)
108
)
109
110
- function navigate(e: MouseEvent = {} as MouseEvent): Promise<any> {
+ function navigate(e: MouseEvent = {} as MouseEvent) {
111
if (guardEvent(e))
112
return router[unref(props.replace) ? 'replace' : 'push'](unref(props.to))
113
return Promise.resolve()
0 commit comments