Files
SnowLuma/.pnpm-store/v11/files/7b/cce119736add5c25be11f5eab8c4bb976a160d5dadd7b76bf2e6798181334b629c90a8d5d36c356059cf9add1b84489dc307afae81241b280727411ce2c5ba
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
389 B
Plaintext

import { Router } from "../../router.js";
import { MatcherMap, match } from "./matcher.js";
//#region src/router/reg-exp-router/router.d.ts
export declare class RegExpRouter<T> implements Router<T> {
name: string;
constructor();
add(method: string, path: string, handler: T): void;
match: typeof match<Router<T>, T>;
protected buildAllMatchers(): MatcherMap<T>;
}
//#endregion