UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

14 lines (13 loc) 368 B
import { DateTime } from '../domain/DateTime'; import { Period } from '../types/Period'; export type StartEnd = { start: DateTime; end: DateTime; }; export type StartEndOptions = { period?: Period; start?: DateTime; end?: DateTime; zone?: string; }; export declare const toStartEnd: ({ period, start, end, zone }: StartEndOptions) => StartEnd;