結果 : typescript check custom object type