code: function Prompt() {
    BasePrompt.apply(this, arguments);
    if (typeof this.question.source !== 'function') {
      throw new TypeError('expected source to be defined');
    }
  
    this.currentChoices = [];
    this.firstRender = true;
    this.selected = 0;
  
    // Make sure no default is set (so it won't be printed)
    this.question.default = undefined;
    this.paginator = new Paginator();
  }
docs: Create a new autocomplete `Prompt`