let timer: ReturnType<typeof setTimeout> = setTimeout(() => { ... }); clearTimeout(timer);. By using ReturnType<fn> you are getting ...
確定! 回上一頁