]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
refactor: aliasOf typje
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 29 Oct 2025 13:35:22 +0000 (14:35 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 29 Oct 2025 13:35:22 +0000 (14:35 +0100)
packages/router/src/experimental/router.ts

index c2c249e24f87b7e1fee2dbb3c77a0d05d46eb60d..d491e57b50f5a436de2df339d51d7b8c84b5d577 100644 (file)
@@ -197,7 +197,7 @@ export interface EXPERIMENTAL_RouteRecord_Base
   /**
    * References another record if this record is an alias of it.
    */
-  aliasOf?: unknown
+  aliasOf?: this
 
   // TODO: deprecate, expose utils to compare resolved routes, and document
   // how to create a meta field that does the same