export type AutoLogoutProps = AutoLogoutDataProps & AutoLogoutActionProps;
const debounce = (delay: number | undefined, fn: Function) => {
export type AutoLogoutProps = AutoLogoutDataProps & AutoLogoutActionProps;
const debounce = (delay: number | undefined, fn: Function) => {
return (...args: any[]) => {
if (timerId) { clearTimeout(timerId); }
timerId = setTimeout(() => {
return (...args: any[]) => {
if (timerId) { clearTimeout(timerId); }
timerId = setTimeout(() => {