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

fix: export modular types #7403

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

touchmarine
Copy link

Fixes typescript error:

Module '"@react-native-firebase/x"' has no exported member 'y'.
Did you mean to use 'import y from "@react-native-firebase/x" instead?' [2164]"

Description

Typescript types weren't working for the firestore's new modular API. This pull request exports modular typings in all packages that have them.

Related issues

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

🔥

Fixes typescript error:
  Module '"@react-native-firebase/x"' has no exported member 'y'. Did
  you mean to use 'import y from "@react-native-firebase/x" instead?'
  [2164]"
@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 10:21pm
react-native-firebase-next ❌ Failed (Inspect) Oct 10, 2023 10:21pm

@CLAassistant
Copy link

CLAassistant commented Oct 10, 2023

CLA assistant check
All committers have signed the CLA.

@mikehardy
Copy link
Collaborator

Hey @touchmarine 👋 ! Thanks for this. Could you follow the details link on the check for the CLA to see why it's not passing, and make sure you sign the CLA in a way that the check passes? Thank you!

@touchmarine
Copy link
Author

Hi @mikehardy, I've signed the CLA now.

@mikehardy
Copy link
Collaborator

Thank you for signing the CLA! Note I just merged an ML api v9 thing, so I need to add a commit that works with that, I'm happy to shepherd it through, no action needed on your part

Copy link

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added the Stale label Nov 12, 2023
@mikehardy
Copy link
Collaborator

Just a note that this is definitely on our radar here - apologies it has gone stale

@mikehardy mikehardy removed the Stale label Nov 27, 2023
Copy link

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added the Stale label Dec 27, 2023
@mikehardy
Copy link
Collaborator

not stale (well, stale, but not heading for auto-close)

@github-actions github-actions bot removed the Stale label Jan 6, 2024
Copy link

github-actions bot commented Feb 3, 2024

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added the Stale label Feb 3, 2024
@github-actions github-actions bot closed this Feb 18, 2024
@mikehardy mikehardy reopened this Feb 19, 2024
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.43%. Comparing base (c9b695a) to head (1d5fb5c).
Report is 165 commits behind head on main.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #7403       +/-   ##
=============================================
- Coverage     68.61%   51.43%   -17.18%     
- Complexity        0      759      +759     
=============================================
  Files           145      251      +106     
  Lines          5855    13485     +7630     
  Branches       1235     2176      +941     
=============================================
+ Hits           4017     6935     +2918     
- Misses         1743     6162     +4419     
- Partials         95      388      +293     

@github-actions github-actions bot removed the Stale label Feb 19, 2024
@mikehardy mikehardy removed the Workflow: Pending Merge Waiting on CI or similar label Feb 23, 2024
Copy link

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added Stale and removed Stale labels Mar 22, 2024
Copy link

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added Stale and removed Stale labels Apr 19, 2024
Copy link

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added Stale and removed Stale labels May 17, 2024
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.

None yet

3 participants