export default interface WindowPresenter { create(url: string): Promise; } export class WindowPresenterImpl implements WindowPresenter { async create(url: string): Promise { await browser.windows.create({ url }); } }