We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb4bb6 commit ca43c8bCopy full SHA for ca43c8b
src/database/interfaces.ts
@@ -9,7 +9,7 @@ export interface AngularFireList<T> {
9
snapshotChanges(events?: ChildEvent[]): Observable<SnapshotAction<T>[]>;
10
stateChanges(events?: ChildEvent[]): Observable<SnapshotAction<T>>;
11
auditTrail(events?: ChildEvent[]): Observable<SnapshotAction<T>[]>;
12
- update(item: FirebaseOperation, data: T): Promise<void>;
+ update(item: FirebaseOperation, data: Partial<T>): Promise<void>;
13
set(item: FirebaseOperation, data: T): Promise<void>;
14
push(data: T): database.ThenableReference;
15
remove(item?: FirebaseOperation): Promise<void>;
0 commit comments