From 8edfebef0aa68c0d41607a044336339b8df6aa3b Mon Sep 17 00:00:00 2001 From: Ivan Rukhavets Date: Wed, 16 Jun 2021 13:46:20 +0200 Subject: [PATCH] Fix typings for closeTo (#513) --- waffle-chai/src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/waffle-chai/src/types.ts b/waffle-chai/src/types.ts index cac430065..d8597a614 100644 --- a/waffle-chai/src/types.ts +++ b/waffle-chai/src/types.ts @@ -33,6 +33,10 @@ declare namespace Chai { (value: any, message?: string): Assertion; } + interface CloseTo { + (expected: any, delta: number, message?: string): Assertion, + } + interface AsyncAssertion extends Assertion, Promise { }