diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-13 00:23:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-13 00:23:59 +0800 |
commit | 897cfb491cd665e4bfc592c59c2cba7d6a456dd6 (patch) | |
tree | 6e78be2c52bb7981d0e63617d7afcb062515959e /packages | |
parent | 568cf4d182cccfa9504cf7e6640fad77c2f9c579 (diff) | |
download | dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar.gz dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar.bz2 dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar.lz dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar.xz dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.tar.zst dexon-sol-tools-897cfb491cd665e4bfc592c59c2cba7d6a456dd6.zip |
Remove redundant type refs
Diffstat (limited to 'packages')
-rw-r--r-- | packages/0x.js/src/globals.d.ts | 2 | ||||
-rw-r--r-- | packages/chai-as-promised-typescript-typings/index.d.ts | 3 | ||||
-rw-r--r-- | packages/chai-as-promised-typescript-typings/package.json | 2 | ||||
-rw-r--r-- | packages/kovan-faucets/src/ts/error_reporter.ts | 2 | ||||
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 2 |
5 files changed, 4 insertions, 7 deletions
diff --git a/packages/0x.js/src/globals.d.ts b/packages/0x.js/src/globals.d.ts index dc2b02305..ff8e00b69 100644 --- a/packages/0x.js/src/globals.d.ts +++ b/packages/0x.js/src/globals.d.ts @@ -1,5 +1,3 @@ -/// <reference types='chai-typescript-typings' /> -/// <reference types='chai-as-promised-typescript-typings' /> declare module 'web3_beta'; declare module 'chai-bignumber'; declare module 'dirty-chai'; diff --git a/packages/chai-as-promised-typescript-typings/index.d.ts b/packages/chai-as-promised-typescript-typings/index.d.ts index a40a56696..ba6dabdcc 100644 --- a/packages/chai-as-promised-typescript-typings/index.d.ts +++ b/packages/chai-as-promised-typescript-typings/index.d.ts @@ -5,9 +5,10 @@ declare module 'chai-as-promised' { function chaiAsPromised(chai: any, utils: any): void; - export namespace chaiAsPromised { + namespace chaiAsPromised { } + export = chaiAsPromised; } // tslint:disable:no-namespace ban-types member-ordering diff --git a/packages/chai-as-promised-typescript-typings/package.json b/packages/chai-as-promised-typescript-typings/package.json index ad032a3a8..7d438a621 100644 --- a/packages/chai-as-promised-typescript-typings/package.json +++ b/packages/chai-as-promised-typescript-typings/package.json @@ -17,7 +17,7 @@ "bugs": { "url": "https://github.com/0xProject/0x.js/issues" }, - "homepage": "https://github.com/0xProject/0x.js/packages/chai-as-promises-typescript-typings#readme", + "homepage": "https://github.com/0xProject/0x.js/packages/chai-as-promised-typescript-typings#readme", "dependencies": { "chai-typescript-typings": "^0.0.0" } diff --git a/packages/kovan-faucets/src/ts/error_reporter.ts b/packages/kovan-faucets/src/ts/error_reporter.ts index c9d09a99e..1c25dd184 100644 --- a/packages/kovan-faucets/src/ts/error_reporter.ts +++ b/packages/kovan-faucets/src/ts/error_reporter.ts @@ -14,7 +14,7 @@ export const errorReporter = { process.on('unhandledRejection', (err: Error) => { utils.consoleLog(`Uncaught exception ${err}. Stack: ${err.stack}`); - this.report(err); + this.reportAsync(err); process.exit(1); }); }, diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 97fc34734..53457fa24 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -1,5 +1,3 @@ -/// <reference types='chai-typescript-typings' /> -/// <reference types='chai-as-promised-typescript-typings' /> declare module 'dirty-chai'; declare module 'es6-promisify'; |