diff --git a/__tests__/guards/beforeRouteEnter.spec.ts b/__tests__/guards/beforeRouteEnter.spec.ts index 7a5397da7..82e05418c 100644 --- a/__tests__/guards/beforeRouteEnter.spec.ts +++ b/__tests__/guards/beforeRouteEnter.spec.ts @@ -5,8 +5,10 @@ import { RouteRecordRaw, NavigationGuard } from '../../src/types' const Home = { template: `
Home
` } const Foo = { template: `
Foo
` } -const beforeRouteEnter = - jest.fn, Parameters>() +const beforeRouteEnter = jest.fn< + ReturnType, + Parameters +>() const named = { default: jest.fn(), other: jest.fn(),