We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6781f1 commit f2bf615Copy full SHA for f2bf615
packages/prompts/src/index.ts
@@ -657,7 +657,7 @@ export interface PromptGroupOptions<T> {
657
* Control how the group can be canceled
658
* if one of the prompts is canceled.
659
*/
660
- onCancel?: (opts: { results: Partial<PromptGroupAwaitedReturn<T>> }) => void;
+ onCancel?: (opts: { results: Prettify<Partial<PromptGroupAwaitedReturn<T>>> }) => void;
661
}
662
663
type Prettify<T> = {
0 commit comments