UNPKG

@toreda/time

Version:

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

11 lines (10 loc) 308 B
import { Log } from '@toreda/log'; import type { Time } from './time'; /** * Create Time object with months as time unit. * @param initial Object's initial value (in months). * @returns Time object * * @category Time Conversions */ export declare function months(initial: number, log?: Log): Time;