Fix: Resolve implicit any and property access errors in core components

This commit is contained in:
Scott Idem
2026-01-22 19:44:10 -05:00
parent 94a387ca6d
commit 32002fe6bd
4 changed files with 16 additions and 14 deletions

View File

@@ -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.');