help wanted
仓库指标
- Star
- (76 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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 }