title: Error TS2315: Type 'ElementRef' is not generic material angular
body: <p>Error adding angular material in project</p>
  <pre><code>ERROR in
  node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(136,20):
  
  error TS2315: Type 'ElementRef' is not generic.
  
  node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(154,104):
  
  error TS2315: Type 'ElementRef' is not generic
  </code></pre>
  <p>I'm trying to install material design but it looks like that's the issue.</p>
  <p>Environment settings: <code>Angular CLI: 1.7.4 &amp; Node: 9.11.1</code></p>