From: Eduardo San Martin Morote Date: Mon, 2 May 2022 16:46:08 +0000 (+0200) Subject: test: avoid type error X-Git-Tag: v4.1.0~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3298e1a861b8a6aacb58f21b15f12406350081f9;p=thirdparty%2Fvuejs%2Frouter.git test: avoid type error --- diff --git a/src/navigationGuards.ts b/src/navigationGuards.ts index 8a6091c9..ae9e142f 100644 --- a/src/navigationGuards.ts +++ b/src/navigationGuards.ts @@ -385,6 +385,7 @@ export function loadRouteLocation( // replace the function with the resolved component // cannot be null or undefined because we went into the for loop record.components![name] = resolvedComponent + return }) ) }