svelte-forms-lib
svelte-forms-lib copied to clipboard
#180 export form state type
I am developing base form components in my project and I want to reuse type to provide form state to component. For example I have a component called "ControlWrapper" which resposible for display label and validation error and I want to be full type safety, so I want to resuse FormState type from lib. Now I need to copy FromState from lib to my own type file and it is affect runtime typescript perfomance and maintainability
Fix for issue #180
+1 looking for the same thing!