centau / vide

A reactive Luau library for creating UI.
https://centau.github.io/vide/
MIT License
88 stars 15 forks source link

Add typed instance props #10

Closed littensy closed 1 year ago

littensy commented 1 year ago

Adds predefined prop types to vide.create. A test had to be modified to satisfy the Text property type.

To avoid false type errors with mixed tables, the types.luau file does not use any intersections, resulting in it being absolutely massive. Whether the intellisense is worth it is up to you 😅

littensy commented 1 year ago

Closing this for now, as it greatly increases package size for a small and inconsequential feature