This commit is contained in:
tamaina 2021-09-12 01:28:48 +09:00
parent 380d357a74
commit 4ba33f24a5

View file

@ -302,4 +302,4 @@ export type StreamEventEmitter = UnionToIntersection<EventsDictionary[keyof Stre
// { [y in name]: (e: spec) => void }をまとめてその交差型をEmitterにかけるとts(2590)にひっかかる
// provide stream channels union
export type StreamChannels = StreamMessages[keyof StreamMessages]['name'] | 'notesStream';
export type StreamChannels = StreamMessages[keyof StreamMessages]['name'];