dethcrypto / dethcrypto/TypeChain

Duplicate identifier 'out' (with clean repro)

Open
#595 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.8k
Forks
376
PR merge metrics
No merged PRs in 30d

Description

Thanks for your work!

Here's a reproduction of the bug:

```
cd /tmp
git clone git@github.com:ShieldFinanceHQ/contracts.git
cd contracts
nvm install $(cat .nvmrc)
nvm use
npm install --global yarn
yarn install
yarn build
yarn typecheck
```

Expected output: blank (no type errors)

Actual output:

```
# Multiple errors, including:

typechain-types/UniswapV1Exchange.ts:875:59 - error TS2300: Duplicate identifier 'out'.

875 ): Promise<[BigNumber, BigNumber] & { out: BigNumber; out: BigNumber }>;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.