UNPKG

@toreda/time

Version:

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

11 lines (10 loc) 312 B
import type { LogLike } from './log/like'; import type { Time } from './time'; /** * Create Time object in 'weeks' * @param initial Object's initial value (in weeks). * @returns Time object * * @category Time Conversions */ export declare function weeks(initial: number | string, log?: LogLike): Time;