From 8e3aa16c82b295a20e805e133d5c81291bcd7109 Mon Sep 17 00:00:00 2001 From: Daniel Young Lee Date: Mon, 9 Sep 2024 16:10:07 -0700 Subject: [PATCH] Expose functions.config in the v2 namespace to avoid breaking the Functions Emulator. --- src/v2/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/v2/index.ts b/src/v2/index.ts index 4a1b34263..0684c364e 100644 --- a/src/v2/index.ts +++ b/src/v2/index.ts @@ -73,3 +73,7 @@ export { Change } from "../common/change"; // NOTE: Equivalent to `export * as params from "../params"` but api-extractor doesn't support that syntax. import * as params from "../params"; export { params }; + +// NOTE: Required to support the Functions Emulator which monkey patches `functions.config()` +// TODO(danielylee): Remove in next major release. +export { config } from "../v1/config";