aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/ReopenTabOperator.ts
blob: 507b4a8ac3471b78f65650562eb7f1527582aa74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import Operator from "../Operator";
import TabPresenter from "../../presenters/TabPresenter";

export default class ReopenTabOperator implements Operator {
  constructor(private readonly tabPresenter: TabPresenter) {}

  run(): Promise<void> {
    return this.tabPresenter.reopen();
  }
}