Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument of type 'ErrorEvent' is not assignable to parameter of type 'ProgressEvent<EventTarget>' #25

Open
alekratz opened this issue Sep 14, 2022 · 0 comments

Comments

@alekratz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant