From 14b3172ed61b78f386a9272f132984d63b63e83e Mon Sep 17 00:00:00 2001 From: kyungseopk1m Date: Sun, 9 Aug 2026 00:30:14 +0900 Subject: [PATCH] fix(v2): re-export express Response from the https provider onRequest handlers are typed with express.Response, but only Request was re-exported. Annotating a handler parameter meant adding express as a direct dependency just to name the type. v1 already re-exports Response from cloud-functions.ts. Do the same here so both generations expose it. --- src/v2/providers/https.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v2/providers/https.ts b/src/v2/providers/https.ts index 8aa9438ec..d6aa5118a 100644 --- a/src/v2/providers/https.ts +++ b/src/v2/providers/https.ts @@ -52,6 +52,7 @@ import { withInit } from "../../common/onInit"; import * as logger from "../../logger"; export type { Request, CallableRequest, CallableResponse, FunctionsErrorCode }; +export type { Response } from "express"; export { HttpsError }; /**