import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule as AngularCommonModule } from '@angular/common';

@NgModule({
  imports: [],
  exports: []
})
export class CommonRootModule {}

@NgModule({
  declarations: [],
  imports: [AngularCommonModule],
  exports: []
})
export class CommonModule {
  public static forRoot(): ModuleWithProviders<CommonRootModule> {
    return {
      ngModule: CommonRootModule,
      providers: []
    };
  }
}
