Better TypeScript support
Open
help wanted
- Dominant language
- TypeScript
- Stars
- 76
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently the return object is typed as `Record`, ideally it should infer types based on options:
```ts
parse([], [{ name:'foo', type: Boolean }, { name: 'bar', type: String, optionalValue: true }])
//=> { foo?: boolean, bar?: string | true }
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.