Uncaught TypeError: timeout.close is not a function. when try to use clearInterval
It's because of your IDE! Make sure you have added automatic imports such as
import { setInterval, clearTimeout } from "timers";
If so, remove them.
It's because of your IDE! Make sure you have added automatic imports such as
If so, remove them.