---
url: /reference/api/logger/prompts.TypeAlias.PromptGroup.md
---
# Type Alias: PromptGroup\<T>

```ts twoslash
// @include: imports
type PromptGroup<T> = {
  [P in keyof T]: (opts: {
    results: Prettify<Partial<PromptGroupAwaitedReturn<Omit<T, P>>>>;
  }) => undefined | Promise<T[P] | undefined>;
};
```

Defined in: node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:428

A group of prompts to be displayed sequentially, with each prompt receiving
the results of all previous prompts in the group.

## Type Parameters

&#x20;`T`
