design-angular-kit
Version:
Un toolkit Angular conforme alle linee guida di design per i servizi web della PA
18 lines (17 loc) • 696 B
TypeScript
import { PipeTransform } from '@angular/core';
import { TranslatePipe } from '@ngx-translate/core';
import * as i0 from "@angular/core";
/**
* Indicates in a textual way how much time has passed since the indicated date
* @example 2 hours ago
*/
export declare class ItDateAgoPipe extends TranslatePipe implements PipeTransform {
/**
* Indicates in a textual way how much time has passed since the indicated date
* @example 2 hours ago
* @param value the Date or date string
*/
transform(value: string | Date): string;
static ɵfac: i0.ɵɵFactoryDeclaration<ItDateAgoPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ItDateAgoPipe, "itDateAgo", true>;
}