Files
lcbp3.np-dms.work/frontend/node_modules/next/dist/server/route-matches/pages-api-route-match.d.ts
2025-09-21 20:29:15 +07:00

11 lines
497 B
TypeScript
Executable File

import type { RouteMatch } from './route-match';
import type { PagesAPIRouteDefinition } from '../route-definitions/pages-api-route-definition';
export interface PagesAPIRouteMatch extends RouteMatch<PagesAPIRouteDefinition> {
}
/**
* Checks if the given match is a Pages API route match.
* @param match the match to check
* @returns true if the match is a Pages API route match, false otherwise
*/
export declare function isPagesAPIRouteMatch(match: RouteMatch): match is PagesAPIRouteMatch;