Interface used as type error fixed with BrowserType