Converts an object into a class-compatible type that requires all properties to be present, even if their values are undefined.
Returns the keys that are optional in the give object type.
Returns the keys that are required by the given object type.
Partial-izes an object, except for the given RequiredKeys, which are converted to be required.
Similar to the default Partial, but this also makes any child objects partial.
Recursively Partial-izes an object, except for the given RequiredKeys — i.e., the recursive version of PartialExcept.
Similar to the default Required, but this also makes any child objects Required.
Recursively Requires the given required keys only and leaves the rest as-is — i.e., the recursive version of RequiredPartially.
Requires the given required keys only and leaves the rest as-is.
This is used by RecursivePartial type to aid in recursion.
Utility types either of or for objects.
Since
0.1.0
Example