Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(private resourcePath: string) {
const typeFactory = new TypeFactory();
const resourceExplorer = new ResourceExplorer();
resourceExplorer.addFolder(this.resourcePath);
this.typeLoader = new TypeLoader(typeFactory, resourceExplorer);
this.typeLoader.addComponent(new AdaptiveComponentRegistration());
this.typeLoader.addComponent(new AdaptiveTestComponentRegistration());
}