This commit is contained in:
2026-04-12 01:02:14 +08:00
parent 509487f155
commit 9b053e302b
14085 changed files with 2680009 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
import { type NextIncomingMessage } from '../request-meta';
type PatchableResponse = {
setHeader(key: string, value: string | string[]): PatchableResponse;
};
/**
* Ensure cookies set in middleware are merged and not overridden by API
* routes/getServerSideProps.
*
* @param req Incoming request
* @param res Outgoing response
*/
export declare function patchSetHeaderWithCookieSupport(req: NextIncomingMessage, res: PatchableResponse): void;
export {};