Skip to content

feat(types): generic types for firestore methods #920

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 1 commit into from
May 2, 2020

Conversation

puppybits
Copy link

Description

Firestore types update

  1. Firestore .set allows for options to be passed as well.
  2. Added typescript generics support to get/set/update/add/delete

Check List

If not relevant to pull request, check off as complete

  • All tests passing
  • Docs updated with any changes or examples if applicable
  • Added tests to ensure new feature(s) work properly

Relevant Issues

@codecov
Copy link

codecov bot commented Apr 23, 2020

Codecov Report

Merging #920 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #920   +/-   ##
=======================================
  Coverage   88.87%   88.87%           
=======================================
  Files          29       29           
  Lines         791      791           
=======================================
  Hits          703      703           
  Misses         88       88           

@prescottprue
Copy link
Owner

Nice work! Thanks for taking the time to add this

@prescottprue prescottprue changed the base branch from master to v3.4.0 May 2, 2020 04:57
@prescottprue prescottprue changed the title chore: generic types for firestore overloads feat(types): generic types for firestore methods May 2, 2020
@prescottprue prescottprue merged commit 6eaf6d3 into prescottprue:v3.4.0 May 2, 2020
@prescottprue prescottprue mentioned this pull request May 2, 2020
3 tasks
prescottprue added a commit that referenced this pull request May 2, 2020
* chore(ci): add package version check stage to prevent failed builds if version is already released
* feat(types): generic types for firestore methods (#920) - @puppybits
* fix(types): use correct import for react in types (#927) - @loginov-rocks
* chore(types): remove unused AppTypes import

Co-authored-by: Bobby <bobby@getfiskal.com>
Co-authored-by: Danila Loginov <danila@loginov.rocks>
prescottprue added a commit that referenced this pull request May 2, 2020
* chore(ci): add package version check stage to prevent failed builds if version is already released
* feat(types): generic types for firestore methods (#920) - @puppybits
* fix(types): use correct import for react in types (#927) - @loginov-rocks
* chore(types): remove unused AppTypes import

Co-authored-by: Bobby <bobby@getfiskal.com>
Co-authored-by: Danila Loginov <danila@loginov.rocks>
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