Skip to content

Commit

Permalink
test: fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 11, 2020
1 parent 57be982 commit adde4c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit adde4c2

Please sign in to comment.