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