use OptionalOrFalse on all keys
the Record where all sub keys can be falsifiable
type myType = { foo: { foo: string; bar: string; }}type myFalsifiableType = SubOptionalOrFalse<myType>;/** myFalsifiableType = { foo: { foo?: string | false; bar?: string | false; }} Copy
type myType = { foo: { foo: string; bar: string; }}type myFalsifiableType = SubOptionalOrFalse<myType>;/** myFalsifiableType = { foo: { foo?: string | false; bar?: string | false; }}
use OptionalOrFalse on all keys