結果 : typescript create type based on another type