Skip to content

Commit fffbfa3

Browse files
authored
Fix bug where functions were nested under 'features' (#3)
1 parent 9cce6a7 commit fffbfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export = (firebaseConfig?: AppOptions) => {
3131
test.init(firebaseConfig);
3232
// Ensure other files get loaded after init function, since they load `firebase-functions`
3333
// which will issue warning if process.env.FIREBASE_CONFIG is not yet set.
34-
let features = require('./features') as typeof lazyFeatures;
34+
let features = require('./features').features as typeof lazyFeatures;
3535
features = merge({}, features, {
3636
cleanup: () => test.cleanup,
3737
});

0 commit comments

Comments
 (0)