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