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 an explicit typecast.

Pavel Balashov54b22c3d1998
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 390a25368b5..0bf6115d044 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
@@ -79,7 +79,7 @@ export class FileLinksResourceService extends ResourceCollectionService<IFileLin
insertCollectionIntoState(this.store, collection, collectionKey);
}),
catchError(this.toastAndThrow.bind(this)),
- );
+ ) as Observable<void>;
}
protected createStore():CollectionStore<IFileLink> {