From e8843ded5bf1f3d97b735ffe8f8553de46f9b18b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 2 Jun 2023 15:01:04 -0500 Subject: Fix a bunch of type errors and add a type-check to the github workflows (#837) * Add yarn type-check * Rename to yarn typecheck * Fix a collection of type errors * Add typecheck to automated tests * add `dist` to exluded folders tsconfig --------- Co-authored-by: Ansh Nanda --- src/lib/hooks/useTimer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/hooks/useTimer.ts') diff --git a/src/lib/hooks/useTimer.ts b/src/lib/hooks/useTimer.ts index bf3ecc07f..b14a9f24f 100644 --- a/src/lib/hooks/useTimer.ts +++ b/src/lib/hooks/useTimer.ts @@ -4,7 +4,7 @@ import * as React from 'react' * Helper hook to run persistent timers on views */ export function useTimer(time: number, handler: () => void) { - const timer = React.useRef(undefined) + const timer = React.useRef(undefined) // function to restart the timer const reset = React.useCallback(() => { -- cgit 1.4.1