Please read through the answer provided over here.
https://github.com/grbsk/ng2-idle/issues/204#issuecomment-2474226381