Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
feat: type return of getAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspincel committed Aug 12, 2024
1 parent e3ea9a0 commit 8fbdb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/realtime/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class RealtimePresence {

public async getAll() {
this.logger.log('Realtime Presence @ get all');
return new Promise((resolve, reject) => {
return new Promise<Socket.PresenceEvent[]>((resolve, reject) => {
this.room.presence.get(
(data) => resolve(data),
(error) => {
Expand Down

0 comments on commit 8fbdb03

Please sign in to comment.