You can enable null safety in TypeScript, seems like a pretty good fix to me.
Where did we lose you? we're talking about two flavours of null, not one.