mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 09:34:13 +02:00
fix typings
This commit is contained in:
parent
d57f4345ef
commit
912b115f03
1 changed files with 2 additions and 2 deletions
|
|
@ -508,11 +508,11 @@ export class Steam {
|
|||
} else {
|
||||
resolve(response);
|
||||
}
|
||||
}));
|
||||
})) as {chat_room_groups: {[id: string]: IGroupDetails | null}};
|
||||
|
||||
let chat_room_group = chat_room_groups[groupId];
|
||||
if (chat_room_group) {
|
||||
return chat_room_group as IGroupDetails;
|
||||
return chat_room_group;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue