I’m contributing to the open-source package ethers
. For some reason, the CommunityResourceable
function was commented out – I’m trying to make it work again.
CommunityResourceable
is defined at ethers.js/src.ts/providers
/community.ts (in my fork).
Then, it is exported like this:
export type {
CommunityResourceable
} from "./community.js";
at src.ts/providers/index.ts
Finally, it is then exported at src.ts/ethers.ts
However, if I install my patched version using git install https://github.com/aaronzshey/ethers.js.git
and run
import type { CommunityResourceable } from "ethers"
I get an error that CommunityResourceable is not an export. Any insights?
Repl.it demo of error here