We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65ba06 commit e8ab69dCopy full SHA for e8ab69d
src/modules/chat.ts
@@ -63,9 +63,9 @@ const cbchat = {
63
/**
64
* Waits for a reply to a sent message.
65
* @param {string} message - The message for which a reply is expected.
66
- * @returns {Promise<any>} A promise that resolves with the reply.
+ * @returns {Promise<string>} A promise that resolves with the reply.
67
*/
68
- waitforReply: (message: string): Promise<any> => {
+ waitforReply: (message: string): Promise<string> => {
69
return new Promise((resolve, reject) => {
70
cbws.getWebsocket.send(JSON.stringify({
71
"type": "waitforReply",
0 commit comments