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

Wrong type for getBiologicalSex #319

Open
iamandiradu opened this issue Jun 27, 2023 · 1 comment
Open

Wrong type for getBiologicalSex #319

iamandiradu opened this issue Jun 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@iamandiradu
Copy link

iamandiradu commented Jun 27, 2023

Describe the bug
getBiologicalSex expects null as first argument, but its type requires a HealthUnitOption. Placing any unit will result in an error.

To Reproduce
Steps to reproduce the behavior:

  1. Init Health Kit
  2. Get Biological Sex with non-null options
  3. See error

Expected behavior
Return biological sex

@iamandiradu iamandiradu added the bug Something isn't working label Jun 27, 2023
@iamandiradu
Copy link
Author

I think the result is also wrong. It should return a string, but the types say it's a number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant