Open ciscoheat opened 1 year ago
If you want any help with this, I'm very much willing to! Have been using superforms in production for a few weeks now and it's been great! If you just show a few examples of how you would like it to look I could get to work on it.
That would be much appreciated! I have made a with an example for the jsdoc
branchsetError
method: https://github.com/ciscoheat/sveltekit-superforms/blob/jsdoc/src/lib/superValidate.ts#L78-L87
Edit: The jsdoc
branch is retired, use main
directly.
It's not a strict requirement by any means, I don't know how advanced the types can be (just copy/pasted from typescript), and not sure about return values either. You probably know jsdoc better, so feel free to do what you think is best. :)
The API page is a good priority order: https://superforms.rocks/api
Merged jsdoc branch with main now, it was a bit outdated.
The jsdoc
branch keeps getting outdated, so it's best to use the main
branch directly for documentation improvements.
I do a lot of JsDoc. I'm not claiming to be an expert, but I do like when libraries provide good Intellisense. See some of my work:
If you like the way I do it, let me know. I haven't used this package, though, so I'll have to read the docs first.
Thank you for the offer, that would be great! I have just released a new version, so you can just clone the repo, make a jsdoc branch, and do as much as you like.
Something to work on!