title: How can I make VSCode maintain proper syntax highlighting for .JS files after using Elvis (?) operator?
body: <p>In my <code>.js</code> files, when I use an elvis operator <code>const something = data?.info?.set</code> , the entire file turns red after the line used.</p>
  
  <p>How can I make VSCode recognize elvis operators and maintain syntax proper highlighting?</p>
  
  <p>Note: I use <code>metro-react-native-babel-preset</code> and eslint, which by default allows for optionals in pure .js files (not typescript)</p>
  
  <p>I have installed <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next" rel="noreferrer">https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next</a> and also followed the instructions to enable it. However, my code is still pure <em>red</em> color starting the line after I use the <code>?</code> operator.</p>