@morphic-ts/eq-interpreters
Advanced tools
Comparing version 1.2.1-alpha.0 to 1.4.0-alpha.0
@@ -5,14 +5,6 @@ import { EqURI } from './hkt'; | ||
/** | ||
* Helper to build a Morph config | ||
* F.string(config(x => x)) | ||
* | ||
* Beware that this kind of Helper will not infer correctly in combinators taking another Morph as parameter (array, nullable, etc..) | ||
* | ||
* @since 0.0.1 | ||
*/ | ||
export declare const eqConfig: <R, E, A>(config: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>) => { | ||
EqURI: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>; | ||
}; | ||
export declare const eqApplyConfig: <E, A, R extends Record<"EqURI", any>>(config?: { | ||
EqURI?: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R> | undefined; | ||
} | undefined) => import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>; |
@@ -1,2 +0,2 @@ | ||
import { genConfig, getApplyConfig } from '@morphic-ts/common/es6/config'; | ||
import { getApplyConfig } from '@morphic-ts/common/es6/config'; | ||
import { EqURI } from './hkt'; | ||
@@ -6,10 +6,4 @@ export * from './model'; // to thread type level augmentations | ||
/** | ||
* Helper to build a Morph config | ||
* F.string(config(x => x)) | ||
* | ||
* Beware that this kind of Helper will not infer correctly in combinators taking another Morph as parameter (array, nullable, etc..) | ||
* | ||
* @since 0.0.1 | ||
*/ | ||
export const eqConfig = genConfig(EqURI); | ||
export const eqApplyConfig = getApplyConfig(EqURI); |
@@ -5,14 +5,6 @@ import { EqURI } from './hkt'; | ||
/** | ||
* Helper to build a Morph config | ||
* F.string(config(x => x)) | ||
* | ||
* Beware that this kind of Helper will not infer correctly in combinators taking another Morph as parameter (array, nullable, etc..) | ||
* | ||
* @since 0.0.1 | ||
*/ | ||
export declare const eqConfig: <R, E, A>(config: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>) => { | ||
EqURI: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>; | ||
}; | ||
export declare const eqApplyConfig: <E, A, R extends Record<"EqURI", any>>(config?: { | ||
EqURI?: import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R> | undefined; | ||
} | undefined) => import("@morphic-ts/common/lib/config").GenConfig<import("fp-ts/lib/Eq").Eq<A>, R>; |
@@ -9,10 +9,4 @@ "use strict"; | ||
/** | ||
* Helper to build a Morph config | ||
* F.string(config(x => x)) | ||
* | ||
* Beware that this kind of Helper will not infer correctly in combinators taking another Morph as parameter (array, nullable, etc..) | ||
* | ||
* @since 0.0.1 | ||
*/ | ||
exports.eqConfig = config_1.genConfig(hkt_1.EqURI); | ||
exports.eqApplyConfig = config_1.getApplyConfig(hkt_1.EqURI); |
{ | ||
"name": "@morphic-ts/eq-interpreters", | ||
"version": "1.2.1-alpha.0", | ||
"version": "1.4.0-alpha.0", | ||
"description": "Morphic Eq (fp-ts) package for equality", | ||
@@ -24,5 +24,5 @@ "author": "Stéphane Le Dorze <stephane.ledorze@gmail.com>", | ||
"dependencies": { | ||
"@morphic-ts/algebras": "^1.2.0", | ||
"@morphic-ts/common": "^1.2.0", | ||
"@morphic-ts/model-algebras": "^1.2.1-alpha.0", | ||
"@morphic-ts/algebras": "^1.4.0-alpha.0", | ||
"@morphic-ts/common": "^1.4.0-alpha.0", | ||
"@morphic-ts/model-algebras": "^1.4.0-alpha.0", | ||
"fast-equals": "^2.0.0" | ||
@@ -73,3 +73,3 @@ }, | ||
}, | ||
"gitHead": "e8955a37eeeab925cc0a88c68d2c9a78bbcc826a" | ||
"gitHead": "fe45bbfc59e22c10fa6d73bd6f83a9602cfc6993" | ||
} |
30288
656