Skip to content

Commit

Permalink
RN0.63 16/16: Patch react-native-firebase Flow type
Browse files Browse the repository at this point in the history
Test Plan: Flow

Reviewers: palys-swm

Subscribers: KatPo, zrebcu411, Adrian

Differential Revision: https://phabricator.ashoat.com/D326
  • Loading branch information
Ashoat committed Oct 27, 2020
1 parent 27535fb commit 4e365de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/react-native-firebase+5.6.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,19 @@ index 1716dbe..8a52a88 100644
) {
throw new Error(
'Query.onSnapshot failed: Observer.error must be a valid function.'
diff --git a/node_modules/react-native-firebase/dist/modules/firestore/TransactionHandler.js.flow b/node_modules/react-native-firebase/dist/modules/firestore/TransactionHandler.js.flow
index 624acf0..f4b3039 100644
--- a/node_modules/react-native-firebase/dist/modules/firestore/TransactionHandler.js.flow
+++ b/node_modules/react-native-firebase/dist/modules/firestore/TransactionHandler.js.flow
@@ -18,7 +18,7 @@ const generateTransactionId = (): number => transactionId++;

export type TransactionMeta = {
id: number,
- stack: string[],
+ stack: string,
reject?: Function,
resolve?: Function,
transaction: Transaction,
diff --git a/node_modules/react-native-firebase/dist/modules/messaging/index.js.flow b/node_modules/react-native-firebase/dist/modules/messaging/index.js.flow
index 988be94..a030db8 100644
--- a/node_modules/react-native-firebase/dist/modules/messaging/index.js.flow
Expand Down

0 comments on commit 4e365de

Please sign in to comment.