  import { getAppEventName, SharedEventEmitter } from '../../utils/events';
  
  import type Firestore from './';
+@@ -55,7 +55,7 @@ type FieldOrder = {|
+   fieldPath: NativeFieldPath,
+ |};
+ 
+-type QueryOptions = {
++type QueryOptions = $Shape<{|
+   endAt?: any[],
+   endBefore?: any[],
+   limit?: number,
+@@ -63,7 +63,7 @@ type QueryOptions = {
+   selectFields?: string[],
+   startAfter?: any[],
+   startAt?: any[],
+-};
++|}>;
+ 
+ export type ObserverOnError = SnapshotError => void;
+ export type ObserverOnNext = QuerySnapshot => void;
 @@ -274,8 +274,8 @@ export default class Query {
      let observer: Observer;
      let metadataChanges = {};

diff --git a/node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js.flow b/node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js.flow
index b8ef7c2..7ecb834 100644
--- a/node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js.flow
+++ b/node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js.flow
@@ -8,7 +8,7 @@ import CollectionReference from './CollectionReference';

           ) {
             throw new Error(
               'Query.onSnapshot failed: Observer.error must be a valid function.'
@@ -318,27 +318,27 @@ export default class Query {
       ) {
         metadataChanges = optionsOrObserverOrOnNext;
         // Called with: Options, onNext, ?onError
