···654654655655export interface PromptGroupOptions<T> {
656656 /**
657657- * Control how the group can be canceld
658658- * if one of the prompts is canceld.
657657+ * Control how the group can be canceled
658658+ * if one of the prompts is canceled.
659659 */
660660 onCancel?: (opts: { results: Partial<PromptGroupAwaitedReturn<T>> }) => void;
661661}
662662663663+type Prettify<T> = {
664664+ [P in keyof T]: T[P];
665665+} & {};
666666+663667export type PromptGroup<T> = {
664668 [P in keyof T]: (opts: {
665665- results: Partial<PromptGroupAwaitedReturn<T>>;
669669+ results: Prettify<Partial<PromptGroupAwaitedReturn<T>>>;
666670 }) => void | Promise<T[P] | void>;
667671};
668672···673677export const group = async <T>(
674678 prompts: PromptGroup<T>,
675679 opts?: PromptGroupOptions<T>
676676-): Promise<PromptGroupAwaitedReturn<T>> => {
680680+): Promise<Prettify<PromptGroupAwaitedReturn<T>>> => {
677681 const results = {} as any;
678682 const promptNames = Object.keys(prompts);
679683