UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

7 lines (6 loc) 240 B
/** * Calculate milliseconds until the next unit boundary for relative time updates * @param date The target date * @returns milliseconds until next update should occur */ export default function getNextUpdateDelay(date: Date): number;