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.

posted @ 2020-10-08 21:38  小短腿奔跑吧  阅读(339)  评论(0编辑  收藏  举报