illright / attractions

A pretty cool UI kit for Svelte
https://illright.github.io/attractions
MIT License
1.03k stars 37 forks source link

`class` prop type #334

Closed aabounegm closed 2 years ago

aabounegm commented 2 years ago

After the last update in Sveld, it became possible to give @types to props defined via a rename export, enabling us to give a type to the class prop.

Caveats:

Additionally, this fixes many more type errors, which brings the actionable errors of svelte-check to a minimum (there are still a couple errors that we can fix, while the rest is out of our hand). Closes #333

github-actions[bot] commented 2 years ago

Docs available on https://illright.github.io/attractions/334/