Function: buildCollection()
buildCollection<
M
,USER
>(collection
):EntityCollection
<M
,USER
>
Identity function we use to defeat the type system of Typescript and build collection views with all its properties
Type Parameters​
• M extends Record
<string
, any
> = any
Parameters​
• collection: EntityCollection
<M
, USER
>
Returns​
EntityCollection
<M
, USER
>