// Generated by CoffeeScript 2.3.2
(function() {
  var Completion, Suggest;

  Suggest = require("./suggest");

  module.exports = Completion = class Completion extends Suggest {
    build({q}) {
      if (q != null ? q.trim().length : void 0) {
        return {
          text: q,
          completion: {
            field: this.field
          }
        };
      }
    }

  };

}).call(this);
