import { NgModule , Pipe , PipeTransform } from '@angular/core' ; import { DateFnsInputDate } from './types' ; import endOfISOWeekYear from 'date-fns/endOfISOWeekYear' ; @ Pipe ( { name : 'dfnsEndOfISOWeekYear' } ) export class EndOfISOWeekYearPipe implements PipeTransform { transform ( date ) { return endOfISOWeekYear ( date ) ; } } @ NgModule ( { declarations : [ EndOfISOWeekYearPipe ] , exports : [ EndOfISOWeekYearPipe ] } ) export class EndOfISOWeekYearPipeModule { }