<repo_name>jesuscuesta/ngx-generator<file_sep>/projects/jcuesta/ngx-generator/src/public-api.ts
/*
 * Public API Surface of ngx-generator
 */

export * from './lib/ngx-generator.module';
<file_sep>/projects/jcuesta/ngx-generator/src/lib/ngx-generator.module.ts
import { NgModule, ModuleWithProviders } from '@angular/core';
import { NgxGeneratorComponent } from './ngx-generator.component';
import { RouterModule } from '@angular/router';
import { AppRoutingModule } from './app-routing.module';

@NgModule({
  declarations: [NgxGeneratorComponent],
  imports: [
    AppRoutingModule,
    RouterModule.forChild([]),
  ],
  exports: [NgxGeneratorComponent]
})
export class NgxGeneratorModule { }

@NgModule({})
export class GeneradorSharedModule {
  static forChild(): ModuleWithProviders {
    return {
      ngModule: NgxGeneratorModule,
      providers: []
    };
  }
}
