From 727187df32126c64e7da1dfd7f8b41d2ffd8962b Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 12 Oct 2022 11:08:49 +0700 Subject: [PATCH] Added missing jsdoc imports for PaymentsService - this helps with populating types in editors --- ghost/payments/lib/payments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/payments/lib/payments.js b/ghost/payments/lib/payments.js index 1103a41631a..2d6e83e792e 100644 --- a/ghost/payments/lib/payments.js +++ b/ghost/payments/lib/payments.js @@ -4,9 +4,9 @@ const OfferCreatedEvent = require('@tryghost/members-offers').events.OfferCreate class PaymentsService { /** * @param {object} deps - * @param {any} deps.Offer + * @param {import('bookshelf').Model} deps.Offer * @param {import('@tryghost/members-offers/lib/application/OffersAPI')} deps.offersAPI - * @param {any} deps.stripeAPIService + * @param {import('@tryghost/members-stripe-service/lib/StripeAPI')} deps.stripeAPIService */ constructor(deps) { /** @private */