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

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

  // eslint-disable-next-line semi
}

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