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
1 changed files with 1 additions and 1 deletions

2
lib/index.d.ts vendored
View File

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