Rename api-codec -> types (#183)

* Rename api-codec -> types

* Cleanups with exports (as found with use)

* Docs to build for /types
This commit is contained in:
Jaco Greeff
2018-10-02 11:30:45 +02:00
committed by GitHub
parent 7e191db702
commit 48e57f9a55
127 changed files with 149 additions and 143 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { RxBalance, RxBalanceMap, RxReferendumVote } from './types';
import BN from 'bn.js';
import { EMPTY, Observable } from 'rxjs';
import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
import { AccountId, Balance, Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/api-codec/index';
import { AccountId, Balance, Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/types/index';
import isString from '@polkadot/util/is/string';
import ApiCalls from './Calls';