import { injectable } from 'tsyringe'; @injectable() export default class WindowPresenter { create(url: string): Promise { return browser.windows.create({ url }); } }