From adde4c25f9f33e3e83b00257e612e85deacf195d Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 11 Sep 2020 15:23:31 +0200 Subject: [PATCH] test: fix typings --- __tests__/router.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/router.spec.ts b/__tests__/router.spec.ts index e45dca12..5e74d6a8 100644 --- a/__tests__/router.spec.ts +++ b/__tests__/router.spec.ts @@ -389,7 +389,7 @@ describe('Router', () => { describe('navigation cancelled', () => { async function checkNavigationCancelledOnPush( - target?: RouteLocationRaw | false | ((vm: any) => any) + target?: RouteLocationRaw | false ) { const [p1, r1] = fakePromise() const history = createMemoryHistory() @@ -436,7 +436,7 @@ describe('Router', () => { }) async function checkNavigationCancelledOnPopstate( - target?: RouteLocationRaw | false | ((vm: any) => void) + target?: RouteLocationRaw | false ) { const [p1, r1] = fakePromise() const [p2, r2] = fakePromise() -- 2.47.2