convex-js icon indicating copy to clipboard operation
convex-js copied to clipboard

types(OptionalRestArgs): truly only require `args` input when necessary

Open NamesMT opened this issue 4 months ago • 1 comments

Currently args are still required even though all of it's properties are optional, this change adds IsOptionalKey and AreAllPropertiesOptional util types, and use it to achieve "truly necessary requirement only" of args.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

NamesMT avatar Jul 17 '25 04:07 NamesMT