Skip to content

Commit e8ab69d

Browse files
changes
1 parent d65ba06 commit e8ab69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/chat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ const cbchat = {
6363
/**
6464
* Waits for a reply to a sent message.
6565
* @param {string} message - The message for which a reply is expected.
66-
* @returns {Promise<any>} A promise that resolves with the reply.
66+
* @returns {Promise<string>} A promise that resolves with the reply.
6767
*/
68-
waitforReply: (message: string): Promise<any> => {
68+
waitforReply: (message: string): Promise<string> => {
6969
return new Promise((resolve, reject) => {
7070
cbws.getWebsocket.send(JSON.stringify({
7171
"type": "waitforReply",

0 commit comments

Comments
 (0)