結果 : typescript check if variable is of type interface