1
0
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:
Zack Schuster 2018-07-06 13:35:06 -07:00
parent b9a004e82a
commit 6dcad1a4c5

View File

@ -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}
*/