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

Fix the type signature of Options.keyValueMap #382

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading