mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-23 22:56:53 +09:00
fix(misskey-js): correct noteUpdated
event type (#14632)
This commit is contained in:
parent
0f8b15f0fe
commit
f2385a8ffc
@ -233,7 +233,7 @@ export type Channels = {
|
||||
}
|
||||
};
|
||||
|
||||
export type NoteUpdatedEvent = {
|
||||
export type NoteUpdatedEvent = { id: Note['id'] } & ({
|
||||
type: 'reacted';
|
||||
body: {
|
||||
reaction: string;
|
||||
@ -257,7 +257,7 @@ export type NoteUpdatedEvent = {
|
||||
choice: number;
|
||||
userId: User['id'];
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
export type BroadcastEvents = {
|
||||
noteUpdated: (payload: NoteUpdatedEvent) => void;
|
||||
|
Loading…
Reference in New Issue
Block a user