Cleanup imports from @polkadot/util (#315)

* Cleanup imports from @polkadot/util

* Example imports

* Alphabetic imports
This commit is contained in:
Jaco Greeff
2018-10-18 13:30:04 +02:00
committed by GitHub
parent 8b7b76ead8
commit 55ac4626d5
22 changed files with 29 additions and 46 deletions
@@ -5,9 +5,7 @@
import { JsonRpcResponse, JsonRpcResponseBase$Error } from '../../types';
import { RpcCoderState } from './types';
import assert from '@polkadot/util/assert';
import isNumber from '@polkadot/util/is/number';
import isUndefined from '@polkadot/util/is/undefined';
import { assert, isNumber, isUndefined } from '@polkadot/util';
function checkError (error?: JsonRpcResponseBase$Error) {
if (!error) {