aboutsummaryrefslogtreecommitdiffstats
path: root/src/globals.d.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-02 22:06:26 +0800
committerFabio Berger <me@fabioberger.com>2017-06-02 22:06:26 +0800
commit844f138908a30fa6daa904beafab85823c6d47d7 (patch)
treebe2402e849e6c67acd27ccb323cd39a08ea103d8 /src/globals.d.ts
parentb8ff2468776e1c784ff50e5ada1c633ee0d3aeda (diff)
downloaddexon-0x-contracts-844f138908a30fa6daa904beafab85823c6d47d7.tar.gz
dexon-0x-contracts-844f138908a30fa6daa904beafab85823c6d47d7.tar.zst
dexon-0x-contracts-844f138908a30fa6daa904beafab85823c6d47d7.zip
Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapper
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r--src/globals.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index 0f2fe0f2f..0af1554a1 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -13,6 +13,12 @@ declare interface Schema {
// disallow `namespace`, we disable tslint for the following.
/* tslint:disable */
declare namespace Chai {
+ interface NumberComparer {
+ (value: number|BigNumber.BigNumber, message?: string): Assertion;
+ }
+ interface NumericComparison {
+ greaterThan: NumberComparer;
+ }
interface Assertion {
bignumber: Assertion;
// HACK: In order to comply with chai-as-promised we make eventually a `PromisedAssertion` not an `Assertion`