alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
15 lines (14 loc) • 581 B
TypeScript
import { Router } from "express";
import { Map } from "../../../interface/class/map";
import { RequestHandler } from "../interface/general";
import { IRouter } from "../interface/router";
interface IRoutes {
name: string;
method: string;
callbacks: any;
}
export declare const Routes: Map<string, IRoutes>;
export declare const addToRouteList: (path: string, method: string, name: string, ...handlers: RequestHandler[] | Router[] | IRouter[]) => void;
export declare const updateRoutesWithNames: () => void;
export declare const updateRouteList: () => void;
export {};