Do not lint jsdocs for now

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-03-03 20:26:45 +01:00
parent cc4e544eef
commit ef48636f5d
3 changed files with 10 additions and 7 deletions

View File

@@ -37,8 +37,8 @@ export class BoardApi {
/**
* Updates a board.
*
* @param {Board} board
* @returns Promise
* @param {Board} board the board object to update
* @returns {Promise}
*/
updateBoard(board) {
return axios.put(this.url(`/boards/${board.id}`), board)
@@ -57,10 +57,13 @@ export class BoardApi {
/**
* Creates a new board.
* @typedef {Object} BoardCreateObject
* @property {string} title
* @property {string} color
*
* @param {{String title, String color}} boardData The board data to send.
* color the hexadecimal color value formated /[0-9A-F]{6}/i
* @return Promise
* @param {BoardCreateObject} boardData The board data to send.
* color the hexadecimal color value formated /[0-9A-F]{6}/i
* @returns {Promise}
*/
createBoard(boardData) {
return axios.post(this.url('/boards'), boardData)