結果 : typescript define type for array of objects