src/app/data-services/file-services/http-progress.ts
Function reportHttpProgress
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function reportHttpProgress(saver?: (b: Blob) => void):
(source: Observable<HttpEvent<Blob>>) => Observable<Progress> {
return (source: Observable<HttpEvent<Blob>>) =>
source.pipe(