dethcrypto / dethcrypto/TypeChain

Bug: Overrides is not imported as a type-only import

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

Description

'Overrides' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.

```console
compile:~ $ Error: test__factory.ts:12:52 - error TS1444: 'Overrides' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.

12 import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
~~~~~~~~~
```

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.