including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { Group } from './route-regex';
import type { Params } from '../../../../server/request/params';
export interface RouteMatchFn {
(pathname: string): false | Params;
}
type RouteMatcherOptions = {
re: Pick<RegExp, 'exec'>;
groups: Record<string, Group>;
};
export declare function getRouteMatcher({ re, groups, }: RouteMatcherOptions): RouteMatchFn;
export {};