#How would I go about making this work on TS

2 messages · Page 1 of 1 (latest)

fast palm
#

Currently I get this

Argument of type 'FileList | null' is not assignable to parameter of type 'Updater<null>'.
Type 'FileList' is not assignable to type 'Updater<null>'.
Type 'FileList' provides no match for the signature '(input: null): null'.ts(2345)
(property) React.ChangeEvent<HTMLInputElement>.target: EventTarget & HTMLInputElement

#

and this