Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sambacha opened this issue Jul 30, 2022 · 2 comments
Open

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

sambacha opened this issue Jul 30, 2022 · 2 comments

Comments

@sambacha
Copy link

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

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";
                                                      ~~~~~~~~~
@phated
Copy link

phated commented Aug 6, 2022

Just ran into this issue as well, hope it is fixed soon!

@phated
Copy link

phated commented Aug 6, 2022

I believe #737 was created to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants