From 4d6fc66c686a9db4ed0391e3eae4eca2f83d747d Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Mon, 6 Dec 2021 02:14:26 +0530 Subject: [PATCH] minor fix --- scripts/deployment/deploy.ts | 4 ++-- tsconfig.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/deployment/deploy.ts b/scripts/deployment/deploy.ts index 209f908a..3c772bee 100644 --- a/scripts/deployment/deploy.ts +++ b/scripts/deployment/deploy.ts @@ -5,7 +5,7 @@ async function main() { const accounts = await ethers.getSigners(); const wallet = accounts[0]; - const connectMapping = { + const connectMapping: Record = { "1INCH-A": "ConnectV2OneInch", "1INCH-B": "ConnectV2OneProto", "AAVE-V1-A": "ConnectV2AaveV1", @@ -21,7 +21,7 @@ async function main() { "UNISWAP-A": "ConnectV2UniswapV2", }; - const addressMapping = {}; + const addressMapping: Record = {}; for (const key in connectMapping) { addressMapping[key] = await deployConnector(connectMapping[key]); diff --git a/tsconfig.json b/tsconfig.json index 98421cca..af311260 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,6 @@ "lib": ["es5", "es6"], "module": "commonjs", "moduleResolution": "node", - "noImplicitAny": true, "outDir": "dist", "resolveJsonModule": true, "sourceMap": true,