結果 : create type from object values typescript