minor fix

This commit is contained in:
Thrilok Kumar 2021-12-06 02:14:26 +05:30 committed by Ishan Jain
parent a4c6b685c7
commit 4d6fc66c68
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ async function main() {
const accounts = await ethers.getSigners(); const accounts = await ethers.getSigners();
const wallet = accounts[0]; const wallet = accounts[0];
const connectMapping = { const connectMapping: Record<string, string> = {
"1INCH-A": "ConnectV2OneInch", "1INCH-A": "ConnectV2OneInch",
"1INCH-B": "ConnectV2OneProto", "1INCH-B": "ConnectV2OneProto",
"AAVE-V1-A": "ConnectV2AaveV1", "AAVE-V1-A": "ConnectV2AaveV1",
@ -21,7 +21,7 @@ async function main() {
"UNISWAP-A": "ConnectV2UniswapV2", "UNISWAP-A": "ConnectV2UniswapV2",
}; };
const addressMapping = {}; const addressMapping: Record<string, string> = {};
for (const key in connectMapping) { for (const key in connectMapping) {
addressMapping[key] = await deployConnector(connectMapping[key]); addressMapping[key] = await deployConnector(connectMapping[key]);

View File

@ -6,7 +6,6 @@
"lib": ["es5", "es6"], "lib": ["es5", "es6"],
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"noImplicitAny": true,
"outDir": "dist", "outDir": "dist",
"resolveJsonModule": true, "resolveJsonModule": true,
"sourceMap": true, "sourceMap": true,