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
Mextends Object
AdditionalKeyextends string = string

Parameters

NameType
collectionViewEntityCollection<M, AdditionalKey, any>

Returns

EntityCollection<M, AdditionalKey>

Defined in

core/builders.ts:45