]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test: fix type
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Apr 2020 07:32:25 +0000 (09:32 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Apr 2020 07:32:25 +0000 (09:32 +0200)
e2e/modal/index.ts

index 23ed52316ac352b3186120eed12d3e0118cde652..96e3fb8dad19c1dcb4b20160b61fc1dd84abf61c 100644 (file)
@@ -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
       }