UNPKG

ng-time-past-pipe

Version:

Reactive textual representation of the time that has been passed between a given date and now in your Angular App.

20 lines (19 loc) 551 B
/** * Accessor Input Type */ export declare type TAInput = number | string | Date; /** * Optimistic parse a given input to seconds that past between it and now * * @param value A value of type string, number or date * @return The time past in seconds between now and input value * @internal */ export declare const parseInputValue: (value: TAInput) => number; /** * Strict TAInput Type Validator * * @param value The optimistic input value to validate * @internal */ export declare const validateTAInputType: (value: TAInput) => boolean;