diff options
author | Jacob Evans <jacob@dekz.net> | 2018-02-06 05:46:59 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-02-06 05:46:59 +0800 |
commit | 882816d60958f0e7d1b1aa06dc214ebdcfc53e2a (patch) | |
tree | 977d9c5ae9671174268347b5d9618061ff865f1e | |
parent | 5aca3a2d7d8ebbdb0fcb2bcee771068a553dae8a (diff) | |
download | dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar.gz dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar.bz2 dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar.lz dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar.xz dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.tar.zst dexon-sol-tools-882816d60958f0e7d1b1aa06dc214ebdcfc53e2a.zip |
Justify the any usage
-rw-r--r-- | packages/subproviders/src/subproviders/injected_web3.ts | 3 |
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 238ba89f8..a74a6c4b2 100644 --- a/packages/subproviders/src/subproviders/injected_web3.ts +++ b/packages/subproviders/src/subproviders/injected_web3.ts @@ -4,7 +4,7 @@ import Web3 = require('web3'); /* * This class implements the web3-provider-engine subprovider interface and forwards * requests involving user accounts (getAccounts, sendTransaction, etc...) to the injected - * MetamaskInpageProvider instance in their browser. + * provider instance in their browser. * Source: https://github.com/MetaMask/provider-engine/blob/master/subproviders/subprovider.js */ export class InjectedWeb3Subprovider { @@ -41,6 +41,7 @@ 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. // tslint:disable-next-line:prefer-function-over-method public setEngine(engine: any) { // noop |