Thanks for the explanation! In that case, wouldn’t had it worked out using undefined
in addition to null
and the proper value?
export interface MemberWithProfile {
member? : null | User;
}
P.S.: I’ve got a similar question / feed about the same topic.