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

feat(next): migrate to TypeScript #178

Merged
merged 9 commits into from
May 19, 2022
Merged

Conversation

michalchudziak
Copy link
Owner

@michalchudziak michalchudziak commented May 18, 2022

Overview

This PR is a part of the ongoing library revamp effort. It consists of the complete removal of Flow and replacing it with TypeScript. Additionally I cleaned up the eslint and prettier configs.

image

image

Test Plan

  • example app works on iOS (cd example && npx react-native run-ios)
  • example app works on Android (cd example && npx react-native run-android)
  • yarn prepare works

@michalchudziak michalchudziak changed the title [WIP] Migrate to TypeScript feat(next): migrate to TypeScript May 18, 2022
@michalchudziak michalchudziak marked this pull request as ready for review May 18, 2022 21:15
Comment on lines 66 to 68
geo_success: (position: GeolocationResponse) => void,
geo_error?: (error: GeolocationError) => void,
geo_options?: GeolocationOptions
Copy link
Collaborator

Choose a reason for hiding this comment

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

is the geo prefix necessary?

@michalchudziak michalchudziak force-pushed the feat/revamp-typescript branch from 4a796ff to 5bff95c Compare May 19, 2022 18:12
@michalchudziak michalchudziak merged commit 4c22363 into next May 19, 2022
michalchudziak added a commit that referenced this pull request Sep 14, 2022
* chore(example): update example file structure (#77)

* chore(example): update example file structure to make it compatible with the tester

* fix(example): lint and type errors

* chore(deps): bump npm-user-validate from 1.0.0 to 1.0.1 (#126)

Bumps [npm-user-validate](https://github.com/npm/npm-user-validate) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/npm/npm-user-validate/releases)
- [Commits](npm/npm-user-validate@v1.0.0...v1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add location extras support (#144)

* refactor(next): update React Native and other dependencies, recreate example app (#176)

* chore: update dependencies and example app setup

* chore: remove native tests from example

* feat(next): migrate to TypeScript (#178)

* chore: update dependencies and example app setup

* chore: remove native tests from example

* chore: rename files to TS

* chore: migrate to typescript

* chore: add ts to example app and tests

* chore: fix types imports

* refactor: remove geo prefixes

* chore: minor improvements

* chore: upgrade RN to 69 (#183)

* Add support for TurboModules (#184)

* chore: upgrade RN to 69

* chore: turbomodule support for iOS

* chore: turbomodules for android scaffold

* chore: turbomodule support for Android

* chore: remove unnecessary setting

* chore: link cpp module manually

* chore: cleanup

* Add support for Google’s Location Services API (#185)

* feat(android-backend): refactor module

* feat(android): play services manager

* feat(android): fix permission crash

* Revamp example app (#186)

* feat(android-backend): refactor module

* feat(android): play services manager

* feat(android): fix permission crash

* feat(example): new example

* feat(example): new example

* feat(request-auth): add support for Android (#187)

* feat(request-auth): add support for Android

* fix(request-auth): fix location callback creation

* fix(request-auth): add error to callback

* fix(request-auth): queue quth callbacks

* chore(readme): update readme

Co-authored-by: Bartol Karuza <bartol.k@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Gomez <4647760+tonygomez@users.noreply.github.com>
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