@webilix/ngx-helper-m3
Version:
Helper library for Angular and Material 3
35 lines (34 loc) • 1.08 kB
TypeScript
import { PipeTransform } from '@angular/core';
import { DurationFormats } from '../pipe.types';
import * as i0 from "@angular/core";
export declare class NgxHelperDurationPipe implements PipeTransform {
transform(value?: number | null, options?: {
format?: DurationFormats;
english?: boolean;
}): string;
transform(value?: Date | null, options?: {
format?: DurationFormats;
english?: boolean;
}): string;
transform(value?: {
from: Date;
} | null, options?: {
format?: DurationFormats;
english?: boolean;
}): string;
transform(value?: {
to: Date;
} | null, options?: {
format?: DurationFormats;
english?: boolean;
}): string;
transform(value?: {
from: Date;
to: Date;
} | null, options?: {
format?: DurationFormats;
english?: boolean;
}): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperDurationPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperDurationPipe, "ngxHelperDuration", true>;
}