UNPKG

veffect

Version:

powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha

26 lines (22 loc) 466 B
/** * @since 2.0.0 */ import * as internal from "./internal/logSpan.js" /** * @since 2.0.0 * @category models */ export interface LogSpan { readonly label: string readonly startTime: number } /** * @since 2.0.0 * @category constructors */ export const make: (label: string, startTime: number) => LogSpan = internal.make /** * @since 2.0.0 * @category destructors */ export const render: (now: number) => (self: LogSpan) => string = internal.render