We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca49ea4 commit 16ae156Copy full SHA for 16ae156
packages/hardhat-chai-matchers/src/internal/typed.ts
@@ -1,6 +1,5 @@
1
-import { Typed } from "ethers";
2
-
3
export function tryDereference(value: any, type: string) {
+ const { Typed } = require("ethers") as typeof import("ethers");
4
try {
5
return Typed.dereference(value, type);
6
} catch {
0 commit comments