Skip to content

Commit

Permalink
chore: update jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Nov 1, 2023
1 parent a34c008 commit 281c458
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ function makeRequestBody(isSpellCheck, text, fromLang, toLang) {
* @param {string} text content to be translated
* @param {string} from source language code. `auto-detect` by default.
* @param {string} to target language code. `en` by default.
* @param {boolean} correct <optional> whether to correct the input text. `false` by default.
* @param {boolean} raw <optional> the result contains raw response if `true`
* @param {string} userAgent <optional> the expected user agent header
* @param {GotAgents} proxyAgents <optional> set agents of `got` for proxy
* @param {boolean} [correct] <optional> whether to correct the input text. `false` by default.
* @param {boolean} [raw] <optional> the result contains raw response if `true`
* @param {string} [userAgent] <optional> the expected user agent header
* @param {GotAgents} [proxyAgents] <optional> set agents of `got` for proxy
*
* @returns {Promise<TranslationResult>}
*/
Expand Down

0 comments on commit 281c458

Please sign in to comment.