結果 : typescript compare type of object