Skip to content

Commit

Permalink
refactor(types): unused generic
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 16, 2022
1 parent 2feb16c commit a73edd1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/router/src/types/index.ts
Expand Up @@ -49,8 +49,8 @@ export interface RouteQueryAndHash {
/**
* @internal
*/
export interface MatcherLocationAsPath<P extends string = string> {
path: P
export interface MatcherLocationAsPath {
path: string
}

/**
Expand All @@ -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
}

/**
Expand Down

0 comments on commit a73edd1

Please sign in to comment.