You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone (me or anyone else) would like to add Typescript support to react-firestore, would you prefer:
the whole project to be migrated to Typescript, or
an independent type definition to be maintained via DefinitelyTyped.
From a TS user perspective the solution 1/ is preferable since it prevents type definition to drift appart from actual library but it requires that the library is maintained in TS (which has numerous benefits :))
👋
The text was updated successfully, but these errors were encountered:
@alexstrat - Although it would be preferable to use typescript in the project for typescript consumers, I believe it would require pretty significant effort to the build system. Currently we use kcd-scripts to build the project, and moving to typescript would mean we could no longer use that and would have to create a custom build. For that reason I'd prefer an independent type definition. We could also add types for flow as well.
If someone (me or anyone else) would like to add Typescript support to
react-firestore
, would you prefer:From a TS user perspective the solution 1/ is preferable since it prevents type definition to drift appart from actual library but it requires that the library is maintained in TS (which has numerous benefits :))
👋
The text was updated successfully, but these errors were encountered: