diff --git a/.changeset/angry-mugs-applaud.md b/.changeset/angry-mugs-applaud.md new file mode 100644 index 0000000..3636642 --- /dev/null +++ b/.changeset/angry-mugs-applaud.md @@ -0,0 +1,5 @@ +--- +"@effect/cli": patch +--- + +fix the type signature of `Options.keyValueMap` diff --git a/src/Options.ts b/src/Options.ts index 2c79825..0b3ff99 100644 --- a/src/Options.ts +++ b/src/Options.ts @@ -257,7 +257,7 @@ export const integer: (name: string) => Options = InternalOptions.intege * @since 1.0.0 * @category constructors */ -export const keyValueMap: (name: string) => Options> = +export const keyValueMap: (option: string | Options) => Options> = InternalOptions.keyValueMap /**