結果 : typescript check custom type of object