projects/maplander/components/src/lib/pipes/offering-type/offering-type.module.ts
Static forChild |
forChild()
|
Returns :
ModuleWithProviders
|
import {ModuleWithProviders, NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {OfferingTypePipe} from './offering-type.pipe';
@NgModule({
imports: [
CommonModule
],
declarations: [
OfferingTypePipe
],
exports: [
OfferingTypePipe
]
})
export class OfferingTypeModule {
static forChild(): ModuleWithProviders {
return {
ngModule: OfferingTypeModule,
providers: [
OfferingTypePipe
]
};
}
}