UNPKG

306 BTypeScriptView Raw
1import { RouteEntry } from './route-entry';
2/**
3 * Compare two routes by verb/path for sorting
4 * @param route1 - First route entry
5 * @param route2 - Second route entry
6 */
7export declare function compareRoute(route1: Pick<RouteEntry, 'verb' | 'path'>, route2: Pick<RouteEntry, 'verb' | 'path'>): number;