how to add directive inside the @pipe/@directive/@component annotation code example
Example: Please add a @Pipe/@Directive/@Component annotation.
import { SharedModule } from './modules/shared/shared.module';
@NgModule({
declarations: [
// Should not have been added here...
],
imports: [
SharedModule
],