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:
@@ -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()}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user