title: Type 'ElementRef' is not generic
body: <p>I am working with a project using Material Component in Angular 5. I did update my Visual code but I don't know what happened. I am facing an issue "Type 'ElementRef' is not generic."
  I have been stuck on this issue since morning.</p>
  
  <blockquote>
    <p>Error in this line</p>
  </blockquote>
  
  <pre><code>_inputElement: ElementRef&lt;HTMLInputElement&gt;;
  constructor(toggleGroup: MatButtonToggleGroup, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef&lt;HTMLInputElement&gt;, _focusMonitor: FocusMonitor);
  </code></pre>