panaverse / learn-typescript

Learning TypeScript in Baby Steps
MIT License
1.3k stars 551 forks source link

Update inquirer version in readme.md with a note on versions #33

Open ShahFaisalIslam opened 3 months ago

ShahFaisalIslam commented 3 months ago

Inquirer versions 10+ break our code in the following manner:

  1. 10.0.0 does not allow using prompt's response as variable because the question was given unknown type
  2. 10.1.0+ does not allow us to provide {message,type,name}[] type of prompt to inquirer.prompt(), making it completely incompatible