mirror of
https://github.com/eleith/emailjs.git
synced 2024-07-05 20:10:37 +00:00
strictly type TIMEOUT
This commit is contained in:
parent
b9a004e82a
commit
6dcad1a4c5
@ -10,6 +10,12 @@ const { EventEmitter } = require('events');
|
||||
const SMTPResponse = require('./response');
|
||||
const SMTPError = require('./error');
|
||||
|
||||
/**
|
||||
* @readonly
|
||||
* @type {5000}
|
||||
*/
|
||||
const TIMEOUT = 5000;
|
||||
|
||||
/**
|
||||
* @readonly
|
||||
* @type {25}
|
||||
@ -45,8 +51,6 @@ const AUTH_METHODS = {
|
||||
XOAUTH2: /** @type {'XOAUTH2'} */ ('XOAUTH2'),
|
||||
};
|
||||
|
||||
const TIMEOUT = 5000;
|
||||
|
||||
/**
|
||||
* @type {0 | 1}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user