Fix: Resolve implicit any and property access errors in core components
This commit is contained in:
@@ -258,14 +258,14 @@
|
||||
return processed_file_list;
|
||||
}
|
||||
|
||||
function remove_file_from_filelist(index) {
|
||||
function remove_file_from_filelist(index: number) {
|
||||
console.log('*** remove_file_from_filelist() ***');
|
||||
|
||||
// Can not use something like this because it is readonly:
|
||||
const dt = new DataTransfer();
|
||||
// let input = document.getElementById(input_element_id);
|
||||
|
||||
let input_element = document.querySelector('input[type="file"].svelte_input_file_element');
|
||||
let input_element = document.querySelector('input[type="file"].svelte_input_file_element') as HTMLInputElement;
|
||||
|
||||
if (!input_element) {
|
||||
console.error('Could not find the input element.');
|
||||
|
||||
Reference in New Issue
Block a user