I'm trying to create a type that has null void and undefined removed.
type TEST = {
propOne:string
propTwo: number
propThree:null // completely remove this property
}
type CLEAN<T> = { [P in keyof T]: NonNullable<T[P]> };
type FIXED = CLEAN<TEST>
const fixed:FIXED={ // error - it wants propThree property
propOne:'',
propTwo:1,
}