From 71acbc9791ad42f99757feb9ed03e208fd09aa70 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 19 May 2023 02:39:47 +0300 Subject: Fix linter warnings --- vnext/src/api/index.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vnext/src/api/index.js') diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js index 2af6c867..ef753eaf 100644 --- a/vnext/src/api/index.js +++ b/vnext/src/api/index.js @@ -87,7 +87,6 @@ client.interceptors.request.use(config => { /** * fetch my info - * * @param {string} username * @param {string} password * @returns {Promise} me object @@ -184,7 +183,6 @@ export function comment(mid, rid, body, attach) { } /** * Edit message - * * @param {number} mid * @param {number} rid * @param {string?} body @@ -198,7 +196,6 @@ export function update(mid, rid, body) { } /** * Update user avatar - * * @param {string} newAvatar */ export function updateAvatar(newAvatar) { @@ -247,7 +244,6 @@ let profileCache = {}; /** * Fetch user profile - * * @param {string} profileUrl User profile URL */ export function fetchUserUri(profileUrl) { @@ -283,7 +279,6 @@ export function fetchUserUri(profileUrl) { /** * Fetch Tweet content - * * @param {string} url Tweet URL * @returns {Promise} HTML content */ @@ -300,7 +295,6 @@ export function fetchUserUri(profileUrl) { /** * Checks if HTTP error code is redirection code - * * @param {number} code HTTP error code * @returns {boolean} is HTTP request redirected or not */ @@ -310,7 +304,6 @@ function isHttpRedirected(code = 200) { /** * Checks if HTTP error code is successful code - * * @param {number} code HTTP error code * @returns {boolean} is HTTP request successful or not */ @@ -320,7 +313,6 @@ function isHttpSuccessful(code = 200) { /** * Resolves shortened url to actual one - * * @param {string} url URL to resolve * @returns {Promise} full URL */ -- cgit v1.2.3