TypeScript Ustaw wartości interfejsu na niezdefiniowane
type NewType = Record<keyof Partial<MyOriginalInterface>, undefined>
ShanK
type NewType = Record<keyof Partial<MyOriginalInterface>, undefined>