Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use Observable<void> instead of any type.

Pavel Balashovfeb72ab96ef9
diff --git a/frontend/src/app/core/state/file-links/file-links.service.ts b/frontend/src/app/core/state/file-links/file-links.service.ts
index 7daf6512726..390a25368b5 100644
--- a/frontend/src/app/core/state/file-links/file-links.service.ts
+++ b/frontend/src/app/core/state/file-links/file-links.service.ts
@@ -29,7 +29,7 @@
import { applyTransaction } from '@datorama/akita';
import { Injectable } from '@angular/core';
import { HttpHeaders } from '@angular/common/http';
-import { from } from 'rxjs';
+import { from, Observable } from 'rxjs';
import {
catchError,
groupBy,
@@ -55,7 +55,7 @@ import idFromLink from 'core-app/features/hal/helpers/id-from-link';
export class FileLinksResourceService extends ResourceCollectionService<IFileLink> {
@InjectField() toastService:ToastService;
- updateCollectionsForWorkPackage(fileLinksSelfLink:string):any {
+ updateCollectionsForWorkPackage(fileLinksSelfLink:string):Observable<void> {
return this.http
.get<IHALCollection<IFileLink>>(fileLinksSelfLink)
.pipe(