Updated jsdoc for mailgun-client
- in the event the Mailgun config doesn't exist, we return `null` from this function - this updates the jsdoc to correct the return type of `getInstance`
This commit is contained in:
parent
7d060e5edb
commit
c4391567f3
@ -254,7 +254,7 @@ module.exports = class MailgunClient {
|
||||
* Note: if the credentials are not configure, this method returns `null` and it is down to the
|
||||
* consumer to act upon this/log this out
|
||||
*
|
||||
* @returns {import('mailgun.js')} the Mailgun client instance
|
||||
* @returns {import('mailgun.js')|null} the Mailgun client instance
|
||||
*/
|
||||
getInstance() {
|
||||
const mailgunConfig = this.#getConfig();
|
||||
|
Loading…
Reference in New Issue
Block a user