Neah/node_modules/next/dist/client/components/react-dev-overlay/server/middleware-response.d.ts
2025-04-24 17:19:14 +02:00

11 lines
439 B
TypeScript

import type { ServerResponse } from 'http';
export declare const middlewareResponse: {
noContent(res: ServerResponse): void;
badRequest(res: ServerResponse): void;
notFound(res: ServerResponse): void;
methodNotAllowed(res: ServerResponse): void;
internalServerError(res: ServerResponse, error?: unknown): void;
json(res: ServerResponse, data: any): void;
jsonString(res: ServerResponse, data: string): void;
};