Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

GeneratedRoutes

interfaz

Rutas de la aplicación con sus parámetros, por ID. Está vacía en el paquete: la amplían las declaraciones generadas en .meeko/types/routes.d.ts, y con ellas href comprueba IDs y params. Sin esas declaraciones, href acepta cualquier cadena.

ts
import type { GeneratedRoutes } from "@meekojs/meeko/framework";

Source code src/framework.ts:90

Declaración #

ts
interface GeneratedRoutes {}

Example #

ts
// .meeko/types/routes.d.ts (generado por meeko routes / meeko check)
declare module "@meekojs/meeko/framework" {
  interface GeneratedRoutes {
    "/": {};
    "/users/[id]": { id: string };
  }
}

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/framework.ts