From ac8eb94a27905a1bcac9fea445b41e5866cf173f Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Wed, 1 Mar 2017 17:37:01 +0900 Subject: Use any instead of Object --- src/api/serializers/notification.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/serializers/notification.ts') diff --git a/src/api/serializers/notification.ts b/src/api/serializers/notification.ts index df86218aa7..43add127e0 100644 --- a/src/api/serializers/notification.ts +++ b/src/api/serializers/notification.ts @@ -12,10 +12,10 @@ import deepcopy = require('deepcopy'); /** * Serialize a notification * - * @param {Object} notification - * @return {Promise} + * @param {any} notification + * @return {Promise} */ -export default (notification: any) => new Promise(async (resolve, reject) => { +export default (notification: any) => new Promise(async (resolve, reject) => { let _notification: any; // Populate the notification if 'notification' is ID -- cgit v1.2.3-freya