summaryrefslogtreecommitdiff
path: root/src/api/endpoints/aggregation/users
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-03-01 17:37:01 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-03-01 17:37:01 +0900
commitac8eb94a27905a1bcac9fea445b41e5866cf173f (patch)
treef2837b62d350356ae2f2f454960f2f22ab4a0d89 /src/api/endpoints/aggregation/users
parentUpdate tslint.json (diff)
downloadsharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.tar.gz
sharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.tar.bz2
sharkey-ac8eb94a27905a1bcac9fea445b41e5866cf173f.zip
Use any instead of Object
Diffstat (limited to 'src/api/endpoints/aggregation/users')
-rw-r--r--src/api/endpoints/aggregation/users/followers.js4
-rw-r--r--src/api/endpoints/aggregation/users/following.js4
-rw-r--r--src/api/endpoints/aggregation/users/like.js4
-rw-r--r--src/api/endpoints/aggregation/users/post.js4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/api/endpoints/aggregation/users/followers.js b/src/api/endpoints/aggregation/users/followers.js
index 85cfe95dad..3b8d1d6041 100644
--- a/src/api/endpoints/aggregation/users/followers.js
+++ b/src/api/endpoints/aggregation/users/followers.js
@@ -10,8 +10,8 @@ import Following from '../../../models/following';
/**
* Aggregate followers of a user
*
- * @param {Object} params
- * @return {Promise<object>}
+ * @param {any} params
+ * @return {Promise<any>}
*/
module.exports = (params) =>
new Promise(async (res, rej) =>
diff --git a/src/api/endpoints/aggregation/users/following.js b/src/api/endpoints/aggregation/users/following.js
index 9647639fbb..0b04ff9543 100644
--- a/src/api/endpoints/aggregation/users/following.js
+++ b/src/api/endpoints/aggregation/users/following.js
@@ -10,8 +10,8 @@ import Following from '../../../models/following';
/**
* Aggregate following of a user
*
- * @param {Object} params
- * @return {Promise<object>}
+ * @param {any} params
+ * @return {Promise<any>}
*/
module.exports = (params) =>
new Promise(async (res, rej) =>
diff --git a/src/api/endpoints/aggregation/users/like.js b/src/api/endpoints/aggregation/users/like.js
index c138c62464..0b20dd09a9 100644
--- a/src/api/endpoints/aggregation/users/like.js
+++ b/src/api/endpoints/aggregation/users/like.js
@@ -10,8 +10,8 @@ import Like from '../../../models/like';
/**
* Aggregate like of a user
*
- * @param {Object} params
- * @return {Promise<object>}
+ * @param {any} params
+ * @return {Promise<any>}
*/
module.exports = (params) =>
new Promise(async (res, rej) =>
diff --git a/src/api/endpoints/aggregation/users/post.js b/src/api/endpoints/aggregation/users/post.js
index 3d1ea7d190..01082801e4 100644
--- a/src/api/endpoints/aggregation/users/post.js
+++ b/src/api/endpoints/aggregation/users/post.js
@@ -10,8 +10,8 @@ import Post from '../../../models/post';
/**
* Aggregate post of a user
*
- * @param {Object} params
- * @return {Promise<object>}
+ * @param {any} params
+ * @return {Promise<any>}
*/
module.exports = (params) =>
new Promise(async (res, rej) =>