minor fix

This commit is contained in:
Thrilok Kumar 2021-12-06 02:14:26 +05:30
parent 65d9330a31
commit 6a33199c26
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ async function main() {
const accounts = await ethers.getSigners();
const wallet = accounts[0];
const connectMapping = {
const connectMapping: Record<string, string> = {
"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<string, string> = {};
for (const key in connectMapping) {
addressMapping[key] = await deployConnector(connectMapping[key]);

View File

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