Use any instead of Object
This commit is contained in:
parent
d2c70afd37
commit
ac8eb94a27
81 changed files with 398 additions and 397 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue