Fixed jsdoc to only mention used parameters

refs https://github.com/TryGhost/Toolbox/issues/430

- It's a minor cleanup while exploring the referenced bug surface area. Fixes distracting "missing parameters" warnings
This commit is contained in:
Naz 2022-10-12 10:03:25 +08:00
parent 24670aa555
commit 71bed4f926
No known key found for this signature in database

View File

@ -20,7 +20,7 @@ module.exports = class MembersCSVImporter {
* @param {() => Object} options.getMembersApi
* @param {Function} options.sendEmail - function sending an email
* @param {(string) => boolean} options.isSet - Method checking if specific feature is enabled
* @param {({name, at, job, data, offloaded}) => void} options.addJob - Method registering an async job
* @param {({job, offloaded}) => void} options.addJob - Method registering an async job
* @param {Object} options.knex - An instance of the Ghost Database connection
* @param {Function} options.urlFor - function generating urls
* @param {Object} options.context