uchan
uchan copied to clipboard
Argument of type 'ErrorEvent' is not assignable to parameter of type 'ProgressEvent<EventTarget>'
I'm running into an issue when starting this for the first time using the setup instructions. I'm getting these errors, in full:
uchan-assets-1 | extra/extra.ts(77,29): error TS2345: Argument of type 'ErrorEvent' is not assignable to parameter of type 'ProgressEvent<EventTarget>'.
uchan-assets-1 | Type 'ErrorEvent' is missing the following properties from type 'ProgressEvent<EventTarget>': lengthComputable, loaded, total
uchan-assets-1 | extra/extra.ts(77,29): error TS2352: Conversion of type 'ProgressEvent<EventTarget>' to type 'ErrorEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
uchan-assets-1 | extra/extra.ts(77,29): error TS2352: Conversion of type 'ProgressEvent<EventTarget>' to type 'ErrorEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
uchan-assets-1 | Type 'ProgressEvent<EventTarget>' is missing the following properties from type 'ErrorEvent': colno, error, filename, lineno, message
This appears to be a Typescript compile error. I am not really familiar with TS so I don't know how to go about fixing this.