UNPKG

402 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.clearAllTimer = void 0;
4/* tslint:disable no-empty */
5function noop() { }
6/* tslint:enable no-empty */
7function clearAllTimer() {
8 let i = setInterval(noop);
9 for (; i > 0; i--) {
10 clearTimeout(i);
11 clearInterval(i);
12 }
13}
14exports.clearAllTimer = clearAllTimer;
15//# sourceMappingURL=timer.js.map
\No newline at end of file