Skip to content

PromptConfig - @inquirer/prompts v3 to @inquirer/prompts v4 #1362

Answered by SBoudrias
tuler asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the PromptConfig just disappeared - it's not used anymore.

To get the input config type, I would recommend going at it this way:

type InputConfig = Parameters<typeof input>[0];

export type AddressPromptConfig = InputConfig & { default?: Address };

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tuler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants