I'm currently utilizing TypeScript within an Electron application but I am encountering the following error message:
Parameter 'event' implicitly has an 'any' type.ts(7006)
Below is the code snippet in question. Any suggestions on how to handle this issue would be greatly appreciated.
ipcRenderer.on('download-progress', function (event, progressInfo: ProgressInfo) {
document.getElementById('pbs_' + progressInfo.id).style.width = progressInfo.percent + "%";
document.getElementById('pts_' + progressInfo.id).innerHTML = progressInfo.percent + "%";
});