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