Fixed JSDoc

This commit is contained in:
Natty 2023-09-01 18:29:29 +02:00
parent 7c0939c47c
commit 53e0d1be62
No known key found for this signature in database
GPG key ID: BF6CB659ADEE60EC

View file

@ -239,28 +239,28 @@ class ApiClient {
/** /**
* @param {Handle} handle * @param {Handle} handle
* *
* @return {Promise<FediUser>} * @returns {Promise<FediUser>}
*/ */
async getUserIdFromHandle(handle){ throw new Error("Not implemented"); } async getUserIdFromHandle(handle){ throw new Error("Not implemented"); }
/** /**
* @param {FediUser} user * @param {FediUser} user
* *
* return {Promise<Note[]>} * @returns {Promise<Note[]>}
*/ */
async getNotes(user){ throw new Error("Not implemented"); } async getNotes(user){ throw new Error("Not implemented"); }
/** /**
* @param {Note} note * @param {Note} note
* *
* return {Promise<FediUser[] | null>} * @returns {Promise<FediUser[] | null>}
*/ */
async getRenotes(note){ throw new Error("Not implemented"); } async getRenotes(note){ throw new Error("Not implemented"); }
/** /**
* @param {Note} note * @param {Note} note
* *
* return {Promise<Note[] | null>} * @returns {Promise<Note[] | null>}
*/ */
async getReplies(note){ throw new Error("Not implemented"); } async getReplies(note){ throw new Error("Not implemented"); }
@ -268,12 +268,12 @@ class ApiClient {
* @param {Note} note * @param {Note} note
* @param {boolean} extra_reacts * @param {boolean} extra_reacts
* *
* return {Promise<FediUser[] | null>} * @returns {Promise<FediUser[] | null>}
*/ */
async getFavs(note, extra_reacts) { throw new Error("Not implemented"); } async getFavs(note, extra_reacts) { throw new Error("Not implemented"); }
/** /**
* @return string * @returns string
*/ */
getClientName() { throw new Error("Not implemented"); } getClientName() { throw new Error("Not implemented"); }
} }