ExtropyIO / defi-bot

Tutorial for building DeFi arbitrage bots
1.18k stars 466 forks source link

ts(1005) Error #16

Closed bizraelii closed 3 years ago

bizraelii commented 3 years ago

defi bot error

A few things I've tried:

Typescript version 4.3.4 VS Code 1.57.1 Windows 10

Any ideas on what the actual issue is, and how to fix it?

Thanks

codemedici commented 3 years ago

"Perform Trade" is just a comment, semicolons are optional in JS, you must have removed // in front by mistake :)