Use any instead of Object

This commit is contained in:
Aya Morisawa
2017-03-01 17:37:01 +09:00
parent d2c70afd37
commit ac8eb94a27
81 changed files with 398 additions and 397 deletions

View File

@ -11,8 +11,8 @@ let pending = 0;
* Send a request to API
* @param {string|Object} i Credential
* @param {string} endpoint Endpoint
* @param {Object} [data={}] Data
* @return {Promise<Object>} Response
* @param {any} [data={}] Data
* @return {Promise<any>} Response
*/
module.exports = (i, endpoint, data = {}) => {
if (++pending === 1) {