From cd11a0e965efd8ce6aa1b880c77ec1f6b56020aa Mon Sep 17 00:00:00 2001 From: ktsn Date: Thu, 31 Aug 2017 17:26:54 +0900 Subject: [PATCH] chore: fix invalid type annotation in typings test --- types/test/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,