Skip to main content

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#

NameType
MM: Object
AdditionalKeyAdditionalKey: string = string

Parameters#

NameType
collectionViewEntityCollection<M, AdditionalKey>

Returns#

EntityCollection<M, AdditionalKey>

Defined in#

core/builders.ts:45