title: TS1109, WebStorm incorrectly reacting on optional chaining
body: <p><a href="https://i.stack.imgur.com/rEdti.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rEdti.png" alt="Ts1109 error"></a></p>
  
  <p>WebStorm thinks it is a ternary operator and expects expressions and colon next. Maybe it thinks it is a TS code, while this is JS code in .js file, I'm not sure.</p>
  
  <p>How can I switch this inspection off?</p>