Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Fix the type signature of Options.keyValueMap (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 authored Nov 19, 2023
1 parent fb0bb00 commit d24623b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/angry-mugs-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/cli": patch
---

fix the type signature of `Options.keyValueMap`
2 changes: 1 addition & 1 deletion src/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const integer: (name: string) => Options<number> = InternalOptions.intege
* @since 1.0.0
* @category constructors
*/
export const keyValueMap: (name: string) => Options<HashMap<string, string>> =
export const keyValueMap: (option: string | Options<string>) => Options<HashMap<string, string>> =
InternalOptions.keyValueMap

/**
Expand Down

0 comments on commit d24623b

Please sign in to comment.