aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-03 13:52:31 +0800
committerFabio Berger <me@fabioberger.com>2018-04-03 13:52:31 +0800
commite70b6630f9f7da691e12abb5fe0aeafe66e0b02f (patch)
tree86fbd88e8ad5e76905c93533560c228c093dea6c
parent6d53947fd8cc0b5aebe74dbff455d312a32d3c80 (diff)
downloaddexon-0x-contracts-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.gz
dexon-0x-contracts-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.zst
dexon-0x-contracts-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.zip
Fix TS error
-rw-r--r--packages/subproviders/src/subproviders/subprovider.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/subprovider.ts b/packages/subproviders/src/subproviders/subprovider.ts
index 1490d37ba..65f2cd305 100644
--- a/packages/subproviders/src/subproviders/subprovider.ts
+++ b/packages/subproviders/src/subproviders/subprovider.ts
@@ -40,7 +40,7 @@ export class Subprovider {
*/
public async emitPayloadAsync(payload: Partial<JSONRPCRequestPayloadWithMethod>): Promise<JSONRPCResponsePayload> {
const finalPayload = Subprovider._createFinalPayload(payload);
- const response = await promisify(this._engine.sendAsync, this._engine)(finalPayload);
+ const response: any = await promisify(this._engine.sendAsync, this._engine)(finalPayload);
return response;
}
/**