My TypeScript project (https://github.com/jmaister/excellentexport) is currently functioning well.
Recently, after integrating the dependabot process, a suggestion was made to upgrade the TypeScript version:
Bump typescript from 4.3.4 to 4.4.3
However, due to the fact that the library I am maintaining contains references to older Internet Explorer properties, upgrading to the new TypeScript version has caused build failures.
Here are some of the errors encountered during the build process:
src/excellentexport.ts:143:30 - error TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'.
143 if (window.navigator.msSaveBlob) {
~~~~~~~~~~
src/excellentexport.ts:145:30 - error TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'.
145 window.navigator.msSaveBlob(blob, filename);
~~~~~~~~~~
src/excellentexport.ts:278:34 - error TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'.
Considering these errors, should I remove support for old versions of Internet Explorer? Is there a workaround that would allow me to continue using these IE specific properties?