Converts optional properties (?) into required properties with explicit undefined in their type.
?
undefined
e.g. { a?: string; b: number } becomes { a: string | undefined; b: number }
{ a?: string; b: number }
{ a: string | undefined; b: number }
Converts optional properties (
?) into required properties with explicitundefinedin their type.e.g.
{ a?: string; b: number }becomes{ a: string | undefined; b: number }