An if with condition that contains an explicited short-circuit evaluation cause null check to fail:
const m:string|null = "a";
if(m===null || (m.length>50)) throw "";
m.length; // ok
if(m===null || (m!==null && m.length>50)) throw "";
m.length; // fails with: Object is possibly 'null'