sannajammeh / tw-classed

https://tw-classed.vercel.app
MIT License
518 stars 8 forks source link

Typescript is off in Solid #129

Closed edygar closed 11 months ago

edygar commented 11 months ago

Describe the bug The simplest case causes TypeScript error.

To Reproduce

import { classed } from "@tw-classed/solid";

const Wrapper = classed.div(
  "grid flex-1 items-center justify-center bg-red-200",
);

<Wrapper />

Expected behavior No warning

Screenshots

Screenshot 2023-11-29 at 09 33 29

Environment:

sannajammeh commented 11 months ago

The solid version is still experimental and Solid's api has changed a bit. Ill work on it this week!

sannajammeh commented 11 months ago

Appears to have been a bundler issue. Fixed once v1.7.0 lands