Type alias ParsedTimespanList<TOptions>

ParsedTimespanList<TOptions>: TOptions extends {
    timespanAsList?: true;
} ? ParsedTimespan<TOptions>[] : TOptions extends {
    flat?: true;
    onlyGeneric?: true;
} | {
    onlyGeneric?: true;
} ? ParsedTimespan<TOptions> : {
    [timespanKey: string]: ParsedTimespan<TOptions>[];
}

Type Parameters

  • TOptions