UNPKG

@toreda/time

Version:

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

10 lines (9 loc) 245 B
import type { Time } from './time'; /** * Create Time object in 'years' * @param initial Object's initial value (in years). * @returns Time object * * @category Time Conversions */ export declare function years(initial: number): Time;