/** * `Data` represents the state of the `TestClock`, including the clock time * and time zone. * * @tsplus type effect/core/testing/TestClock.Data */ export interface Data { readonly instant: number readonly sleeps: List]> } /** * @tsplus type effect/core/testing/TestClock.Data.Ops */ export interface DataOps { ( instant: number, sleeps: List]> ): Data } /** * @tsplus static effect/core/testing/TestClock.Ops Data */ export const Data: DataOps = (instant, sleeps) => ({ instant, sleeps })