Releases: Glinkis/flux-entity
Releases · Glinkis/flux-entity
1.3.8
Exposes the EntityKey
generic type.
Allows you to extract the value typer of the entity key:
interface Obj {
id: number
}
const Type = EntityKey<Entity<Obj, 'id'>>
// Type is now of the "string" type.
1.3.7
Add default any
type to createEntityFactory
.
1.3.6
Improve speed of adding array items
1.3.3
Add JSDoc comments to improve documention.
v1.3.0
Expose array utilities
insertIntoArray(array, ...values)
removeFromArray(array, ...values)