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 'hours' * @param initial Object's initial value (in hours). * @returns Time object * * @category Time Conversions */ export declare function hours(initial: number): Time;