import LinkUseCase from '../usecases/LinkUseCase'; export default class LinkController { private linkUseCase: LinkUseCase; constructor() { this.linkUseCase = new LinkUseCase(); } openToTab(url: string, tabId: number): Promise { return this.linkUseCase.openToTab(url, tabId); } openNewTab( url: string, openerId: number, background: boolean, ): Promise { return this.linkUseCase.openNewTab(url, openerId, background); } }