Type de type SetInterval
const setIntervalConst: ReturnType<typeof setInterval> = setInterval(() => {
console.log("type of setInterval");
}, 1000)
codeAesthetic
const setIntervalConst: ReturnType<typeof setInterval> = setInterval(() => {
console.log("type of setInterval");
}, 1000)