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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!