Skip to content

Commit

Permalink
fix Options.mapEffect export (#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Jan 17, 2024
1 parent 4a4195c commit d21e028
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-rules-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/cli": patch
---

fix Options.mapEffect export
6 changes: 3 additions & 3 deletions packages/cli/src/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,9 @@ export const map: {
* @since 1.0.0
* @category combinators
*/
export const mapOrFail: {
<A, B>(f: (a: A) => Effect<FileSystem, ValidationError, B>): (self: Options<A>) => Options<B>
<A, B>(self: Options<A>, f: (a: A) => Effect<FileSystem, ValidationError, B>): Options<B>
export const mapEffect: {
<A, B>(f: (a: A) => Effect<FileSystem | Path | Terminal, ValidationError, B>): (self: Options<A>) => Options<B>
<A, B>(self: Options<A>, f: (a: A) => Effect<FileSystem | Path | Terminal, ValidationError, B>): Options<B>
} = InternalOptions.mapEffect

/**
Expand Down

0 comments on commit d21e028

Please sign in to comment.