mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 01:43:29 +01:00
8 lines
134 B
TypeScript
8 lines
134 B
TypeScript
import dayjs, { Dayjs } from "dayjs";
|
|
|
|
export interface Clock {
|
|
now(): Dayjs;
|
|
}
|
|
|
|
export const SystemClock = { now: () => dayjs() };
|