Skip to content

Commit

Permalink
Expose functions.config in the v2 namespace to avoid breaking the Fun…
Browse files Browse the repository at this point in the history
…ctions Emulator.
  • Loading branch information
taeold committed Sep 9, 2024
1 parent ac948b4 commit 8e3aa16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

0 comments on commit 8e3aa16

Please sign in to comment.