From 7263c47ddf6294bbf55d316143cc289f89a06089 Mon Sep 17 00:00:00 2001 From: weboko Date: Tue, 24 Jan 2023 00:21:08 +0100 Subject: [PATCH] use any for type casting --- src/rln_contract.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rln_contract.spec.ts b/src/rln_contract.spec.ts index f2d11d6..8d8187c 100644 --- a/src/rln_contract.spec.ts +++ b/src/rln_contract.spec.ts @@ -39,7 +39,7 @@ describe("RLN Contract abstraction", () => { provider: voidSigner, }); - rlnContract["_contract"] = { + rlnContract["_contract" as any] = { MEMBERSHIP_DEPOSIT: () => Promise.resolve(1), }; chai.spy.on(rlnContract, "contract.MEMBERSHIP_DEPOSIT");