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
+2 -2
View File
@@ -4,13 +4,13 @@
// FIXME: This file is way too long and way too messy
import { StorageFunction } from '@polkadot/api-codec/StorageKey';
import { StorageFunction } from '@polkadot/types/StorageKey';
import { KeyringPair } from '@polkadot/util-keyring/types';
import { ProviderInterface$Emitted } from '../types';
import { MockState, MockState$Db, MockState$Subscriptions } from './types';
import BN from 'bn.js';
import Header from '@polkadot/api-codec/Header';
import Header from '@polkadot/types/Header';
import storage from '@polkadot/storage/testing';
import bnToU8a from '@polkadot/util/bn/toU8a';
import u8aToHex from '@polkadot/util/u8a/toHex';