diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index e5daf500..cb1cc805 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -205,7 +205,7 @@ const Config = require('../config') // TO DO: move to common repo /** * @typedef {object} SimpleSocket - * @prop {(eventName: string, data: Emission|EncryptedEmission) => void} emit + * @prop {(eventName: string, data?: Emission|EncryptedEmission) => void} emit * @prop {(eventName: string, handler: (data: any) => void) => void} on * @prop {{ query: { 'x-shockwallet-device-id': string }}} handshake */