This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/next-devtools/server/middleware-response.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

11 lines
456 B
TypeScript

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;
};