fixed usage of inquirer.js prompt types