-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Ref and Memo options break rest props typing #440
Labels
Comments
katywings
added a commit
to katywings/svgr
that referenced
this issue
Apr 26, 2020
katywings
added a commit
to katywings/svgr
that referenced
this issue
Apr 26, 2020
katywings
added a commit
to katywings/svgr
that referenced
this issue
Apr 26, 2020
katywings
added a commit
to katywings/svgr
that referenced
this issue
Apr 27, 2020
gregberge
pushed a commit
that referenced
this issue
Apr 27, 2020
Fixed in #441, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
Using svgr with the "--ref" option results in "Property does not exist in ..." typescript errors for rest-spread props:
To Reproduce
svgr --ref
Expected behavior
Rest spreaded props should be possible while using
forwardRef
Link to repl or repo (highly encouraged)
svgr --ref ...
Run
npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
The text was updated successfully, but these errors were encountered: