Skip to content

Commit

Permalink
chore: omit group results current key
Browse files Browse the repository at this point in the history
  • Loading branch information
Mist3rBru committed Mar 9, 2023
1 parent ac7d1e1 commit e6781f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prompts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ type Prettify<T> = {

export type PromptGroup<T> = {
[P in keyof T]: (opts: {
results: Prettify<Partial<PromptGroupAwaitedReturn<T>>>;
results: Prettify<Partial<PromptGroupAwaitedReturn<Omit<T, P>>>>;
}) => void | Promise<T[P] | void>;
};

Expand Down

0 comments on commit e6781f1

Please sign in to comment.