]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
rollback router
authorpikax <carlos@hypermob.co.uk>
Fri, 9 Apr 2021 15:43:02 +0000 (16:43 +0100)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Thu, 30 Jun 2022 07:59:00 +0000 (09:59 +0200)
src/router.ts
src/types/index.ts

index 4f4f704ed8a8be9d8d672cb7974cffb95a84bf54..68b0da8fb57cb72eaadeb9a9f2f77e5f44cc2f30 100644 (file)
@@ -255,13 +255,6 @@ export interface Router {
    * @param to - Route location to navigate to
    */
   push(to: RouteLocationRaw): Promise<NavigationFailure | void | undefined>
-  /**
-   * Programmatically navigate to a new URL by pushing an entry in the history
-   * stack.
-   *
-   * @param to - typed route location
-   */
-  // push(to: RouteNamedLocation): Promise<NavigationFailure | void | undefined>
 
   /**
    * Programmatically navigate to a new URL by replacing the current entry in
index ccefc923fa0b148f651c25b862805d30707ec648..85a60deb8c9e8e45d855151de5f47a6111d94b43 100644 (file)
@@ -218,7 +218,7 @@ export interface _RouteRecordBase extends PathParserOptions {
   /**
    * Array of nested routes.
    */
-  children?: RouteRecordRaw[] | Readonly<RouteRecordRaw[]>
+  children?: RouteRecordRaw[]
   /**
    * Aliases for the record. Allows defining extra paths that will behave like a
    * copy of the record. Allows having paths shorthands like `/users/:id` and