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

32 lines 773 B
import { pipeArguments } from "../../Pipeable.js"; /** @internal */ const MetricPairSymbolKey = "effect/MetricPair"; /** @internal */ export const MetricPairTypeId = /*#__PURE__*/Symbol.for(MetricPairSymbolKey); const metricPairVariance = { /* c8 ignore next */ _Type: _ => _ }; /** @internal */ export const make = (metricKey, metricState) => { return { [MetricPairTypeId]: metricPairVariance, metricKey, metricState, pipe() { return pipeArguments(this, arguments); } }; }; /** @internal */ export const unsafeMake = (metricKey, metricState) => { return { [MetricPairTypeId]: metricPairVariance, metricKey, metricState, pipe() { return pipeArguments(this, arguments); } }; }; //# sourceMappingURL=pair.js.map