Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function exposeToPlugin(name: string, component: any) {
System.registerDynamic(name, [], true, (require, exports, module) => {
module.exports = component;
});
}
function exposeToPlugin(name: string, component: any) {
System.registerDynamic(name, [], true, function(require, exports, module) {
module.exports = component;
});
}