@jaspero/ng-helpers
Version:
[](https://github.com/semantic-release/semantic-release) [](https://circleci.
18 lines • 649 B
TypeScript
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