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

Commit 8fbdb03

Browse files
committed
feat: type return of getAll
1 parent e3ea9a0 commit 8fbdb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/realtime/presence.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class RealtimePresence {
2626

2727
public async getAll() {
2828
this.logger.log('Realtime Presence @ get all');
29-
return new Promise((resolve, reject) => {
29+
return new Promise<Socket.PresenceEvent[]>((resolve, reject) => {
3030
this.room.presence.get(
3131
(data) => resolve(data),
3232
(error) => {

0 commit comments

Comments
 (0)