From a730b63ee0bf34d9143a680a592372f84b472bd2 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 9 May 2022 18:15:46 +0800 Subject: [PATCH] Added JSDocs to the version notification service refs https://github.com/TryGhost/Toolbox/issues/292 --- .../lib/version-notifications-data-service.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghost/version-notifications-data-service/lib/version-notifications-data-service.js b/ghost/version-notifications-data-service/lib/version-notifications-data-service.js index 26ae444bcb..e29f421a26 100644 --- a/ghost/version-notifications-data-service/lib/version-notifications-data-service.js +++ b/ghost/version-notifications-data-service/lib/version-notifications-data-service.js @@ -3,6 +3,11 @@ const internalContext = { }; class VersionNotificationsDataService { + /** + * @param {Object} options + * @param {Object} options.UserModel - ghost user model + * @param {Object} options.settingsService - ghost settings service + */ constructor({UserModel, settingsService}) { this.UserModel = UserModel; this.settingsService = settingsService;