Skip to content

Commit b6c395f

Browse files
Byeollaurenzlong
authored andcommitted
Correct the type signature of DeltaDocumentSnapshot (#162)
1 parent 986bc14 commit b6c395f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/providers/firestore.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ export class NamespaceBuilder {
7373

7474
export interface DeltaDocumentSnapshot {
7575
exists: Boolean;
76-
ref: any;
76+
ref: firebase.firestore.DocumentReference;
7777
id: string;
78-
createTime: string;
79-
updateTime: string;
80-
readTime: string;
81-
previous: any;
78+
createTime?: string;
79+
updateTime?: string;
80+
readTime?: string;
81+
previous: DeltaDocumentSnapshot;
8282
data: () => any;
8383
get: (key: string) => any;
8484
};

0 commit comments

Comments
 (0)