17782: Additional imports and typing fixes.
[arvados-workbench2.git] / src / views-components / auto-logout / auto-logout.tsx
index c6c1feeef86671df718c7f4613e0bcaa37a94d1a..9a8299b25ca3b351f6c3f9ee161f9e6b67bb5d0c 100644 (file)
@@ -40,7 +40,7 @@ const mapDispatchToProps = (dispatch: Dispatch): AutoLogoutActionProps => ({
 export type AutoLogoutProps = AutoLogoutDataProps & AutoLogoutActionProps;
 
 const debounce = (delay: number | undefined, fn: Function) => {
-    let timerId: number | null;
+    let timerId: NodeJS.Timer | null;
     return (...args: any[]) => {
         if (timerId) { clearTimeout(timerId); }
         timerId = setTimeout(() => {