After upgrading to Angular 13, I encountered an issue with the property msSaveOrOpenBlob not existing on type Navigator.
It appears that Navigator.msSaveOrOpenBlob is being deprecated according to https://developer.mozilla.org/en-US/docs/Web/API/Navigator/msSaveOrOpenBlob#browser_compatibility
Previously, I had a Angular 12 application and now migrating to Angular 13 with updated TypeScript version. However, I am facing the problem of "The property msSaveOrOpenBlob doesn't exist on type Navigator".
I am looking for an alternative code for the following:
if (window.navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpenBlob(blob, filename);
}