title: with ngx-device-detector, getting error of - Type 'ModuleWithProviders' is not generic
body: <p>In my project I have ngx-device-detector of latest version and @angular/core version is 5.0.0 when I try to run my project I am not able to run it and it is showing error like:</p>
  
  <blockquote>
    <p>ERROR in node_modules/ngx-device-detector/index.d.ts(3,23): error TS2315: Type 'ModuleWithProviders' is not generic.</p>
  </blockquote>
  
  <p>here is my <code>package.json</code></p>
  
  <pre><code>"@angular/core": "^5.0.0",
  "ngx-device-detector": "^1.4.2"
  </code></pre>
  
  <p>Am I mistaking something?</p>