@toreda/time
Version:
Simple, small footprint library for common time operations and converting between units of time.
11 lines (10 loc) • 312 B
TypeScript
import type { LogLike } from './log/like';
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 | string, log?: LogLike): Time;