Skip to content

Commit f2bf615

Browse files
committed
chore: add prettify to group function results
1 parent e6781f1 commit f2bf615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/prompts/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export interface PromptGroupOptions<T> {
657657
* Control how the group can be canceled
658658
* if one of the prompts is canceled.
659659
*/
660-
onCancel?: (opts: { results: Partial<PromptGroupAwaitedReturn<T>> }) => void;
660+
onCancel?: (opts: { results: Prettify<Partial<PromptGroupAwaitedReturn<T>>> }) => void;
661661
}
662662

663663
type Prettify<T> = {

0 commit comments

Comments
 (0)