Move types/codec/create -> types/create (#1871)

* Move types/codec/create -> types/create

* Update imports after move

* Cleanups

* Cleanup code circular deps

* Re-add dropped interfaces

* Drop duplicated code

* Fix imports

* Remove whacky comment
This commit is contained in:
Jaco Greeff
2020-02-16 13:51:37 +01:00
committed by GitHub
parent fde076152a
commit 921e55a82e
141 changed files with 204 additions and 225 deletions
+1 -2
View File
@@ -4,8 +4,7 @@
import { Codec, Registry, TypeDefInfo, TypeDef } from '@polkadot/types/types';
import { Option, Raw, createClass } from '@polkadot/types';
import { createTypeUnsafe } from '@polkadot/types/codec';
import { Option, Raw, createClass, createTypeUnsafe } from '@polkadot/types';
export function formatData (registry: Registry, data: Raw, { info, type }: TypeDef): Codec {
if (info === TypeDefInfo.Option) {