From: Eduardo San Martin Morote Date: Tue, 16 Aug 2022 14:05:20 +0000 (+0200) Subject: refactor(types): unused generic X-Git-Tag: v4.1.4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a73edd1232931f6e44d900fe76d6f83813510290;p=thirdparty%2Fvuejs%2Frouter.git refactor(types): unused generic --- diff --git a/packages/router/src/types/index.ts b/packages/router/src/types/index.ts index ef5b7f1d..9860e671 100644 --- a/packages/router/src/types/index.ts +++ b/packages/router/src/types/index.ts @@ -49,8 +49,8 @@ export interface RouteQueryAndHash { /** * @internal */ -export interface MatcherLocationAsPath

{ - path: P +export interface MatcherLocationAsPath { + path: string } /** @@ -64,16 +64,16 @@ export interface MatcherLocationAsName { /** * @internal */ -export interface LocationAsRelativeRaw { - name?: RouteRecordName - params?: RouteParamsRaw +export interface MatcherLocationAsRelative { + params?: RouteParams } /** * @internal */ -export interface MatcherLocationAsRelative { - params?: RouteParams +export interface LocationAsRelativeRaw { + name?: RouteRecordName + params?: RouteParamsRaw } /**