From 71bed4f926d7bdd98d1f4b93b5c094bd28045ebc Mon Sep 17 00:00:00 2001 From: Naz Date: Wed, 12 Oct 2022 10:03:25 +0800 Subject: [PATCH] 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 --- ghost/members-importer/lib/importer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/members-importer/lib/importer.js b/ghost/members-importer/lib/importer.js index 20499a14d8..25316926cf 100644 --- a/ghost/members-importer/lib/importer.js +++ b/ghost/members-importer/lib/importer.js @@ -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