From 144456503ce2ff476c050f88af30e3a5f07f907e Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 29 May 2017 12:19:50 +0200 Subject: Make eventually a PromisedAssertion --- src/globals.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/globals.d.ts b/src/globals.d.ts index dee957f2f..4c9adcd48 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -15,7 +15,8 @@ declare interface Schema { declare namespace Chai { interface Assertion { bignumber: Assertion; - eventually: Assertion; + // HACK: In order t comply with chai-as-promised we make eventually a PromisedAssertion not an assertion + eventually: PromisedAssertion; } } /* tslint:enable */ -- cgit v1.2.3