Aaron Zhi-Ren Shey
Aaron Zhi-Ren Shey
Hm... yeah, I think so. I was hoping you could merge my addition of the working codesandbox example.
Some resources that I found: https://mongoosejs.com/docs/plugins.html https://thecodebarbarian.com/2015/03/06/guide-to-mongoose-plugins We might be able to use Schema.post or something to manipulate the values after they're put in.
Another reason that we should use jsdom 24 instead of 22 - jsdom 22 depends on `abab` and `domexception`, both of which are also deprecated!
I just noticed - the export is, in fact, misspelled! It should be CommunityResourc**e**able, not CommunityResourcable.
Quick update - I think I understand why this interface was commented out. Even after exporting it from providers/index.ts and ethers.ts, it just won't import for some reason. [Live replit...
Both ``` import { CommunityResourceable } from "ethers"; ``` and ``` import type { CommunityResourceable } from "ethers"; ``` Don't work :( (installed using `npm install github:aaronzshey/ethers.js) It is exported...
What's really strange is that `npm run build` was working fine for me earlier. But after updating src.ts/ethers.ts, it stopped working and I would get these errors: ```ts node_modules/@types/node/globals.d.ts(385,15): error...
A quick diff check of the configs - doesn't look like it. I'll go through the versions right now and see if anything looks amiss.