diff --git a/types/test/index.ts b/types/test/index.ts index 9a0bc3612..1b5d24669 100644 --- a/types/test/index.ts +++ b/types/test/index.ts @@ -163,7 +163,7 @@ router.go(-1); router.back(); router.forward(); -const Components: ComponentOptions | typeof Vue = router.getMatchedComponents(); +const Components: (ComponentOptions | typeof Vue)[] = router.getMatchedComponents(); const vm = new Vue({ router,