type-fest icon indicating copy to clipboard operation
type-fest copied to clipboard

Make the second argument to RequireAllOrNone optional

Open roryabraham opened this issue 4 months ago • 2 comments

Minor suggestion for an enhancement - make the second argument to RequireAllOrNone optional:

i.e: RequireAllOrNone<MyType> would be functionally equivalent to RequireAllOrNone<MyType, keyof MyType>

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • The funding will be given to active contributors.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

roryabraham avatar Mar 27 '24 18:03 roryabraham

Makes sense to me.

@tommy-mitchell Any reason you went with never? I noticed you used key T in your issue: https://github.com/sindresorhus/type-fest/issues/652#issue-1823667703

sindresorhus avatar Mar 28 '24 01:03 sindresorhus