Skip to content

Commit b12239e

Browse files
committed
SimpleChatClient: add missing type annotation
1 parent 4f385dd commit b12239e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/SimpleChatClient/discordClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function getMessages(token: string, channelID: string): Promise {
130130
//.catch(e => console.log(e));
131131
}
132132

133-
export function sendMessageToChannel(token: string, channelID: string, text: string) {
133+
export function sendMessageToChannel(token: string, channelID: string, text: string):any {
134134
var request = new XMLHttpRequest();
135135
request.open('POST', `${ENDPOINTS.CHANNELS}/${channelID}/messages`, true);
136136
var formdata = new FormData();

0 commit comments

Comments
 (0)