Skip to content

Commit

Permalink
fix: outdated jsdoc (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz authored Feb 2, 2018
1 parent 3bd9655 commit efe9888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions lib/JSON2CSVBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class JSON2CSVBase {
/**
* Check passing params and set defaults.
*
* @param {Array|Object} data Array or object to be converted to CSV
* @param {Json2CsvParams} params Function parameters containing fields,
* delimiter, default value, mark quote and header
*/
Expand Down Expand Up @@ -96,7 +95,6 @@ class JSON2CSVBase {
*
* @param {Object} row JSON object representing the CSV row that the cell belongs to
* @param {Object} fieldInfo Details of the field to process to be a CSV cell
* @param {Object} params Function parameters
* @returns {String} CSV string (cell)
*/
processField(row, fieldInfo) {
Expand Down
5 changes: 1 addition & 4 deletions lib/JSON2CSVParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ class JSON2CSVParser extends JSON2CSVBase {
/**
* Main function that converts json to csv.
*
* @param {Array} data Array of JSON objects to be converted to CSV
* @param {Json2CsvParams} params parameters containing data and
* and options to configure how that data is processed.
* @param {Array|Object} data Array of JSON objects to be converted to CSV
* @returns {String} The CSV formated data as a string
*/
parse(data) {
Expand Down Expand Up @@ -54,7 +52,6 @@ class JSON2CSVParser extends JSON2CSVBase {
* Create the content row by row below the header
*
* @param {Array} data Array of JSON objects to be converted to CSV
* @param {Object} params Function parameters
* @returns {String} CSV string (body)
*/
processData(data) {
Expand Down

0 comments on commit efe9888

Please sign in to comment.