結果 : typescript check if object is instance of interface