Skip to content

Export more functions from the firebase module #1332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 24, 2018

Conversation

ryanpbrewster
Copy link
Contributor

Courtesy of @tstirrat

Copy link
Contributor

@tonymeng tonymeng left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -22,6 +22,8 @@ import * as grpc from 'grpc';
import { resolve } from 'path';
import * as fs from 'fs';

export { database, firestore } from 'firebase';
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To expose the functions inside of these submodules without having to explicitly import them (for our clients)

@ryanpbrewster ryanpbrewster merged commit 16662c9 into master Oct 24, 2018
@ryanpbrewster ryanpbrewster deleted the rpb/export-firebase branch October 24, 2018 20:23
@firebase firebase locked and limited conversation to collaborators Oct 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants