結果 : typescript create type from two types