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 { clearInterval } from 'timers'; 

If so, remove them.

posted @ 2018-11-27 10:45  begin256  阅读(2033)  评论(0编辑  收藏  举报