fix typings

This commit is contained in:
Robin Appelman 2023-08-27 16:03:38 +02:00
commit 912b115f03

View file

@ -508,11 +508,11 @@ export class Steam {
} else { } else {
resolve(response); resolve(response);
} }
})); })) as {chat_room_groups: {[id: string]: IGroupDetails | null}};
let chat_room_group = chat_room_groups[groupId]; let chat_room_group = chat_room_groups[groupId];
if (chat_room_group) { if (chat_room_group) {
return chat_room_group as IGroupDetails; return chat_room_group;
} else { } else {
return null; return null;
} }