ghost-keychain/packages/extension/src/page/Injected.ts
Jaco Greeff c70d9a0e63
Swap to eslint (#72)
* 626 problems (430 errors, 196 warnings)

* A start.

* < 200

* 80

* 0
2019-07-12 20:09:44 +02:00

21 lines
657 B
TypeScript

// Copyright 2019 @polkadot/extension authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Injected as InjectedInjected } from '@polkadot/extension-dapp/types';
import { SendRequest } from './types';
import Accounts from './Accounts';
import Signer from './Signer';
export default class Injected implements InjectedInjected {
public readonly accounts: Accounts;
public readonly signer: Signer;
public constructor (sendRequest: SendRequest) {
this.accounts = new Accounts(sendRequest);
this.signer = new Signer(sendRequest);
}
}