Why not call it OptionalKeys?
Optional<T> in this library represents a type T that can be either T or null. So creating
OptionalKeys type would entail removing any type that can be null, which is not the intention here.
NonRequiredKeys<T> simply removes non required keys, as in any property of an object that is
marked with ? operator
Why not call it
OptionalKeys?Optional<T>in this library represents a typeTthat can be eitherTornull. So creatingOptionalKeystype would entail removing any type that can be null, which is not the intention here.NonRequiredKeys<T>simply removes non required keys, as in any property of an object that is marked with?operator