結果 : typescript infer type from object