Type Alias: StructValues
StructValues =
Record<string,any>
The JS side of a struct: a plain object keyed by field name, as passed to StructDef.pack and returned by StructDef.unpack.
The field types are not tracked: a struct is described at runtime by a
list of [ name, type ] entries, so TypeScript cannot know that x is a
number and name a string. Values are typed any rather than
unknown so that reading a field back needs no cast.