This commit is contained in:
Dan Percic 2021-10-07 16:19:36 +03:00
parent 7ab565de6c
commit c715f73fd3

View File

@ -46,6 +46,7 @@ export class EntitiesService<E extends IListable, I = E> extends GenericService<
);
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
loadAll(...args: unknown[]): Observable<E[]> {
return this.getAll().pipe(
map((entities: I[]) => entities.map(entity => new this._entityClass(entity))),