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