Skip to content

Commit

Permalink
style: improve jsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed Jun 20, 2020
1 parent 97a8d00 commit 94e32df
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const withDefaults = (optns = {}) => {
* @returns {object} i18n helpers
* @see {@link https://github.com/mashpie/i18n-node#i18nconfigure}
* @author lally elias <lallyelias87@gmail.com>
* @since 0.1.0
* @since 0.2.0
* @version 0.1.0
* @license MIT
* @public
Expand Down Expand Up @@ -206,12 +206,12 @@ export const reset = () => {
* @param {string} [locale=en] locale to use in translation or default
* @param {object} [optns={}] data to use on parse and substitution
* @returns {string} translated parsed and substituted string
* @author lally elias <lallyelias87@gmail.com>
* @since 0.1.0
* @version 0.1.0
* @author lally elias <lallyelias87@mail.com>
* @license MIT
* @public
* @since 0.2.0
* @version 0.1.0
* @static
* @public
* @example
*
* import { t } from '@lykmapipo/i18n';
Expand Down Expand Up @@ -255,12 +255,12 @@ export const t = (phrase, locale, optns) => {
* each language
* @param {string} phrase localized phrase
* @returns {string} translated parsed and substituted string
* @author lally elias <lallyelias87@gmail.com>
* @since 0.1.0
* @version 0.1.0
* @author lally elias <lallyelias87@mail.com>
* @license MIT
* @public
* @since 0.2.0
* @version 0.1.0
* @static
* @public
* @example
*
* import { l } from '@lykmapipo/i18n';
Expand Down Expand Up @@ -290,12 +290,12 @@ export const l = (phrase) => {
* each language.
* @param {string} phrase localized phrase
* @returns {string} translated parsed and substituted string
* @author lally elias <lallyelias87@gmail.com>
* @since 0.1.0
* @version 0.1.0
* @author lally elias <lallyelias87@mail.com>
* @license MIT
* @public
* @since 0.2.0
* @version 0.1.0
* @static
* @public
* @example
*
* import { h } from '@lykmapipo/i18n';
Expand Down Expand Up @@ -331,12 +331,12 @@ export const h = (phrase) => {
* @param {number} [count=0] count to use on parse and substitution
* @returns {string} translated parsed and substituted string based on last
* count parameter
* @author lally elias <lallyelias87@gmail.com>
* @since 0.1.0
* @version 0.1.0
* @author lally elias <lallyelias87@mail.com>
* @license MIT
* @public
* @since 0.2.0
* @version 0.1.0
* @static
* @public
* @example
*
* import { n } from '@lykmapipo/i18n';
Expand Down

0 comments on commit 94e32df

Please sign in to comment.