Skip to content
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

Sveltefire require storage parameter? #144

Closed
socketopp opened this issue Nov 22, 2023 · 2 comments
Closed

Sveltefire require storage parameter? #144

socketopp opened this issue Nov 22, 2023 · 2 comments

Comments

@socketopp
Copy link

I get the following issue when using sveltefire. Anyone else experienced this?

<FirebaseApp {auth} {firestore}>

Property 'storage' is missing in type '{ auth: any; firestore: any; }' but required in type '{ firestore: Firestore; auth: Auth; storage: FirebaseStorage; }'.ts(2741)

@ItsAlexousd
Copy link
Contributor

Hi @socketopp,

Currently, you need to initialize all Firebase services (auth, firestore and storage) even if you don't use them all. PR #130 fixes this problem, but we'll have to wait for @codediodeio to merge it.

@socketopp
Copy link
Author

Hi @socketopp,

Currently, you need to initialize all Firebase services (auth, firestore and storage) even if you don't use them all. PR #130 fixes this problem, but we'll have to wait for @codediodeio to merge it.

Thanks for the heads up. Currently using earlier version of Sveltefire that doesn't require. Will update once that once PR #130 is merged.

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

No branches or pull requests

2 participants