wilddragon-site/node_modules/next/dist/next-devtools/server/middleware-response.d.ts
2026-04-17 15:51:01 -04:00

10 lines
456 B
TypeScript
Executable file

import type { ServerResponse } from 'http';
export declare const middlewareResponse: {
noContent(res: ServerResponse): void;
badRequest(res: ServerResponse, reason?: string): 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;
};