UNPKG

effect-ts-laws

Version:
21 lines 656 B
import { Invariant as IN } from '@effect/typeclass'; import type { TypeLambda } from 'effect/HKT'; import type { BuildParameterized } from './given.js'; /** * Typeclass laws for `Invariant`. * @category typeclass laws */ export declare const invariantLaws: BuildParameterized<InvariantTypeLambda>; /** * Type lambda for the `Invariant` typeclass. * @category type lambda */ export interface InvariantTypeLambda extends TypeLambda { readonly type: IN.Invariant<this['Target'] & TypeLambda>; } declare module './given.js' { interface ParameterizedLambdas { Invariant: InvariantTypeLambda; } } //# sourceMappingURL=Invariant.d.ts.map