icecreamdatabase / IceCreamDataBase

MIT License
2 stars 2 forks source link

Refactor to allow WebStorm to autocomplete better #82

Closed cineafx closed 4 years ago

cineafx commented 4 years ago

Pretty much add this to every class which has public variable

  /**
   * @param {Bot} bot
   */
  constructor (bot) {
    this._bot = bot
  }

  /**
   * @return {Bot}
   */
  get bot () {
    return this._bot
  }