Cleanup imports from @polkadot/util (#315)
* Cleanup imports from @polkadot/util * Example imports * Alphabetic imports
This commit is contained in:
@@ -14,8 +14,7 @@ import storageStatic from '@polkadot/storage/static';
|
||||
import { Vector } from '@polkadot/types/codec';
|
||||
import { Hash, Method } from '@polkadot/types/index';
|
||||
import { StorageFunction } from '@polkadot/types/StorageKey';
|
||||
import assert from '@polkadot/util/assert';
|
||||
import isUndefined from '@polkadot/util/is/undefined';
|
||||
import { assert, isUndefined } from '@polkadot/util';
|
||||
|
||||
type MapFn<R, T> = (combined: R) => T;
|
||||
|
||||
|
||||
@@ -10,8 +10,7 @@ import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
|
||||
import { decodeAddress } from '@polkadot/keyring';
|
||||
import { AccountId, AccountIndex, Balance, bool as Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/types/index';
|
||||
import { ENUMSET_SIZE } from '@polkadot/types/AccountIndex';
|
||||
import assert from '@polkadot/util/assert';
|
||||
import isString from '@polkadot/util/is/string';
|
||||
import { assert, isString } from '@polkadot/util';
|
||||
|
||||
import ApiCalls from './Calls';
|
||||
import { RxProposal, RxReferendum } from './classes';
|
||||
|
||||
Reference in New Issue
Block a user