-
Notifications
You must be signed in to change notification settings - Fork 93
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
[canary] Type 'ImgSrc' is not assignable to type 'string'.ts(2322) #183
Comments
I was going to open an issue about it too. I had the exact same problem here, but instead with the |
@JannikZed there was indeed a wrong typing in the @LucasMallmann The typing of the |
I figured this out. I forgot to |
Explain how you did it? |
I did with
|
Hi! How did you do that? |
Isn't it a bad way to do this. I seem to have heard that we should |
How did you do this? Because I have the same problem |
I Just update my code from
to
this working for me |
Did you figure why it works? |
Yo typescript is weird af 💀 |
I was trying to use the canary version with an SVG image and typescript. Getting the following error:
The code looks like this:
Seems like the typing is wrong somehow?
The text was updated successfully, but these errors were encountered: