Skip to content

[offering pr] TypeScript Support #184

@wbhob

Description

@wbhob

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

It is frustrating to have to build custom types to run alongside this library. I figure, if I'm going to do it anyway, I'd like to see if you'd accept a PR to add TS support.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Write and bundle TypeScript types with this package for those of us using TypeScript.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

We were going to try to write our own types to use alongside this library to get strong typing. We're ending up having to import from 'sveltejs-forms/src/components/Form.svelte' to get type safety, and ideally we wouldn't rebuild from source if at all possible.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions