import { inject, injectable } from "tsyringe"; import ConsoleFrameClient from "../clients/ConsoleFrameClient"; @injectable() export default class ConsoleUseCase { constructor( @inject("ConsoleFrameClient") private readonly consoleFrameClient: ConsoleFrameClient ) {} async resize(tabId: number, width: number, height: number): Promise { return this.consoleFrameClient.resize(tabId, width, height); } }