help wanted
Repository metrics
- Stars
- (76 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Currently the return object is typed as Record<string, any>, ideally it should infer types based on options:
parse([], [{ name:'foo', type: Boolean }, { name: 'bar', type: String, optionalValue: true }])
//=> { foo?: boolean, bar?: string | true }