結果 : typescript check instance of type