From f41fb2c6d39cd5573fbbcc1078ba658e1ed759f1 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Tue, 19 Nov 2024 15:42:12 +0100 Subject: [PATCH] fix exports --- src/plugins/next-mocks/alias/headers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/next-mocks/alias/headers/index.ts b/src/plugins/next-mocks/alias/headers/index.ts index 464eac5..0a9c5b8 100644 --- a/src/plugins/next-mocks/alias/headers/index.ts +++ b/src/plugins/next-mocks/alias/headers/index.ts @@ -8,7 +8,7 @@ export { headers } from "./headers"; export { cookies } from "./cookies"; // re-exports of the actual module -export * from "next/dist/server/request/headers"; +export { UnsafeUnwrappedHeaders } from "next/dist/server/request/headers"; // passthrough mocks - keep original implementation but allow for spying const draftMode: Mock<() => ReturnType> = fn(