Skip to content

Commit

Permalink
MessageEvent incorrectly references the Node global MessageEvent ty…
Browse files Browse the repository at this point in the history
…pe. #2020 (#2021)
  • Loading branch information
varmil authored Sep 10, 2024
1 parent a7cc255 commit beb0345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/types/src/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ import type {
import type { TokensRevokedEvent } from './token';
import type { UserChangeEvent, UserHuddleChangedEvent, UserProfileChangedEvent, UserStatusChangedEvent } from './user';

export type MessageEvent = AllMessageEvents;
export * from './app';
export * from './call';
export * from './channel';
Expand Down
2 changes: 2 additions & 0 deletions packages/types/src/events/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export type AllMessageEvents =
// | ReminderAddEvent // TODO: missing
| ThreadBroadcastMessageEvent;

export type MessageEvent = AllMessageEvents;

export interface GenericMessageEvent {
type: 'message';
subtype: undefined;
Expand Down

0 comments on commit beb0345

Please sign in to comment.