Type Alias DurationUnitSelection

DurationUnitSelection: Partial<Record<DurationUnit, boolean | undefined>>

Select a set of duration units to use in DurationBySelection.

import {type DurationUnitSelection} from 'date-vir';

const select: DurationUnitSelection = {
days: true,
months: true,
};