UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

20 lines (19 loc) 517 B
/** * @module TimeSpan */ /** * * IMPORT_PATH: `"@daiso-tech/core/time-span/contracts"` * @group Contracts */ export declare const TO_MILLISECONDS: unique symbol; /** * The `ITimeSpan` contract enables interoperability with external time libraries (e.g., `Luxon`, `Dayjs`). * To integrate, simply implement `ITimeSpan` on the duration objects of those libraries. * * IMPORT_PATH: `"@daiso-tech/core/time-span/contracts"` * @group Contracts */ export type ITimeSpan = { [TO_MILLISECONDS](): number; };