Skip to content

Commit

Permalink
fix func
Browse files Browse the repository at this point in the history
  • Loading branch information
mizukiwei committed Aug 18, 2022
1 parent 5353118 commit 7a4322e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const lodash = typeof require !== 'undefined' ? require('lodash') : {};
global.setTimeout = function (handler, timeout, ...args) {
return _timeout.call(global, handler, +timeout + 1000, ...args);
}
global.setTimeout = function (handler, timeout, ...args) {
global.setInterval = function (handler, timeout, ...args) {
return _interval.call(global, handler, +timeout + 1000, ...args);
}

Expand Down

0 comments on commit 7a4322e

Please sign in to comment.