aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-27 16:22:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-29 22:52:52 +0800
commita5a61c87fccd11d7b2c5d0f722955e7438f3a144 (patch)
treefc7b9222dbb905401bec3101ffe20e6a036b8cbe /packages/contract-wrappers/src
parentd34feb1e0a7adf7630ef1914a95b34f6e514d2e6 (diff)
downloaddexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar.gz
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar.bz2
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar.lz
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar.xz
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.tar.zst
dexon-0x-contracts-a5a61c87fccd11d7b2c5d0f722955e7438f3a144.zip
Start unused parameter names with underscore
Diffstat (limited to 'packages/contract-wrappers/src')
-rw-r--r--packages/contract-wrappers/src/utils/decorators.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contract-wrappers/src/utils/decorators.ts b/packages/contract-wrappers/src/utils/decorators.ts
index 494575e7b..ccb4c6e11 100644
--- a/packages/contract-wrappers/src/utils/decorators.ts
+++ b/packages/contract-wrappers/src/utils/decorators.ts
@@ -30,8 +30,8 @@ const schemaErrorTransformer = (error: Error) => {
*/
const asyncErrorHandlerFactory = (errorTransformer: ErrorTransformer) => {
const asyncErrorHandlingDecorator = (
- target: object,
- key: string | symbol,
+ _target: object,
+ _key: string | symbol,
descriptor: TypedPropertyDescriptor<AsyncMethod>,
) => {
const originalMethod = descriptor.value as AsyncMethod;
@@ -57,8 +57,8 @@ const asyncErrorHandlerFactory = (errorTransformer: ErrorTransformer) => {
const syncErrorHandlerFactory = (errorTransformer: ErrorTransformer) => {
const syncErrorHandlingDecorator = (
- target: object,
- key: string | symbol,
+ _target: object,
+ _key: string | symbol,
descriptor: TypedPropertyDescriptor<SyncMethod>,
) => {
const originalMethod = descriptor.value as SyncMethod;