Typescript Error: setInterval – Type ‘Timer’ is not assignable to type ‘number’ June 5, 2023 by Tarik Use window.setInterval instead