Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"systemjs": "^0.19.16",
"systemjs-builder": "^0.15.7",
"traceur": "0.0.96",
"typescript": ">=2.7.2 <2.8.0, >=3.1.1 <3.2"
"typescript": "^3.1.6"
},
"typings": "index.d.ts"
}
2 changes: 1 addition & 1 deletion src/database/list/audit-trail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { skipWhile, withLatestFrom, map, scan } from 'rxjs/operators';
export function auditTrail<T>(query: DatabaseQuery, events?: ChildEvent[]): Observable<SnapshotAction<T>[]> {
const auditTrail$ = stateChanges<T>(query, events)
.pipe(
scan<SnapshotAction<T>>((current, action) => [...current, action], [])
scan((current, action) => [...current, action], [])
);
return waitForLoaded<T>(query, auditTrail$);
}
Expand Down
Loading