libs/ui/pipes/src/lib/ui-pipes.module.ts
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TsAbbreviateNumberPipe } from './abbreviate-number/abbreviate-number.pipe';
import { TsDatePipe } from './date/date.pipe';
import { TsRoundNumberPipe } from './round-number/round-number.pipe';
import { TsSentenceCasePipe } from './sentence-case/sentence-case.pipe';
import { TsTimeAgoPipe } from './time-ago/time-ago.pipe';
import { TsTitleCasePipe } from './title-case/title-case.pipe';
import { TsTruncateAtPipe } from './truncate/truncate.pipe';
export * from './abbreviate-number/abbreviate-number.pipe';
export * from './date/date.pipe';
export * from './round-number/round-number.pipe';
export * from './sentence-case/sentence-case.pipe';
export * from './time-ago/time-ago.pipe';
export * from './title-case/title-case.pipe';
export * from './truncate/truncate.pipe';
@NgModule({
imports: [CommonModule],
exports: [
TsAbbreviateNumberPipe,
TsDatePipe,
TsRoundNumberPipe,
TsSentenceCasePipe,
TsTimeAgoPipe,
TsTitleCasePipe,
TsTruncateAtPipe,
],
providers: [
TsAbbreviateNumberPipe,
TsDatePipe,
TsRoundNumberPipe,
TsSentenceCasePipe,
TsTimeAgoPipe,
TsTitleCasePipe,
TsTruncateAtPipe,
],
declarations: [
TsAbbreviateNumberPipe,
TsDatePipe,
TsRoundNumberPipe,
TsSentenceCasePipe,
TsTimeAgoPipe,
TsTitleCasePipe,
TsTruncateAtPipe,
],
})
export class TsPipesModule {}