swc/bundler/tests/.cache/untrusted/e181cb6cb8b05b7c57b7f1cef4d5002e3061080d.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

15 lines
410 B
TypeScript

// 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;
}