moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

Please remove dependeny of @angular/http #64

Closed dgroh closed 6 years ago

dgroh commented 6 years ago

I'm submitting a ...

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior With the new HttpClient the use of HttpModule is no longer needed. Wehn running ng build I get the following error: .../keepalive.d.ts (2,41): Cannot find module '@angular/http'.

Expected behavior My app does not make use of HttpModule so I want to build the app without any problems.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

dgroh commented 6 years ago

installing only @ng-idle/core solved the issue.

So closing...