diff --git a/src/scoresaber/ScoreSaber.ts b/src/scoresaber/ScoreSaber.ts index c07470a..5a2c115 100644 --- a/src/scoresaber/ScoreSaber.ts +++ b/src/scoresaber/ScoreSaber.ts @@ -25,7 +25,7 @@ enum PlayerDataType { * @param page the page number * @param countries the countries to search * @param withMetadata whether to include metadata - * @returns the players + * @returns {ScoresaberPlayerSearch} the players */ export async function getPlayers( search: string, @@ -45,7 +45,7 @@ export async function getPlayers( /** * Gets the number of active players on ScoreSaber * - * @returns the number of active players + * @returns {number} the number of active players */ export async function getActivePlayerCount(): Promise { const url = `${CONSTS.BASE_URL}/${CONSTS.PLAYER_COUNT}`; @@ -58,7 +58,7 @@ export async function getActivePlayerCount(): Promise { * * @param playerId the players id (not the name) * @param type the type of data to get - * @returns the player data + * @returns {ScoresaberPlayer} the player data */ export async function getPlayer( playerId: string,