Function: buildCollection
▸ buildCollection<M
, AdditionalKey
>(collectionView
): EntityCollection
<M
, AdditionalKey
>
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 Object |
AdditionalKey | extends string = string |
Parameters
Name | Type |
---|---|
collectionView | EntityCollection <M , AdditionalKey , any > |
Returns
EntityCollection
<M
, AdditionalKey
>