Skip to content

Commit a322b2e

Browse files
committed
Re-export singleton object for internal-override.
Internal packages like firebase-functions-test relies on export of functions config singleton object to mock/override its behavior. We should keep this setup (with an @internal mark so it isn't exposed in type or reference doc) to allow these packages to continue to work.
1 parent 16e7b2b commit a322b2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v1/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import * as path from "path";
2525

2626
export { firebaseConfig } from "../common/config";
2727

28-
let singleton: Record<string, any>;
28+
/** @internal */
29+
export let singleton: Record<string, any>;
2930

3031
/** @internal */
3132
export function resetCache(): void {

0 commit comments

Comments
 (0)