import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/internal/Observable'; import { BatchIntegrity } from './batch-integrity'; import { BatchIntegrityReportService } from './batch-integrity-report.service'; @Injectable({ providedIn: 'root', }) export class BatchIntegrityResolverService { constructor(private ser: BatchIntegrityReportService) {} resolve(): Observable { return this.ser.batchIntegrity(); } }