We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
An if with condition that contains an explicited short-circuit evaluation cause null check to fail:
if
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'