Closed joshuafcole closed 3 years ago
It should. It probably just doesn't like that it's unknown instead of JSX element being returned. Let me take a look. I've made some updates in recent Solid.
Ok I fixed the types in v0.0.2. Let me know it works for you.
Working perfectly, thanks for the crazy fast turnaround time!
It looks like
ArrayElement
doesn't allowFunctionElement
children insolid-js/types/rendering/jsx.d.ts
. Does it seem reasonable to add that?