Typescript-eslint 2 (#1353)

* Make a start

* More minor cleanups

* Some more cleanups

* Last round?

* Exclude build folders
This commit is contained in:
Jaco Greeff
2019-09-02 07:01:32 +02:00
committed by GitHub
parent bd5c167c14
commit 2dd7cc0e69
94 changed files with 391 additions and 324 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { JsonRpcRequest, JsonRpcResponse, JsonRpcResponseBaseError } from '../ty
import { assert, isUndefined, isNumber } from '@polkadot/util';
export default class RpcCoder {
private id: number = 0;
private id = 0;
public decodeResponse (response: JsonRpcResponse): any {
assert(response, 'Empty response object received');