Skip to content

Commit 4d4d228

Browse files
ktsnposva
authored andcommitted
chore: fix invalid type annotation in typings test (vuejs#1713)
1 parent e69bc47 commit 4d4d228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/test/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ router.go(-1);
163163
router.back();
164164
router.forward();
165165

166-
const Components: ComponentOptions<Vue> | typeof Vue = router.getMatchedComponents();
166+
const Components: (ComponentOptions<Vue> | typeof Vue)[] = router.getMatchedComponents();
167167

168168
const vm = new Vue({
169169
router,

0 commit comments

Comments
 (0)