Open TheBlapse opened 1 year ago
I don't think it's necessarily a bug
because ts
doesn't automatically compile to match complex types without explicitly telling ts
exactly what the items
are .
The code above is a correct example, at least I haven't encountered this error reported.
I confirm. I had the same issue but when I used TypeLineItem[], everything is fine. Thank you @bigbigDreamer
Code:
Errors:
Using Next.JS, tailwind css with typescript.