aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/types.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts
index 1239958df..b241a34bc 100644
--- a/packages/website/ts/types.ts
+++ b/packages/website/ts/types.ts
@@ -575,9 +575,13 @@ export enum AccountState {
Locked = 'Locked',
}
+export interface MetamaskProvider extends Provider {
+ publicConfigStore: InjectedProviderObservable;
+}
+
// Minimal interface expected for an injected web3 object
export interface InjectedWeb3 {
- currentProvider: Provider;
+ currentProvider: MetamaskProvider;
version: {
getNetwork(cd: (err: Error, networkId: string) => void): void;
};