Home > next-context > RouteFunction
route function
Signature:
export type RouteFunction = (request: NextRequest, context: {
params: AsyncParams;
}) => any;
References: AsyncParams
Home > next-context > RouteFunction
route function
Signature:
export type RouteFunction = (request: NextRequest, context: {
params: AsyncParams;
}) => any;
References: AsyncParams