Skip to content
Snippets Groups Projects
Commit dfc8a09f authored by syuilo's avatar syuilo
Browse files

fix typo

parent 127a1320
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ import autobind from 'autobind-decorator';
import { EventEmitter } from 'eventemitter3';
import ReconnectingWebsocket from 'reconnecting-websocket';
import { stringify } from 'querystring';
import { BroadcasrEvents, Channels } from './streaming.types';
import { BroadcastEvents, Channels } from './streaming.types';
function urlQuery(obj: {}): string {
return stringify(Object.entries(obj)
......@@ -15,7 +15,7 @@ type AnyOf<T extends Record<any, any>> = T[keyof T];
type StreamEvents = {
_connected_: void;
_disconnected_: void;
} & BroadcasrEvents;
} & BroadcastEvents;
/**
* Misskey stream connection
......
......@@ -126,7 +126,7 @@ export type NoteUpdatedEvent = {
};
};
export type BroadcasrEvents = {
export type BroadcastEvents = {
noteUpdated: (payload: NoteUpdatedEvent) => void;
emojiAdded: (payload: {
emoji: CustomEmoji;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment