結果 : typescript define type from object keys