diff --git a/edge-runtime/lib/next-request.ts b/edge-runtime/lib/next-request.ts index 052ac7ed9f..cf5d12c56e 100644 --- a/edge-runtime/lib/next-request.ts +++ b/edge-runtime/lib/next-request.ts @@ -12,8 +12,8 @@ import { import type { NextConfig } from 'next/dist/server/config-shared' import type { NextRequest, RequestInit } from 'next/dist/server/web/spec-extension/request.js' -export type NetlifyNextRequest = RequestInit & - Pick & { +export type NetlifyNextRequest = Partial> & + RequestInit & { headers: HeadersInit }