From: Eduardo San Martin Morote Date: Fri, 13 Mar 2020 15:19:12 +0000 (+0100) Subject: refactor: remove extra type X-Git-Tag: v4.0.0-alpha.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208c61e3e67e38de8222cd2c09802ad8ba4416be;p=thirdparty%2Fvuejs%2Frouter.git refactor: remove extra type --- diff --git a/src/router.ts b/src/router.ts index ae9f18ae..e80caf5f 100644 --- a/src/router.ts +++ b/src/router.ts @@ -87,10 +87,7 @@ export function createRouter({ routes, scrollBehavior, }: RouterOptions): Router { - const matcher: ReturnType = createRouterMatcher( - routes, - {} - ) + const matcher = createRouterMatcher(routes, {}) const beforeGuards = useCallbacks() const afterGuards = useCallbacks()