Move length to TypeDef (regularly used), IdentityFields to interface (#1913)

* Move length to TypeDef (regularly used), IdentityFields to interface

* Update api-contracts tests
This commit is contained in:
Jaco Greeff
2020-02-21 12:12:18 +01:00
committed by GitHub
parent 17936f849b
commit 8672a2e30e
17 changed files with 199 additions and 574 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ export default class MetaRegistry extends MetadataRegistryLookup {
return {
info: TypeDefInfo.VecFixed,
ext: { length: vecLength, type },
length: vecLength, // ex: { type: type }
type: `[${type};${vecLength}]`,
sub: this.typeDefFromMetaTypeAt(vecTypeIndex)
};