svelte-forms-lib icon indicating copy to clipboard operation
svelte-forms-lib copied to clipboard

#180 export form state type

Open crazyursus92 opened this issue 3 years ago • 1 comments

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

crazyursus92 avatar Dec 15 '22 05:12 crazyursus92

+1 looking for the same thing!

gl-aagostino avatar Jan 10 '23 15:01 gl-aagostino