humanize.d.ts 403 B

12345
  1. import { Locale } from '../locale/locale.class';
  2. import { Duration } from './constructor';
  3. export declare function relativeTime(posNegDuration: Duration, withoutSuffix: boolean, locale: Locale): string;
  4. export declare function getSetRelativeTimeRounding(roundingFunction: any): boolean | Function;
  5. export declare function getSetRelativeTimeThreshold(threshold: string, limit: number): boolean | number;