In my case I've declared the pipe in a separate module and imported this pipe ... import { NgModule } from '@angular/core'; import { myDateFormat } from '.
確定! 回上一頁