Skip to content

Commit

Permalink
fix: Fix EventType
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Mar 25, 2021
1 parent bd4463a commit a8d35ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ws/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ export interface EventTypeMap {
}

/** Supported event names */
export type EventType = keyof EventTypeMap;
export type EventType =
| 'update'
| 'delete'
| 'notification'
| 'filters_changed'
| 'conversation';

/** Mastodon event */
export interface Event {
Expand Down

0 comments on commit a8d35ae

Please sign in to comment.