UNPKG

@northguild/gmt

Version:

Date and time library for JavaScript and TypeScript, built on TC39 Temporal: time zones, DST, business days, ISO 8601 strings in and out. Never throws.

6 lines • 264 B
import { Temporal } from "../internal/temporal.js"; /** * A date or time unit in the singular, from `"year"` down to `"nanosecond"`, as Temporal's * rounding and difference options name units. */ export type DateTimeUnit = Temporal.TimeUnit | Temporal.DateUnit;