diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-05 22:33:00 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:37 +0800 |
commit | c8c86c44f8b978d74e03c11d4bb1813e76574af3 (patch) | |
tree | 3caa7b2613496052ca90176822ace79fc28dcc44 /packages/0x.js/src | |
parent | f917a4a34a9d7b25de85f9ce5adafa0f16ea6618 (diff) | |
download | dexon-sol-tools-c8c86c44f8b978d74e03c11d4bb1813e76574af3.tar.gz dexon-sol-tools-c8c86c44f8b978d74e03c11d4bb1813e76574af3.tar.zst dexon-sol-tools-c8c86c44f8b978d74e03c11d4bb1813e76574af3.zip |
Fix callback types
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/contract_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts index d308d207e..9c4e5dfd3 100644 --- a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts @@ -87,7 +87,7 @@ export class ContractWrapper { } const filterToken = filterUtils.generateUUID(); this._filters[filterToken] = filter; - this._filterCallbacks[filterToken] = callback; + this._filterCallbacks[filterToken] = callback as EventCallback<ContractEventArgs>; return filterToken; } protected async _getLogsAsync<ArgsType extends ContractEventArgs>( |