From 9f4ad3c8730bd8350321f63a2a5b494ac7ee7af2 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 12 Sep 2021 23:38:12 +0900 Subject: [PATCH] fix lint --- src/server/api/stream/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/stream/types.ts b/src/server/api/stream/types.ts index 4508b4a371..72451628de 100644 --- a/src/server/api/stream/types.ts +++ b/src/server/api/stream/types.ts @@ -19,7 +19,7 @@ import { Packed } from '@/misc/schema'; // 辞書(interface or type)から{ type, body }ユニオンを定義 // https://stackoverflow.com/questions/49311989/can-i-infer-the-type-of-a-value-using-extends-keyof-type -type EventUnions = { [K in keyof T]: { type: K; body: T[K]; } } +type EventUnions = { [K in keyof T]: { type: K; body: T[K]; } }; type EventUnionFromDictionary< T extends object, U = EventUnions