Skip to content

Commit

Permalink
fix(data): make options optional on add with partial (#3043)
Browse files Browse the repository at this point in the history
* fix(data): make options optional on add with partial

* revert: fix(data): make options optional on add with partial

This reverts commit cc3d829

* fix(data): add overload to add method
  • Loading branch information
donohoea authored Jun 28, 2021
1 parent cb7cd72 commit 1620df9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export class EntityCollectionServiceBase<
entity: Partial<T>,
options: EntityActionOptions & { isOptimistic: false }
): Observable<T>;
add(entity: T, options?: EntityActionOptions): Observable<T>;
add(entity: T, options?: EntityActionOptions): Observable<T> {
return this.dispatcher.add(entity, options);
}
Expand Down

0 comments on commit 1620df9

Please sign in to comment.