Bump deps, type import on generated (#2075)

* Bump deps, type import on generated

* type imports in types/types

* Re-export defs

* Split imports/exports

* Additional type import

* Remove import type

* Remove dupes
This commit is contained in:
Jaco Greeff
2020-03-21 09:40:59 +01:00
committed by GitHub
parent f45d03fa17
commit 9d67d711d4
24 changed files with 485 additions and 431 deletions
@@ -15,7 +15,7 @@ export default class MagicNumber extends U32 {
super(registry, value);
if (!this.isEmpty) {
const magic = new U32(registry, MAGIC_NUMBER);
const magic = registry.createType('u32', MAGIC_NUMBER);
assert(this.eq(magic), `MagicNumber mismatch: expected ${magic.toHex()}, found ${this.toHex()}`);
}