Function: buildCollection
▸ buildCollection<M
, AdditionalKey
, UserType
>(collection
): EntityCollection
<M
, AdditionalKey
, UserType
>
Identity function we use to defeat the type system of Typescript and build collection views with all its properties
Type parameters
Name | Type |
---|---|
M | extends Record <string , any > = any |
AdditionalKey | extends string = string |
UserType | extends User = User |
Parameters
Name | Type |
---|---|
collection | EntityCollection <M , AdditionalKey , UserType > |
Returns
EntityCollection
<M
, AdditionalKey
, UserType
>