mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 17:44:09 +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 {
|
} 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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue