Create Angular custom service worker

Viewed 207

I am developing an Angular PWA, where we need to download big files in the background for later processing. We would like to trigger the downloads with push notifications, so when the user opens the application, the data is already present. We managed to receive the the push notification even with closed browser, but unfortunately the service worker which is serving this is written in JS, and we would like to have it in typescript like the other parts of the project. So far I have not found anything helpful the service workers are always js files. Is there a way to do that in TS with Angular?

Thank you for your help.

0 Answers
Related