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
Name | Type |
---|---|
M | extends Object |
Parameters
Name | Type |
---|---|
schema | EntitySchema <M > |
Returns
EntitySchema
<M
>