Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTimeout(() => injectScript(scripts[i], window.document), 0);
}
return (window: Window, args: any[]) =>
injectScript(wrapCallableInContext(autoCallFunction(fn, args), deps), window.document);
}