title: Three JS - Property 'addElement' does not exist on type 'LensFlare'
body: <p>Hi I've been using threejs for a little bit and I'm currently trying to add a lens flare to my scene, just one.</p>
  
  <p>I've been trying to follow the three js <a href="https://threejs.org/examples/?q=lens#webgl_lensflares" rel="nofollow noreferrer">example</a></p>
  
  <p>I barely got into it when some errors appeared, it seems it cannot find <code>light.addElement()</code> or <code>new LensflareElement()</code> </p>
  
  <p>I get the two following errors:</p>
  
  <p><strong>Property 'addElement' does not exist on type 'LensFlare'</strong></p>
  
  <p><strong>Cannot find name 'LensflareElement'</strong></p>
  
  <p>I can't seem to find anything online about it, or whether it's been deprecated or modified, has anything happened to it? Sorry for what is probably a trivial-problem/easy-fix</p>
  
  <p>I don't have enough rep to post images but here's a link to what it looks like:</p>
  
  <p><a href="https://lh3.googleusercontent.com/AW767_nwZdpxw98ucLabQ9jUqrZB_yp8ZdXEEHLfCiZZPIz0cLA_1iDAQKRQFiBEl8kO9bksSRgY128Z-34vIAR7JxRDcTHx-9EP23lrpfFtgYde8KCHtbjBwvyiPahLcYSECPXVsxBTLWGX8wYX3j0ZJcvJpR-Duv-dpY3sbIZpkWSV35bY7yQCfqgTfqCNMeLhJO-8OAj0HCuX51naMVl4rdWhtDl905zu0d3amQ4WBlnrNWsv_hLkkEOG0cmGNUwD3w_jYleVXkZUqZZedMoj530Um9aLfL133OhX270QYSlgBodVMjSQlUs23GGTymBfJBiPzivm_Ytvy3THcDW3edStx3LIUn2xx144W271SbtWajZxksArHwHCi_QKiW_3VPJlylHraoR7xJUlLt1yMducalhoK_o2YXiZwrOgW5miSZBdCnn6PHgtEmMwiAVEtcI8iyC7KRlgKRSfjy21Mnm9h8xbvNooQFom1nYJysMzAoG4GSCH9sFWt_xbJqRGxbBMX36tX-2r4Mc3CDKWvqhhudm98duT8trnjc7SNZjVpoQvK2GrmOG4whX6ItDzHSc2LyuQ77Qc8WQp7JquL-3WZi04_y0uFVS-_I-nMeMRajO6u_TfjZqlsw=w552-h157-no" rel="nofollow noreferrer">errors</a></p>