diff --git a/ghost/core/core/server/services/offers/OfferBookshelfRepository.js b/ghost/core/core/server/services/offers/OfferBookshelfRepository.js index 3d66e17934..72b57fdc63 100644 --- a/ghost/core/core/server/services/offers/OfferBookshelfRepository.js +++ b/ghost/core/core/server/services/offers/OfferBookshelfRepository.js @@ -33,12 +33,12 @@ const mongoTransformer = flowRight(statusTransformer, rejectNonStatusTransformer /** * @typedef {object} BaseOptions - * @prop {import('knex').Transaction} transacting + * @prop {import('knex').Knex.Transaction} transacting */ /** * @typedef {object} ListOptions - * @prop {import('knex').Transaction} transacting + * @prop {import('knex').Knex.Transaction} transacting * @prop {string} filter */ @@ -56,7 +56,7 @@ class OfferBookshelfRepository { /** * @template T - * @param {(t: import('knex').Transaction) => Promise} cb + * @param {(t: import('knex').Knex.Transaction) => Promise} cb * @returns {Promise} */ async createTransaction(cb) { diff --git a/ghost/tiers/lib/TiersAPI.js b/ghost/tiers/lib/TiersAPI.js index 48daaca51f..30848f6977 100644 --- a/ghost/tiers/lib/TiersAPI.js +++ b/ghost/tiers/lib/TiersAPI.js @@ -102,7 +102,7 @@ module.exports = class TiersAPI { } /** - * @param {string} id + * @param {string} idString * @param {object} data * @returns {Promise} */