function newTeamSwitch() {
    inquirer.prompt([
      {
        type: "list",
        message: "What type of team member do you want to add?",
        name: "teamMemberType",
        choices: ["Intern", "Engineer", "Done"]
      }]).then(response => {
        var newTeamMember = response.teamMemberType
        switch (newTeamMember) {
          case "Engineer": engineerQuestions(newTeamMember)
            break;
          case "Intern": internQuestions(newTeamMember)
            break;
          default: compileTeam()
        }
      })
  }
//After entering each member, will go back to switch
After entering each member, will go back to switch
After entering each member will go back to switch
function newTeamSwitch() {
    inquirer.prompt([
      {
        type: "list",
        message: "What type of team member do you want to add?",
        name: "teamMemberType",
        choices: ["Intern", "Engineer", "Done"]
      }]).then(response => {
        var newTeamMember = response.teamMemberType
        switch (newTeamMember) {
          case "Engineer": engineerQuestions(newTeamMember)
            break;
          case "Intern": internQuestions(newTeamMember)
            break;
          default: compileTeam()
        }
      })
  }
function newTeamSwitch ( ) { inquirer . prompt ( [ { type : "list" , message : "What type of team member do you want to add?" , name : "teamMemberType" , choices : [ "Intern" , "Engineer" , "Done" ] } ] ) . then ( response => { var newTeamMember = response . teamMemberType switch ( newTeamMember ) { case "Engineer" : engineerQuestions ( newTeamMember ) break ; case "Intern" : internQuestions ( newTeamMember ) break ; default : compileTeam ( ) } } ) }
After entering each member, will go back to switch
After entering each member will go back to switch