From: Eduardo San Martin Morote Date: Sat, 1 Jun 2019 15:27:48 +0000 (+0200) Subject: fix: missing void type X-Git-Tag: v4.0.0-alpha.0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b228006629786819ef3aed3c84ff6cbba7caed7;p=thirdparty%2Fvuejs%2Frouter.git fix: missing void type --- diff --git a/src/types/index.ts b/src/types/index.ts index f925d2d6..76d4e646 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -62,7 +62,7 @@ export interface RouteLocationNormalized // TODO: type this for beforeRouteUpdate and beforeRouteLeave export interface RouteComponentInterface { - beforeRouteEnter?: NavigationGuard + beforeRouteEnter?: NavigationGuard /** * Guard called when the router is navigating away from the current route * that is rendering this component.