SetRequiredAndNotNull<T, K>:Omit<T, K> & CompleteRequire<{ [PropertyName in K]: NonNullable<T[PropertyName]> }>
Require only a subset of object properties and require that they be not null. This is
particularly useful in conjunction with the "exactOptionalPropertyTypes" tsconfig flag.
Require only a subset of object properties and require that they be not null. This is particularly useful in conjunction with the "exactOptionalPropertyTypes" tsconfig flag.