dethcrypto / dethcrypto/TypeChain
Bug: Overrides is not imported as a type-only import
Open
- 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
Assessment
This issue has not been assessed yet.