Remove implicit 'any' type on QuerySnapshot.forEach()

This commit is contained in:
Paul Huynh
2018-01-30 10:44:57 +11:00
parent 157f0109cd
commit 7f394b56e5

2
lib/index.d.ts vendored
View File

@@ -1270,7 +1270,7 @@ declare module "react-native-firebase" {
readonly metadata: Types.SnapshotMetadata;
readonly query: Query;
readonly size: number;
forEach(callback: (snapshot: DocumentSnapshot) => any);
forEach(callback: (snapshot: DocumentSnapshot) => any): void;
}
namespace QuerySnapshot {
interface NativeData {