TagTrait
A trait with no record, which an entity holds or not: what
defineTrait(name) and trait() make. As koota’s TagTrait.
Extends
Section titled “Extends”TagTrait
TagTrait(
params?): [Trait<Record<string,never>>,Partial<{[key:string]:never; }>]
A trait with no record, which an entity holds or not: what
defineTrait(name) and trait() make. As koota’s TagTrait.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params? |
Partial<{[key: string]: never; }> |
Returns
Section titled “Returns”[Trait<Record<string, never>>, Partial<{[key: string]: never; }>]