-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add support for typescript #171
Comments
I just realized that this problem has been fixed in canary version, sorry for the inconvenience. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I noticed that in
.tsx
files, images work nice when imported using therequire
syntax, but when you try to use theimport
syntax, an TypeScript error occurs.This can be easily fixed by adding an
index.d.ts
file with some type definitions to the root folder.I'm working on this just now :)
The text was updated successfully, but these errors were encountered: