todo: ts配列からundefinedを除去したときの型推論について

.filter((item): item is Exclude<typeof item, undefined> => item !== undefined);