]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
fix(types): allow `symbol` type (#1460)
authorxunmi <21360108+xunmi1@users.noreply.github.com>
Fri, 8 Jul 2022 13:36:58 +0000 (21:36 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Jul 2022 13:36:58 +0000 (15:36 +0200)
packages/router/src/types/index.ts

index 4f5df48dfb7d1fff34fe32894180c5a13fe7dcef..e24868bd80978be2650fb3307cd13134afff4c55 100644 (file)
@@ -65,7 +65,7 @@ export interface MatcherLocationAsName {
  * @internal
  */
 export interface LocationAsRelativeRaw {
-  name?: string
+  name?: RouteRecordName
   params?: RouteParamsRaw
 }