Skip to content

Commit 5b82ce8

Browse files
ggodlewskikazupon
authored andcommitted
Fix typo (#1096)
* Fix typo * Update index.ts
1 parent ef130f3 commit 5b82ce8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

types/router.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare class VueRouter {
2727
go (n: number): void;
2828
back (): void;
2929
forward (): void;
30-
getMatchedComponentes (to?: RawLocation): Component[];
30+
getMatchedComponents (to?: RawLocation): Component[];
3131
resolve (to: RawLocation, current?: Route, append?: boolean): {
3232
normalizedTo: Location;
3333
resolved: Route;

types/test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ router.go(-1);
128128
router.back();
129129
router.forward();
130130

131-
const Components: ComponentOptions<Vue> | typeof Vue = router.getMatchedComponentes();
131+
const Components: ComponentOptions<Vue> | typeof Vue = router.getMatchedComponents();
132132

133133
const vm = new Vue({
134134
router,

0 commit comments

Comments
 (0)