blob: 7b461e542959a76d326b6d5a63584a935e3aaedc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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<void> {
return this.consoleFrameClient.resize(tabId, width, height);
}
}
|