Makes attributes on the type T required if TRequired is true.
MaybeRequired<{ a: string, b?: number }, true>=> { a: string, b: number }MaybeRequired<{ a: string, b?: number }, false>=> { a: string, b?: number } Copy
MaybeRequired<{ a: string, b?: number }, true>=> { a: string, b: number }MaybeRequired<{ a: string, b?: number }, false>=> { a: string, b?: number }
Generated using TypeDoc
Description
Makes attributes on the type T required if TRequired is true.
Example