aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-02-06 09:20:45 +0800
committerJacob Evans <jacob@dekz.net>2018-02-06 09:20:45 +0800
commitcf171d28c70c49541a30534d2593a623dd126f24 (patch)
treea4a7b2d67ea298d7931f3e35e8ab4de53f701742 /packages/subproviders
parent61434a91218eb4adec0de6095a51d07203f1f5bb (diff)
downloaddexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar.gz
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar.bz2
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar.lz
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar.xz
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.tar.zst
dexon-0x-contracts-cf171d28c70c49541a30534d2593a623dd126f24.zip
Reword comment on any
Diffstat (limited to 'packages/subproviders')
-rw-r--r--packages/subproviders/src/subproviders/injected_web3.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/injected_web3.ts b/packages/subproviders/src/subproviders/injected_web3.ts
index a74a6c4b2..0d70180c4 100644
--- a/packages/subproviders/src/subproviders/injected_web3.ts
+++ b/packages/subproviders/src/subproviders/injected_web3.ts
@@ -41,7 +41,8 @@ export class InjectedWeb3Subprovider {
}
}
// Required to implement this method despite not needing it for this subprovider
- // This type is Web3ProviderEngine, but there is no need to import this for a noop.
+ // The engine argument type should be Web3ProviderEngine, but we've decided to keep it as type any
+ // to remove the provider engine depdency given this method is a noop
// tslint:disable-next-line:prefer-function-over-method
public setEngine(engine: any) {
// noop