diff --git a/lib/json2csv.js b/lib/json2csv.js index 7b0f7f91..271356f0 100644 --- a/lib/json2csv.js +++ b/lib/json2csv.js @@ -11,7 +11,7 @@ var flatten = require('flat'); /** * @name Json2CsvParams - * @type {Object} + * @typedef {Object} * @property {Array} data - array of JSON objects * @property {Array} [fields] - see documentation for details * @property {String[]} [fieldNames] - names for fields at the same indexes. Must be same length as fields array