aboutsummaryrefslogtreecommitdiff
path: root/src/content/client/FollowSlaveClientFactory.ts
blob: beaa77a73f31275316c9cdda2d7f637a46180cae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import FollowSlaveClient, { FollowSlaveClientImpl } from "./FollowSlaveClient";

export default interface FollowSlaveClientFactory {
  create(window: Window): FollowSlaveClient;
}

export class FollowSlaveClientFactoryImpl implements FollowSlaveClientFactory {
  create(window: Window): FollowSlaveClient {
    return new FollowSlaveClientImpl(window);
  }
}