Skip to content

Commit 0493271

Browse files
authored
Expose functions.config in the v2 namespace to avoid breaking the Functions Emulator. (#1607)
1 parent ac948b4 commit 0493271

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/v2/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,7 @@ export { Change } from "../common/change";
7373
// NOTE: Equivalent to `export * as params from "../params"` but api-extractor doesn't support that syntax.
7474
import * as params from "../params";
7575
export { params };
76+
77+
// NOTE: Required to support the Functions Emulator which monkey patches `functions.config()`
78+
// TODO(danielylee): Remove in next major release.
79+
export { config } from "../v1/config";

0 commit comments

Comments
 (0)