Cleanup imports from @polkadot/util (#315)
* Cleanup imports from @polkadot/util * Example imports * Alphabetic imports
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user