結果 : typescript check object is of interface