UNPKG

@jaspero/ng-helpers

Version:

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![CircleCI](https://circleci.com/gh/Jaspero/ng-helpers.svg?style=svg)](https://circleci.

18 lines 649 B
import { PipeTransform } from '@angular/core'; import * as i0 from "@angular/core"; export declare enum TimePassedType { Millisecond = 0, Second = 1, Minute = 2, Hour = 3, Day = 4, Month = 5, Year = 6 } export declare class TimePassedPipe implements PipeTransform { static timeDiff(dateOne: Date, dateTwo?: Date, type?: TimePassedType): number; transform(dateOne: Date, dateTwo?: Date, type?: TimePassedType): any; static ɵfac: i0.ɵɵFactoryDeclaration<TimePassedPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<TimePassedPipe, "jpTimePassed", false>; } //# sourceMappingURL=time-passed.pipe.d.ts.map