add return type

This commit is contained in:
Bruno Windels 2022-05-11 10:06:05 +02:00
parent 21065791a8
commit 5ee4e39bc7

View file

@ -40,7 +40,7 @@ export type Options = Omit<GroupCallOptions, "emitUpdate" | "createTimeout"> & {
clock: Clock
};
function getRoomMemberKey(roomId: string, userId: string) {
function getRoomMemberKey(roomId: string, userId: string): string {
return JSON.stringify(roomId)+`,`+JSON.stringify(userId);
}