Skip to content

DateTimeUnit

DateTimeUnit is a structural type that appears in public signatures. It is not directly importable.

The DateTimeUnit type.

type DateTimeUnit = Temporal.TimeUnit | Temporal.DateUnit;

types/date-time-unit.ts