mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-06 01:21:39 -04:00
fix: remove explicit typing
Apparently this is not need anymore and the linter does not like it. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
f35d00806e
commit
cf51c7572a
4 changed files with 5 additions and 5 deletions
|
@ -86,7 +86,7 @@ describe('realtime user status adapter', () => {
|
|||
clientGuest,
|
||||
clientNotReady,
|
||||
clientDecline,
|
||||
].filter((value) => value !== undefined) as RealtimeUserStatusAdapter[];
|
||||
].filter((value) => value !== undefined);
|
||||
}
|
||||
|
||||
clientLoggedIn1 = new RealtimeUserStatusAdapter(
|
||||
|
|
|
@ -116,7 +116,7 @@ export class RealtimeUserStatusAdapter {
|
|||
const realtimeUsers = this.collectOtherAdapters()
|
||||
.filter((adapter) => adapter !== this)
|
||||
.map((adapter) => adapter.getSendableState())
|
||||
.filter((value) => value !== undefined) as RealtimeUser[];
|
||||
.filter((value) => value !== undefined);
|
||||
|
||||
this.messageTransporter.sendMessage({
|
||||
type: MessageType.REALTIME_USER_STATE_SET,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue