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