2022-03-04 todo: ts配列からundefinedを除去したときの型推論について .filter((item): item is Exclude<typeof item, undefined> => item !== undefined);