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

@@ -12,10 +12,10 @@ import deepcopy = require('deepcopy');
/**
* Serialize a notification
*
* @param {Object} notification
* @return {Promise<Object>}
* @param {any} notification
* @return {Promise<any>}
*/
export default (notification: any) => new Promise<Object>(async (resolve, reject) => {
export default (notification: any) => new Promise<any>(async (resolve, reject) => {
let _notification: any;
// Populate the notification if 'notification' is ID