diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-03-01 17:37:01 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-03-01 17:37:01 +0900 |
| commit | ac8eb94a27905a1bcac9fea445b41e5866cf173f (patch) | |
| tree | f2837b62d350356ae2f2f454960f2f22ab4a0d89 /src/web/app | |
| parent | Update tslint.json (diff) | |
| download | sharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.tar.gz sharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.tar.bz2 sharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.zip | |
Use any instead of Object
Diffstat (limited to 'src/web/app')
| -rw-r--r-- | src/web/app/common/scripts/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/api.js b/src/web/app/common/scripts/api.js index be72f863d6..3df54b645a 100644 --- a/src/web/app/common/scripts/api.js +++ b/src/web/app/common/scripts/api.js @@ -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) { |