結果 : typescript check if variable is instance of interface