From: Eduardo San Martin Morote Date: Thu, 2 Apr 2020 07:32:25 +0000 (+0200) Subject: test: fix type X-Git-Tag: v4.0.0-alpha.5~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe0883a6d84b25f7c9837d4f9bb37af4d6aba0e;p=thirdparty%2Fvuejs%2Frouter.git test: fix type --- diff --git a/e2e/modal/index.ts b/e2e/modal/index.ts index 23ed5231..96e3fb8d 100644 --- a/e2e/modal/index.ts +++ b/e2e/modal/index.ts @@ -1,8 +1,5 @@ import { createRouter, createWebHistory, useRoute, useView } from '../../src' -import { - RouteComponent, - RouteLocationNormalizedResolved, -} from '../../src/types' +import { RouteComponent, RouteLocationNormalizedLoaded } from '../../src/types' import { createApp, readonly, ref, watchEffect, computed, toRefs } from 'vue' const users = readonly([ @@ -134,7 +131,7 @@ const app = createApp({ if (historyState.value.backgroundView) { return router.resolve( historyState.value.backgroundView - ) as RouteLocationNormalizedResolved + ) as RouteLocationNormalizedLoaded } else { return route }