Typescript errors seen while wrapping styled
function and passing to it arguments
#872
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
cat: typings 👮
Typescript types related issues
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
Description
When I try to abstract from tag passed to
styled
function I recieve some errors within that scope:Type Error while passing Component into the
styled
Error text:
Type Error while writing styles in template tags
Error text:
Code works fine and I have editor suggestions while using
Implementation
Component from demo. But compiler errors looks sad :(Reproducible Demo
The text was updated successfully, but these errors were encountered: