Run prettier/linter
This commit is contained in:
		
				
					committed by
					
						 Amir Bandeali
						Amir Bandeali
					
				
			
			
				
	
			
			
			
						parent
						
							33df11b755
						
					
				
				
					commit
					309dd7f300
				
			| @@ -45,19 +45,21 @@ export class PromiseWithTransactionHash<T> implements Promise<T> { | ||||
|         this.txHashPromise = txHashPromise; | ||||
|         this._promise = promise; | ||||
|     } | ||||
|     // tslint:disable-next-line:async-suffix | ||||
|     // tslint:disable:promise-function-async | ||||
|     // tslint:disable:async-suffix | ||||
|     public then<TResult>( | ||||
|         onFulfilled?: (v: T) => TResult | Promise<TResult>, | ||||
|         onRejected?: (reason: any) => Promise<never>, | ||||
|     ): Promise<TResult> { | ||||
|         return this._promise.then<TResult>(onFulfilled, onRejected); | ||||
|     } | ||||
|     // tslint:disable-next-line:async-suffix | ||||
|     public catch<TResult>(onRejected?: (reason: any) => Promise<TResult>): Promise<TResult | T> { | ||||
|         return this._promise.catch(onRejected); | ||||
|     } | ||||
|     // tslint:enable:promise-function-async | ||||
|     // tslint:enable:async-suffix | ||||
|     get [Symbol.toStringTag](): 'Promise' { | ||||
|         return  this._promise[Symbol.toStringTag]; | ||||
|         return this._promise[Symbol.toStringTag]; | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user