diff options
Diffstat (limited to 'packages/typescript-typings/types/chai/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/chai/index.d.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/typescript-typings/types/chai/index.d.ts b/packages/typescript-typings/types/chai/index.d.ts index 8b3e4c079..3bde1f27c 100644 --- a/packages/typescript-typings/types/chai/index.d.ts +++ b/packages/typescript-typings/types/chai/index.d.ts @@ -114,6 +114,9 @@ declare namespace Chai { extensible: Assertion; sealed: Assertion; frozen: Assertion; + bignumber: Assertion; + // HACK: In order to comply with chai-as-promised we make eventually a `PromisedAssertion` not an `Assertion` + eventually: PromisedAssertion; oneOf(list: any[], message?: string): Assertion; } @@ -148,7 +151,7 @@ declare namespace Chai { } interface NumberComparer { - (value: number, message?: string): Assertion; + (value: number | object, message?: string): Assertion; } interface TypeComparison { |