Skip to content

Commit e6781f1

Browse files
committed
chore: omit group results current key
1 parent ac7d1e1 commit e6781f1

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
@@ -666,7 +666,7 @@ type Prettify<T> = {
666666

667667
export type PromptGroup<T> = {
668668
[P in keyof T]: (opts: {
669-
results: Prettify<Partial<PromptGroupAwaitedReturn<T>>>;
669+
results: Prettify<Partial<PromptGroupAwaitedReturn<Omit<T, P>>>>;
670670
}) => void | Promise<T[P] | void>;
671671
};
672672

0 commit comments

Comments
 (0)