UNPKG

@toreda/time

Version:

Simple, small footprint library for common time operations and converting between units of time.

10 lines (9 loc) 326 B
import type { TimeUnit } from './unit'; /** * Set of all canonical, supported `TimeUnit` values. Used by core * functions to validate that a value is a real `TimeUnit` (not an * alias). For alias→canonical resolution, see `timeUnitFromAlias`. * * @category Time Units */ export declare const timeUnits: Set<TimeUnit>;