Skip to content

Commit 204f807

Browse files
committed
fix RouteRecord type
1 parent 1f92b08 commit 204f807

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

flow/declarations.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ declare type RouteRecord = {
3838
redirect: ?RedirectOption;
3939
matchAs: ?string;
4040
beforeEnter: ?Function;
41-
beforeLeave: ?Function;
4241
meta: any;
4342
}
4443

src/create-route-map.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function addRouteRecord (
3939
matchAs,
4040
redirect: route.redirect,
4141
beforeEnter: route.beforeEnter,
42-
beforeLeave: route.beforeLeave,
4342
meta: route.meta || {}
4443
}
4544

0 commit comments

Comments
 (0)