Fix linter errors.

This commit is contained in:
Lawrence Forman
2019-04-26 14:50:07 -04:00
parent 943d648225
commit 0a0ee67740
18 changed files with 176 additions and 174 deletions

View File

@@ -22,6 +22,8 @@ export interface AbiEncoderByFunctionSignature {
// Not used here, but generated contracts will return it in `awaitTransactionSuccessAsync()`.
// Maybe there's a better place for this.
// Must be a class to get tsc to regard as a Promise type.
// tslint:disable: max-classes-per-file
export class PromiseWithTransactionHash<T> extends Promise<T> {
public txHash: string = '';
constructor(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) {