Skip to main content
Version: 1.0.0

Function: buildSchema

buildSchema<M>(schema): EntitySchema<M>

Identity function we use to defeat the type system of Typescript and preserve the schema keys

Type parameters

NameType
Mextends Object

Parameters

NameType
schemaEntitySchema<M>

Returns

EntitySchema<M>

Defined in

core/builders.ts:58