diff --git a/CHANGELOG.md b/CHANGELOG.md index d265977f1..bcad5e20f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,11 @@ **Note**: Gaps between patch versions are faulty/broken releases. **Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice. +# 2.0.5 + +- **Bug Fix** + - fix `PipeableApply2C` definition (@gcanti) + # 2.0.4 - **Polish** diff --git a/docs/modules/pipeable.ts.md b/docs/modules/pipeable.ts.md index 2b6f4e7cb..6d0acb966 100644 --- a/docs/modules/pipeable.ts.md +++ b/docs/modules/pipeable.ts.md @@ -226,8 +226,8 @@ Added in v2.0.0 ```ts export interface PipeableApply2C extends PipeableFunctor2C { readonly ap: (fa: Kind2) => (fab: Kind2 B>) => Kind2 - readonly apFirst: (fb: Kind2) => (fb: Kind2) => Kind2 - readonly apSecond: (fb: Kind2) => (fb: Kind2) => Kind2 + readonly apFirst: (fb: Kind2) => (fa: Kind2) => Kind2 + readonly apSecond: (fb: Kind2) => (fa: Kind2) => Kind2 } ``` diff --git a/package.json b/package.json index e1d7a2cc2..46cbe8e58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fp-ts", - "version": "2.0.4", + "version": "2.0.5", "description": "Functional programming in TypeScript", "files": [ "lib", diff --git a/src/pipeable.ts b/src/pipeable.ts index 8844c2f0c..65a2f6667 100644 --- a/src/pipeable.ts +++ b/src/pipeable.ts @@ -310,8 +310,8 @@ export interface PipeableApply2 extends PipeableFunctor2 { */ export interface PipeableApply2C extends PipeableFunctor2C { readonly ap: (fa: Kind2) => (fab: Kind2 B>) => Kind2 - readonly apFirst: (fb: Kind2) => (fb: Kind2) => Kind2 - readonly apSecond: (fb: Kind2) => (fb: Kind2) => Kind2 + readonly apFirst: (fb: Kind2) => (fa: Kind2) => Kind2 + readonly apSecond: (fb: Kind2) => (fa: Kind2) => Kind2 } /**