const StatsTrait: Trait<() => Record<string, Stat>>
const
Trait
Record
string
Stat
An entity’s stats by name. The verbs write a new record, so a reader of the trait sees each change.