Skip to content

Conversation

bmass02
Copy link
Contributor

@bmass02 bmass02 commented Nov 30, 2017

Description

Further addition to #127. Updates config().firebase to be strictly of type firebase.AppOptions instead of the union with undefined since config() will throw an error if merged.firebase is undefined. This keeps from unnecessarily having to check whether firebase exists or not.

Copy link
Contributor

@laurenzlong laurenzlong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea! Thanks for the contribution.

@laurenzlong laurenzlong merged commit ea4b0e5 into firebase:master Nov 30, 2017
Byeol pushed a commit to Byeol/firebase-functions that referenced this pull request Jan 9, 2018
The backend team is still working on event payload changes, so this just helps them tests with an `Event<any>` implementation. It is very intentional that this is not exposed in index.ts; alpha testers will manually reach into lib/providers/datastore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants