Skip to content

Commit

Permalink
fix: outdated jsdoc (#243)
Browse files Browse the repository at this point in the history
juanjoDiaz authored Feb 2, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3bd9655 commit efe9888
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
@@ -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
*/
@@ -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) {
5 changes: 1 addition & 4 deletions lib/JSON2CSVParser.js
Original file line number Diff line number Diff line change
@@ -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) {
@@ -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) {

0 comments on commit efe9888

Please sign in to comment.