Skip to content

[ethers-v4] New factories folder causing module resolution problem. #304

@alexroan

Description

@alexroan

Since this fix, I'm getting the following issue inside a generated factory:

src/generated/factories/LinkToken__factory.ts(9,38): error TS2307: Cannot find module '.'

It appears this line is trying to import TransactionOverrides from the factories folder:

import { TransactionOverrides } from ".";

This works if the "." becomes ".."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions