swc/bundler/tests/.cache/untrusted/e181cb6cb8b05b7c57b7f1cef4d5002e3061080d.ts

15 lines
410 B
TypeScript
Raw Normal View History

// Loaded from https://dev.jspm.io/npm:set-immediate-shim@1.0.1/index.dew.js
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
exports = typeof setImmediate === 'function' ? setImmediate : function setImmediate() {
var args = [].slice.apply(arguments);
args.splice(1, 0, 0);
setTimeout.apply(null, args);
};
return exports;
}