From b4ff3dff4969f6e28326ee4783cff7bcfb4065d1 Mon Sep 17 00:00:00 2001 From: codpoe Date: Thu, 5 Sep 2024 20:09:05 +0800 Subject: [PATCH] fix: add partial for setResponseHeaders --- packages/vinxi/runtime/http-types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vinxi/runtime/http-types.d.ts b/packages/vinxi/runtime/http-types.d.ts index 403fcd9e..c5759644 100644 --- a/packages/vinxi/runtime/http-types.d.ts +++ b/packages/vinxi/runtime/http-types.d.ts @@ -624,10 +624,10 @@ export function getResponseHeader( export function setResponseHeaders( event: HTTPEvent, - headers: Record[1]>, + headers: Partial[1]>>, ): void; export function setResponseHeaders( - headers: Record[1]>, + headers: Partial[1]>>, ): void; export const setHeaders: typeof setResponseHeaders;