diff --git a/test/try.test.ts b/test/try.test.ts index f223e8c..fda51a2 100644 --- a/test/try.test.ts +++ b/test/try.test.ts @@ -95,6 +95,6 @@ test("tryBlockAsync", async () => { throw error; }); } catch (e) { - expect(e.cause).toEqual(error); + expect((e as any).cause).toEqual(error); } });