I'm currently working with TypeScript and facing an issue with a file upload form. However, when I try to access the files from the input element in my TypeScript code, an error is generated.
$('body').on('change', '#upload_button input[type="file"]', (evt)=>{
let file_list = evt.target.files;
});
The specific error received is:
Property 'files' does not exist on type 'Element'
Is there a way to resolve this error and properly access the file list?