effect-ts-laws
Version:
effect-ts law testing using fast-check.
21 lines • 688 B
TypeScript
import { Covariant as CO } from '@effect/typeclass';
import type { TypeLambda } from 'effect/HKT';
import type { BuildParameterized } from './given.js';
/**
* Typeclass laws for `Covariant` and its requirement `Invariant`.
* @category typeclass laws
*/
export declare const covariantLaws: BuildParameterized<CovariantTypeLambda>;
/**
* Type lambda for the `Covariant` typeclass.
* @category type lambda
*/
export interface CovariantTypeLambda extends TypeLambda {
readonly type: CO.Covariant<this['Target'] & TypeLambda>;
}
declare module './given.js' {
interface ParameterizedLambdas {
Covariant: CovariantTypeLambda;
}
}
//# sourceMappingURL=Covariant.d.ts.map