Closed hemmxwxsoo closed 4 years ago
You're right! It'll be awesome if you can send a PR for that
It looks like we had PR for this issue but the test case for solution were missing. This issue is up for grabs, just add test case for this PR #372
Hey. I'm trying to use linaria in a typescript project and this is a kick in the teeth atm. Currently overriding types locally based on #372
This library is so good, yet the typescript problems just are left unfixed for months on months.
I still get the error, does anyone know if it will be fixed soon ?
@robertontiu
Hey. I'm trying to use linaria in a typescript project and this is a kick in the teeth atm. Currently overriding types locally based on #372
Can I get your local overring types file ? :)
@Evan-Peuvergne Hey Evan. Here you go https://github.com/robertontiu/nextjs-boilerplate/blob/master/linaria.d.ts
@Evan-Peuvergne Hey Evan. Here you go https://github.com/robertontiu/nextjs-boilerplate/blob/master/linaria.d.ts
Thanks a lot @robertontiu :)
The problem with styled
is solved in 1.4, but there was the same problem with css
tag. Fix for css
will be released with the next beta.
Environment
Description
I got a type error like below when I try to refer to a component.
Reproducible Demo
I think that it has to be fixed on
linaria/react.d.ts
.from
to