結果 : typescript check object is type of interface