2022-03-24 ts array undefined 除去 array.filter((i): i is Exclude<typeof i, undefined> => i !== undefined);